{"action":"opened","issue":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/1915","repository_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev","labels_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/1915/labels{/name}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/1915/comments","events_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/1915/events","html_url":"https://github.com/shadowsocks/shadowsocks-libev/issues/1915","id":295277871,"number":1915,"title":"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","user":{"login":"johnwigley","id":17139749,"avatar_url":"https://avatars1.githubusercontent.com/u/17139749?v=4","gravatar_id":"","url":"https://api.github.com/users/johnwigley","html_url":"https://github.com/johnwigley","followers_url":"https://api.github.com/users/johnwigley/followers","following_url":"https://api.github.com/users/johnwigley/following{/other_user}","gists_url":"https://api.github.com/users/johnwigley/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwigley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwigley/subscriptions","organizations_url":"https://api.github.com/users/johnwigley/orgs","repos_url":"https://api.github.com/users/johnwigley/repos","events_url":"https://api.github.com/users/johnwigley/events{/privacy}","received_events_url":"https://api.github.com/users/johnwigley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T20:16:47Z","updated_at":"2018-02-07T20:16:47Z","closed_at":null,"author_association":"NONE","body":"### What version of shadowsocks-libev are you using?\r\nMaster\r\n\r\n### What operating system are you using?\r\nDebian\r\n\r\n### What did you do?\r\nConnected from SSLibEV on Android, testing UDP relay\r\n\r\n### What did you expect to see?\r\n\r\non 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.\r\n\r\n### What did you see instead?\r\n\r\nSource address of UDP datagrams leaving the ss-server are using the default IP address NOT the -b Bind address.\r\n\r\nPlease could you fix so that UDP datagrams are always sent from the -b Bind address just like TCP connections are.\r\n\r\nThank you!\r\n"}}
{"actor":{"display_login":"johnwigley"}}