Tinyproxy won't listen to IPv6 and IPv4 at the same time
Bug #1094073 reported by
dnmvisser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tinyproxy (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to set up Tinyproxy on a 64-bit Ubuntu 12.04 server system, and I'm using the packaged version 1.8.3.
The system has fully working dual stack network connectivity.
According to the inline docs in the configuration file /etc/tinyproxy.
# Listen: If you have multiple interfaces this allows you to bind to
# only one. If this is commented out, tinyproxy will bind to all
# interfaces present.
However, without configuration Tinyproxy only listens on IPv4.
Explicit configuration per protocol seems to work:
"Listen 0.0.0.0" makes it listens on IPv4 only.
"Listen ::" makes it listen on IPv6 only.
But no way to have it listen to both IPv4 and IPv6...
Changed in tinyproxy (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
It seems tinyproxy does listen to both protocols, I didn't test properly.
I assumed that this result:
netstat -tlnpvw | grep tinyproxy
tcp6 0 0 :::8888 :::* LISTEN 3946/tinyproxy
meant that it didn't listen on v4... but I was wrong.
Listen :: 192.87. 30.2]
#This will accept connections on IPv6, but also on IPv4: IPv4-mapped IPv6 addresses are used:
#CONNECT Jan 04 15:29:13 [23566]: Connect (file descriptor 6): host.terena.org [::ffff:
Listen 0.0.0.0
# This will listen on IPv4 only
Listen 2001:610: 148:dead: :666
# This will listen only on the specified IPv6 address. Not nice, but workable.