IPv4 / IPv6 Support

Bug #695092 reported by Sammie S. Taunton
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gearman
Fix Released
Undecided
Brian Aker

Bug Description

I've used Gearman for a while now but I recently setup an IPv4/IPv6
Dual-Stack Network and in my testing I cannot get the Gearman Server
to run on all addresses listed on the server for both IPv4 / IPv6.
Without changing any settings Gearman is listening...

# Netstat Output
netstat -nl

tcp 0 0 0.0.0.0:4730 0.0.0.0:*
LISTEN

This is good, at least it works on all my IPv4 addresses. However I
also have IPv6 addresses on the same machine but Gearman is not
connecting. In order for me to get IPv6 addresses working I have to
start Gearman with the -L :: argument.

# Netstat Output
netstat -nl

tcp 0 0 :::4730 :::*
LISTEN

Now all my IPv6 addresses work...

The problem here is that when I do this, I have to choose which
address type I want to listen on. It doesn't appear that I can run
both at the same time.

Brian Aker (brianaker)
Changed in gearmand:
status: New → Confirmed
assignee: nobody → Brian Aker (brianaker)
Revision history for this message
Brian Aker (brianaker) wrote :

Check out trunk to see if it solves the issue for you. I don't have any ipv6 computers at my disposal at the moment, but the code should be fine. Thanks.

Changed in gearmand:
status: Confirmed → Fix Committed
Brian Aker (brianaker)
Changed in gearmand:
status: Fix Committed → Fix Released
Revision history for this message
Sammie S. Taunton (diemuzi) wrote :

Confirmed as resolved, thank you.

Tested with GearmanD 0.15 (newest release at this moment)

telnet 127.0.0.1 4730
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

telnet ::1 4730
Trying ::1...
Connected to ::1.
Escape character is '^]'.

netstat -nl

tcp 0 0 0.0.0.0:4730 0.0.0.0:* LISTEN
tcp 0 0 :::4730 :::* LISTEN

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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