Tinyproxy won't listen to IPv6 and IPv4 at the same time

Bug #1094073 reported by dnmvisser
6
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.conf:

# 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...

dnmvisser (dnmvisser)
Changed in tinyproxy (Ubuntu):
status: New → Invalid
Revision history for this message
dnmvisser (dnmvisser) wrote :

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 ::
#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:192.87.30.2]

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.