Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

2020-07-28 Thread Daniel Borkmann
On 7/28/20 4:39 PM, John Fastabend wrote: Using localhost requires the host to have a /etc/hosts file with that specific line in it. By default my dev box did not, they used ip6-localhost, so the test was failing. To fix remove the need for any /etc/hosts and use ::1. I could just add the line,

Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

2020-07-28 Thread Andrii Nakryiko
On Tue, Jul 28, 2020 at 7:40 AM John Fastabend wrote: > > Using localhost requires the host to have a /etc/hosts file with that > specific line in it. By default my dev box did not, they used > ip6-localhost, so the test was failing. To fix remove the need for any > /etc/hosts and use ::1. > > I c

Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

2020-07-28 Thread Song Liu
On Tue, Jul 28, 2020 at 7:40 AM John Fastabend wrote: > > Using localhost requires the host to have a /etc/hosts file with that > specific line in it. By default my dev box did not, they used > ip6-localhost, so the test was failing. To fix remove the need for any > /etc/hosts and use ::1. > > I c

[bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

2020-07-28 Thread John Fastabend
Using localhost requires the host to have a /etc/hosts file with that specific line in it. By default my dev box did not, they used ip6-localhost, so the test was failing. To fix remove the need for any /etc/hosts and use ::1. I could just add the line, but this seems easier. Signed-off-by: John