Opened at 2015-01-31T13:44:55Z
Last modified at 2015-05-07T06:56:18Z
#1194 new defect
Bind to multiple addresses on OpenBSD 5.6 — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BitlBee | Version: | 3.2.1 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | OpenBSD |
OS version/distro: |
Description
BitlBee doesn't seem to be able to bind to more than one IP address on OpenBSD. My 'bitlbee.conf' contains the following line: 'DaemonInterface = 127.0.0.1'. The host 'localhost' is specified in '/etc/hosts' as follows:
$ cat /etc/hosts 127.0.0.1 localhost ::1 localhost
Now if I start Bitlbee the expected result is that the servers binds to 127.0.0.1:6667 and [::1]:6667 but unfortunately it only binds to the IPv6 Address ([::1]:6667).
$ netstat -na -p tcp | grep LISTEN | grep 6667 tcp6 0 0 ::1.6667 *.* LISTEN
I believe that this is a bug and not a feature, because it seems to be impossible to make BitlBee listen on an IPv6 and IPv4 address simultaneously.