flackr / circ

An IRC packaged chrome app
BSD 3-Clause "New" or "Revised" License
387 stars 79 forks source link

when using /make-server, /network-info reports it's listening on ipv6 but it isn't #130

Open StrangeNoises opened 11 years ago

StrangeNoises commented 11 years ago

Observed on OSX (Mountain Lion) and Linux (Ubuntu Raring 64-bit) on both Chrome stable (on mac) and beta (on linux).

start circ, use /make-server to listen for connections. It's now working on the ipv4 address.

/network-info shows it also listening on ipv6 addresses, but it doesn't actually work. Attempting to connect to that port on ipv6 meets connection refused, even when it's on the same actual host.

Screenshot just illustrates Screen Shot 2013-03-01 at 16 46 58

StrangeNoises commented 11 years ago

github screenshot upload doesn't seem to be working. here: https://dl.dropbox.com/u/1791046/circ-ipv6.png

tvierling commented 11 years ago

The ideal fix is blocked by http://crbug.com/283950. On most systems, a successful listen on '::' will create a hybrid IPv6/IPv4 socket, but this function's default behavior is alterable by a sysctl (and not currently changeable inside the Chrome socket API).