You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that by registering a filter for an IPv6 IP, only IPv6 events are received, but no IPv4 event.
The opposite is also true: registering a IPv4 filter will exclude all IPv6 events.
By registering no filter, both IPv4 and IPv6 events are received.
Is this expected?
The text was updated successfully, but these errors were encountered:
the situation you describe is expected behaviour. It originates in the construction of BPF filters (not eBPF!) on the socket. So my recommendation would be just to open two netlink sockets, one for IPv6 and one for IPv4.
I am playing with the library, using the example code provided, but using
RegisterFiltered
Seems that by registering a filter for an IPv6 IP, only IPv6 events are received, but no IPv4 event.
The opposite is also true: registering a IPv4 filter will exclude all IPv6 events.
By registering no filter, both IPv4 and IPv6 events are received.
Is this expected?
The text was updated successfully, but these errors were encountered: