Changes between Initial Version and Version 2 of Ticket #1194


Ignore:
Timestamp:
2015-02-01T04:16:41Z (9 years ago)
Author:
dx
Comment:

There, fixed it for you.

This isn't really specific to openbsd at all

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1194 – Description

    initial v2  
    1 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:
     1BitlBee doesn't seem to be able to bind to more than one IP address on OpenBSD. My 'bitlbee.conf' contains the following line: 'DaemonInterface = localhost'. The host 'localhost' is specified in '/etc/hosts' as follows:
    22
     3{{{
    34$ cat /etc/hosts
    45127.0.0.1       localhost
    56::1             localhost
     7}}}
    68
    79Now 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).
    810
     11{{{
    912$ netstat -na -p tcp | grep LISTEN | grep 6667
    1013tcp6          0      0  ::1.6667         *.*                    LISTEN
     14}}}
    1115
    1216I 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.