gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

DLT_LINUX_SLL (aka cooked socket) function does not work on OpenVZ #43

Closed philhagen closed 9 years ago

philhagen commented 9 years ago

When running on an OpenVZ container, passivedns fails:

# passivedns -i venet0

[*] PassiveDNS 1.1.3
[*] By Edward Bjarte Fjellskål <edward.fjellskaal@gmail.com>
[*] Using libpcap version 0.9.4
[*] Using ldns version 1.6.16
[*] Device: venet0
[*] Error errbuf: arptype 65535 not supported by libpcap - falling back to cooked socket

# echo $?
1

I have a minor patch that will be submitted via PR shortly.