-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[connection.py] Improvement #63
[connection.py] Improvement #63
Conversation
Changed to merge into |
c208470
to
71d3623
Compare
71d3623
to
9aaba77
Compare
Signed-off-by: XiaoliChan <2209553467@qq.com>
9aaba77
to
fbe9c9f
Compare
split the commit between |
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Confirm this PR can do review @NeffIsBack |
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: Marshall Hallenbeck <Marshall.Hallenbeck@gmail.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
@XiaoliChan I tried this against an ipv6 target and it doesn't connect, even though I can ping it. I'm attempting to do it with |
Wired, maybe some firewall policy in your side? I didn't set any firewall policy |
I wasn't using the link-local ipv6 address (defining %eth0/%eth1). Running tests now! |
There are errors with the |
Two PR, #72 work after this PR merged |
Indeed @Marshall-Hallenbeck with ipv6 we got a nice stacktrace but it's a separate issue fixed on #72 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, this LGTM then!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update log:
connection.py
: Add missingself.port
inconnection.py
, in order to useconnection.port
when writing module.connection.py
and protocol: Redirectself.args.port
toself.port
connection.py
: improve ipv6 support, now addis_ipv6
is_link_local_ipv6
variablesconnection.py
: rewritegethost_addinfo
function, don't needtry
to detect ipv6 anymore, just useAF_UNSPEC
insteadAF_INET6, AF_INET
connection.py
: IPv4 preferred when target is dual stack