[Bug 1109556] New: shadowsocks-libev: UDP datagrams are NOT honouring the -b Bind address to set the source IP address, TCP source address is correctly set to -b Bind address
http://bugzilla.opensuse.org/show_bug.cgi?id=1109556 Bug ID: 1109556 Summary: shadowsocks-libev: UDP datagrams are NOT honouring the -b Bind address to set the source IP address, TCP source address is correctly set to -b Bind address Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hillwoodroc@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Forward from: https://github.com/shadowsocks/shadowsocks-libev/issues/1915 What version of shadowsocks-libev are you using? Master What operating system are you using? Debian What did you do? Connected from Shadowsocks client on Android, testing UDP relay What did you expect to see? on SS-Server when a bind address is specified with -b then TCP connections outbound will use this address. I would also expect UDP outbound connections to also use this address but they do not. What did you see instead? Source address of UDP datagrams leaving the ss-server are using the default IP address NOT the -b Bind address. Please could you fix so that UDP datagrams are always sent from the -b Bind address just like TCP connections are. There is a call to bind_to_address() when TCP sockets are created in server.c , but this is NOT called in udprelay.c when UDP sockets are created. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109556 http://bugzilla.opensuse.org/show_bug.cgi?id=1109556#c3 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |astieger@suse.com Assignee|bnc-team-screening@forge.pr |hillwoodroc@gmail.com |ovo.novell.com | --- Comment #3 from Andreas Stieger <astieger@suse.com> --- mainainer submitted -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109556 http://bugzilla.opensuse.org/show_bug.cgi?id=1109556#c5 Hillwood Yang <hillwoodroc@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #5 from Hillwood Yang <hillwoodroc@gmail.com> --- Fixed -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com