Need two flowgrindd instances for IPv4 and IPv6 under FreeBSD
Bug #1239976 reported by
Lars Eggert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Flowgrind |
New
|
Undecided
|
Unassigned |
Bug Description
I need to start two flowgrindd instances on FreeBSD. The first instance is only binding to an IPV6 socket:
root@five:~ # flowgrindd
root@five:~ # sockstat | grep flow
root flowgrindd 47727 3 dgram -> /var/run/logpriv
root flowgrindd 47727 6 tcp6 *:5999 *:*
The second instance is then binding to an IPv4 socket:
root@five:~ # flowgrindd
root@five:~ # sockstat | grep flow
root flowgrindd 47731 3 dgram -> /var/run/logpriv
root flowgrindd 47731 6 tcp4 *:5999 *:*
root flowgrindd 47727 3 dgram -> /var/run/logpriv
root flowgrindd 47727 6 tcp6 *:5999 *:*
Why doesn't the first instance bind to both IPv4 and IPv6?
To post a comment you must log in.
This ist the expected and correct behaviour on FreeBSD. It binds exactly one address and FreeBSD prefers v6 over v4. You can change the binding address with -b.