[Bug 917] Hfaxd binds on ipv6 only

[email protected]
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
http://bugs.hylafax.org/show_bug.cgi?id=917





------- Comment #7 from [email protected]  2009-09-08 11:51 -------
(In reply to comment #6)
> It would appear that other IPv6 + IPv4 applications on FreeBSD are running two
> processes... one from each protocol.
> 
> sysctl net.inet6.ip6.v6only=0
> 
> ... it does work, but the result is different than what other applications are
> doing:

Right.

So the summary is:

1) By default, HylFAX listens to the "wildcard" address.  System config will
determine if thats tcp4, tcp6, or tcp46.

2) Using -l, you can tell hfaxd what to bind to and get:

    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0      0 *.4559                 *.*                    LISTEN
    tcp6       0      0 *.4559                 *.*                    LISTEN


Or either specifically:
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0      0 *.4559                 *.*                    LISTEN

    Active Internet connections (including servers)
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp6       0      0 *.4559                 *.*                    LISTEN


Or a non-wildcard/wildcard combination of them:
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0      0 127.0.0.1.4559         *.*                    LISTEN
    tcp6       0      0 ::1.4559               *.*                    LISTEN

    Active Internet connections (including servers)
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0      0 *.4559                 *.*                    LISTEN
    tcp6       0      0 2001:470:1d:a5:2.4559  *.*                    LISTEN


-- 
Configure bugmail: http://bugs.hylafax.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.