tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
437 stars 78 forks source link

Flent server to use with -6 option? #202

Closed richb-hanover closed 4 years ago

richb-hanover commented 4 years ago

Using Flent 1.9.9-git-34ed663 on macOS 10.15.3, I am having trouble with the "-6" option. My default test host is flent-fremont.bufferbloat.net

Using that hostname with the -6 option causes both fping and flent to fail with unknown host.

What's a good IPv6 host to use with Flent? Thanks.

# Without -6 option
bash-3.2$ flent -x -H flent-fremont.bufferbloat.net -t Rich tcp_ndown --te=download_streams=4
Started Flent 1.9.9-git-34ed663 using Python 3.7.4.
Starting tcp_ndown test. Expected run time: 70 seconds.
... works OK ...
^C

# with -6 option
bash-3.2$ flent -x -H flent-fremont.bufferbloat.net -t Rich tcp_ndown --te=download_streams=4  -6
Started Flent 1.9.9-git-34ed663 using Python 3.7.4.
Starting tcp_ndown test. Expected run time: 70 seconds.
WARNING: Program exited non-zero.
Runner class: PingRunner
Command: /usr/local/sbin/fping -6 -D -p 200 -c 350 -t 140000   flent-fremont.bufferbloat.net
Return code: 2
Stdout:
Stderr: flent-fremont.bufferbloat.net: nodename nor servname provided, or not known

WARNING: Command produced no valid data.
Runner class: PingRunner
Command: /usr/local/sbin/fping -6 -D -p 200 -c 350 -t 140000   flent-fremont.bufferbloat.net
Return code: 2
Stdout:
Stderr: flent-fremont.bufferbloat.net: nodename nor servname provided, or not known

WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/local/bin/netperf -P 0 -v 0 -D -0.20 -6 -Y CS0 -H flent-fremont.bufferbloat.net -p 12865 -t TCP_MAERTS -l 60 -F /dev/urandom -f m   --    -H flent-fremont.bufferbloat.net -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD None
Return code: 255
Stdout: resolve_host: could not resolve host 'flent-fremont.bufferbloat.net' port '(null)' af AF_INET6
    getaddrinfo returned 8 nodename nor servname provided, or not known
Netperf could not resolve flent-fremont.bufferbloat.net as a host name
... etc ...

^C
tohojo commented 4 years ago

Rich Brown notifications@github.com writes:

Using Flent 1.9.9-git-34ed663 on macOS 10.15.3, I am having trouble with the "-6" option. My default test host is flent-fremont.bufferbloat.net

Using that hostname with the -6 option causes both fping and flent to fail with unknown host.

What's a good IPv6 host to use with Flent? Thanks.

Hmm, this seems like it may be an issue with the OS X resolver? I have no issues with IPv6 against that hostname. What does 'host flent-fremont.bufferbloat.net' return on your machine?

This indicates that it's an OSX issue as well: https://stackoverflow.com/questions/4132525/getaddrinfo-nodename-nor-servname-provided-or-not-known#comment54330628_4133272

richb-hanover commented 4 years ago

It's actually more frustrating than that... My ISP (Consolidated Communications, a DSL provider) has me using their resolver at 64.222.212.243 and 64.222.165.243

dig aaaa flent-fremont.bufferbloat.net @ 8.8.8.8 (or @1.1.1.1) return a perfectly reasonable AAAA address.

Using my ISP's resolver does not return a AAAA record. I'll horse around to reconfigure my OpenWrt's upstream DNS resolver.

richb-hanover commented 4 years ago

Update: Telling OpenWrt not to use the ISP's DNS servers, but to use something reliable solves the problem.

Moral of the story: Friends don't let friends use their ISP's resolvers...

flent-users commented 4 years ago

vixie is campaigning for everyone to install a full recursive resolve and go to the root instead of DOH.

On Wed, Mar 18, 2020 at 1:38 PM Rich Brown notifications@github.com wrote:

Update: Telling OpenWrt not to use the ISP's DNS servers, but to use something reliable solves the problem.

Moral of the story: Friends don't let friends use their ISP's resolvers...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tohojo/flent/issues/202#issuecomment-600846456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVNJP5VJZ2L36SXVG7PJCLRIEWJNANCNFSM4LOTCOLA .


Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org

-- Make Music, Not War

Dave Täht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-435-0729