{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/233","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/233/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/233/events","html_url":"https://github.com/arvidn/libtorrent/issues/233","id":113080255,"number":233,"title":"SOCKS5 support","user":{"login":"h-2","id":2996863,"avatar_url":"https://avatars.githubusercontent.com/u/2996863?v=3","gravatar_id":"","url":"https://api.github.com/users/h-2","html_url":"https://github.com/h-2","followers_url":"https://api.github.com/users/h-2/followers","following_url":"https://api.github.com/users/h-2/following{/other_user}","gists_url":"https://api.github.com/users/h-2/gists{/gist_id}","starred_url":"https://api.github.com/users/h-2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-2/subscriptions","organizations_url":"https://api.github.com/users/h-2/orgs","repos_url":"https://api.github.com/users/h-2/repos","events_url":"https://api.github.com/users/h-2/events{/privacy}","received_events_url":"https://api.github.com/users/h-2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T18:58:33Z","updated_at":"2015-10-25T17:51:09Z","closed_at":null,"body":"I have tried using qbittorrent or deluge with a SOCKS5 server that is set up to support UDP. Both are setup to use the SOCKS5 for all types of connections, but on both  DHT does not work and even communication to UDP-trackers does not work (http trackers work fine). Deluge says no incoming connections...\r\nIs this a known issue/bug or is it possibly a deficiency of my SOCKS5 server?\r\n\r\nThanks for your help!"},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/150948252","html_url":"https://github.com/arvidn/libtorrent/issues/233#issuecomment-150948252","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/233","id":150948252,"user":{"login":"h-2","id":2996863,"avatar_url":"https://avatars.githubusercontent.com/u/2996863?v=3","gravatar_id":"","url":"https://api.github.com/users/h-2","html_url":"https://github.com/h-2","followers_url":"https://api.github.com/users/h-2/followers","following_url":"https://api.github.com/users/h-2/following{/other_user}","gists_url":"https://api.github.com/users/h-2/gists{/gist_id}","starred_url":"https://api.github.com/users/h-2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-2/subscriptions","organizations_url":"https://api.github.com/users/h-2/orgs","repos_url":"https://api.github.com/users/h-2/repos","events_url":"https://api.github.com/users/h-2/events{/privacy}","received_events_url":"https://api.github.com/users/h-2/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T17:51:09Z","updated_at":"2015-10-25T17:51:09Z","body":"Thanks your reply!\r\n\r\n> do you get any errors from the udp tracker announces? or any other errors, like udp errors?\r\n\r\nWell QBittorrent just says that it can't reach the trackers, if they are UDP. Deluge says connecting and then error, but doesn't give a message.\r\n\r\n> My experience with udp over socks5 is that very few proxies implement it correctly or at all. As far as I can recall, I've only seen one that does (dante). \r\n\r\nThe proxy in question actually is dante...\r\n\r\n> The most reliable way to know whether this is a bug in the proxy or libtorrent is to get a wireshark dump of the udp traffic to the proxy.\r\n\r\nI have attached a tcpdump log, I hope that counts, too.  The real IPs are excahnged for placeholders . What I did:\r\n  * I start tcpdump and filter for the proxy's IP \r\n  * I start deluge with an ubuntu torrent that is paused and only has UDP trackers set\r\n  * I wait a bit and unpause the torrent\r\n  * it starts downloading through the proxy, although it can't connect to the tracker (I am guessing this is because it has cached peers from when there was an http tracker -- if I start with only UDP trackers no download ever starts)\r\n   * I quit deluge and quit tcpdump\r\n\r\nLOG: http://hannes.hauswedell.net/pub/tcpdump2.log.xz\r\n\r\nThanks for your help!\r\n\r\n"}}