{"action":"created","issue":{"url":"https://api.github.com/repos/esnet/iperf/issues/717","repository_url":"https://api.github.com/repos/esnet/iperf","labels_url":"https://api.github.com/repos/esnet/iperf/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/esnet/iperf/issues/717/comments","events_url":"https://api.github.com/repos/esnet/iperf/issues/717/events","html_url":"https://github.com/esnet/iperf/issues/717","id":305918546,"number":717,"title":"Connection Refused in BWCTL when iperf3 got upgraded from 3.3-1 to 3.5-1 ","user":{"login":"John-McClane","id":37442959,"avatar_url":"https://avatars1.githubusercontent.com/u/37442959?v=4","gravatar_id":"","url":"https://api.github.com/users/John-McClane","html_url":"https://github.com/John-McClane","followers_url":"https://api.github.com/users/John-McClane/followers","following_url":"https://api.github.com/users/John-McClane/following{/other_user}","gists_url":"https://api.github.com/users/John-McClane/gists{/gist_id}","starred_url":"https://api.github.com/users/John-McClane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-McClane/subscriptions","organizations_url":"https://api.github.com/users/John-McClane/orgs","repos_url":"https://api.github.com/users/John-McClane/repos","events_url":"https://api.github.com/users/John-McClane/events{/privacy}","received_events_url":"https://api.github.com/users/John-McClane/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bmah888","id":6485757,"avatar_url":"https://avatars3.githubusercontent.com/u/6485757?v=4","gravatar_id":"","url":"https://api.github.com/users/bmah888","html_url":"https://github.com/bmah888","followers_url":"https://api.github.com/users/bmah888/followers","following_url":"https://api.github.com/users/bmah888/following{/other_user}","gists_url":"https://api.github.com/users/bmah888/gists{/gist_id}","starred_url":"https://api.github.com/users/bmah888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmah888/subscriptions","organizations_url":"https://api.github.com/users/bmah888/orgs","repos_url":"https://api.github.com/users/bmah888/repos","events_url":"https://api.github.com/users/bmah888/events{/privacy}","received_events_url":"https://api.github.com/users/bmah888/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmah888","id":6485757,"avatar_url":"https://avatars3.githubusercontent.com/u/6485757?v=4","gravatar_id":"","url":"https://api.github.com/users/bmah888","html_url":"https://github.com/bmah888","followers_url":"https://api.github.com/users/bmah888/followers","following_url":"https://api.github.com/users/bmah888/following{/other_user}","gists_url":"https://api.github.com/users/bmah888/gists{/gist_id}","starred_url":"https://api.github.com/users/bmah888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmah888/subscriptions","organizations_url":"https://api.github.com/users/bmah888/orgs","repos_url":"https://api.github.com/users/bmah888/repos","events_url":"https://api.github.com/users/bmah888/events{/privacy}","received_events_url":"https://api.github.com/users/bmah888/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-16T12:59:17Z","updated_at":"2018-03-19T14:20:21Z","closed_at":"2018-03-16T14:55:05Z","author_association":"NONE","body":"I'm sorry in advance if this is considered double posting,\r\nbut could you please take a look at\r\n[https://github.com/perfsonar/bwctl/issues/43](url)\r\n\r\nI wasn't sure if you are monitoring the bwctl repo, so I thought I should ask here to.\r\nFeel free to delete or mark as closed the issue anytime.\r\n\r\nThanks in advance for your help."},"comment":{"url":"https://api.github.com/repos/esnet/iperf/issues/comments/374228292","html_url":"https://github.com/esnet/iperf/issues/717#issuecomment-374228292","issue_url":"https://api.github.com/repos/esnet/iperf/issues/717","id":374228292,"user":{"login":"John-McClane","id":37442959,"avatar_url":"https://avatars1.githubusercontent.com/u/37442959?v=4","gravatar_id":"","url":"https://api.github.com/users/John-McClane","html_url":"https://github.com/John-McClane","followers_url":"https://api.github.com/users/John-McClane/followers","following_url":"https://api.github.com/users/John-McClane/following{/other_user}","gists_url":"https://api.github.com/users/John-McClane/gists{/gist_id}","starred_url":"https://api.github.com/users/John-McClane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-McClane/subscriptions","organizations_url":"https://api.github.com/users/John-McClane/orgs","repos_url":"https://api.github.com/users/John-McClane/repos","events_url":"https://api.github.com/users/John-McClane/events{/privacy}","received_events_url":"https://api.github.com/users/John-McClane/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T14:20:20Z","updated_at":"2018-03-19T14:20:20Z","author_association":"NONE","body":"Well, I'm a bit confused, as well.\r\n\r\nThe hardware and software config is as follows:\r\nHardware: ESXi Virtual Machine (2-cores, 2 GB RAM, 1G ethernet)\r\nOperating system: Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux\r\nVersion information: bwctl 1.6.6-1, iperf3 3.5-1, libiperf0 3.5-1\r\n\r\nMy testpoint has a firewall (iptables), but even if I drop the firewall, the result is the same.\r\nThe other endpoint is in another country, and out of my control, \r\nso I'm just guessing there might be a NAT and a firewall involved.\r\n\r\nIn any case, I have tested several public endpoints, as published at the Lookup Service Directory of PerfSonar.\r\n[http://stats.es.net/ServicesDirectory/](url)\r\nAnd I'm just guessing, but since these are public, they should be accepting incoming connections from everywhere, so NAT and firewall shouldn't be a problem (or should be properly configured), right?\r\n\r\nI have tested several (10 or more) endpoints, either with the DNS Names or with their IPs.\r\nSome of them are:\r\niperf3 -t 10 -c \"perfsonar2.na.infn.it:4823\"                      #(IPv4: 90.147.67.252)\r\niperf3 -t 10 -c \"psonar.cis.gov.pl:4823\"                           #(IPv4: 192.68.51.219)\r\niperf3 -t 10 -c \"perfsonar.mesopsl.fr:4823\"                     #(IPv4: 145.238.157.5)\r\nand the result is always:\r\niperf3: error - unable to connect to server: Connection **refused**\r\n\r\nThe confusing part is that while iperf3 errors out (connection refused), bwctl (for a month or so until last week, and ever since the update to 1.6.6-1 from 3 days ago)\r\nis working as expected, utilizing iperf3.\r\nbwctl -T iperf3 -t 10 -O 4 -c 90.147.67.252\r\n\r\niperf3 gets invoked:\r\niperf3 -c 90.147.67.252 -B xxx.xxx.xxx.xxx -f m -p 5263 -Z --omit 4 -t 10\r\n\r\nand the result is:\r\nbwctl: Using tool: iperf3\r\nbwctl: 12 seconds until test results available\r\n\r\nSENDER START\r\nConnecting to host 90.147.67.252, port 5263\r\n[ 16] local xxx.xxx.xxx.xxx port 44639 connected to 90.147.67.252 port 5263\r\n[ ID] Interval           Transfer     Bitrate         Retr  Cwnd\r\n........\r\n[ 16]   9.00-10.00  sec  61.2 MBytes   514 Mbits/sec    0   2.74 MBytes\r\n- - - - - - - - - - - - - - - - - - - - - - - - -\r\n[ ID] Interval           Transfer     Bitrate         Retr\r\n[ 16]   0.00-10.00  sec   686 MBytes   576 Mbits/sec   21             sender\r\n[ 16]   0.00-10.04  sec   689 MBytes   576 Mbits/sec                  receiver\r\niperf Done.\r\nSENDER END\r\n\r\nEven if I try to run the exact same command (as evidenced from ps), the result is still the same.\r\niperf3 -c 90.147.67.252 -B xxx.xxx.xxx.xxx -f m -p 5263 -Z --omit 4 -t 10\r\niperf3: error - unable to connect to server: Connection refused\r\n\r\nCould it be that the public endpoints permit iperf3 traffic initiated from bwctl and through the bwctl ports but reject iperf3 traffic not initiated by bwctl on any port (even bwctl ports), ie is it a strict firewall rule?\r\nI have to admit, I didn't consider testing standalone iperf3 connection (without bwctl) before the 3.3->3.5 update, so I have no idea if this is a regression or it was this way all along.\r\n\r\nAnyway, hope it helps.\r\nLet me know if there's anything else I could do to help.\r\nThanks and keep up the great work."}}
{"actor":{"display_login":"John-McClane"}}