Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407931 - net-analyzer/snort-2.9.1 - snort[18695]: FATAL ERROR: Can't find pcap DAQ!
Summary: net-analyzer/snort-2.9.1 - snort[18695]: FATAL ERROR: Can't find pcap DAQ!
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 14:26 UTC by Konstantin Agouros
Modified: 2012-05-17 11:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Agouros 2012-03-12 14:26:36 UTC
I upgraded to snort 2.9.1 now snort fails to start

The message is:

Mar 12 15:24:49 samba snort[18695]: Found pid path directive (/var/run/snort)
Mar 12 15:24:49 samba snort[18695]: Running in packet dump mode
Mar 12 15:24:49 samba snort[18695]: 
Mar 12 15:24:49 samba snort[18695]:         --== Initializing Snort ==--
Mar 12 15:24:49 samba snort[18695]: Initializing Output Plugins!
Mar 12 15:24:50 samba snort[18695]: Found pid path directive (/var/run/snort)
Mar 12 15:24:50 samba snort[18695]: FATAL ERROR: Can't find pcap DAQ!

I started to play with the config daq parameters as a quick google search indicated however I get this message even if I set:
config daq: afpacket

So something seems to be wrong here

for completenes:
# emerge -vp snort

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-analyzer/snort-2.9.1  USE="active-response decoder-preprocessor-rules dynamicplugin flexresp3 gre mpls normalizer paf perfprofiling postgres ppm react targetbased threads zlib -aruba -debug -inline-init-failopen -large-pcap-64bit -linux-smp-stats -mysql -odbc -reload-error-restart (-selinux) -static" 0 kB

# emerge -vp daq

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-libs/daq-0.6.2  USE="afpacket dump ipv6 pcap -ipq -nfq -static-libs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 1 Joshua Kinard gentoo-dev 2012-03-28 09:22:14 UTC
You need to set "config daq_dir" in your local.rules file for DAQ to be properly detected.  Should be /usr/lib64/daq on AMD64 systems.

Closing as INVALID.
Comment 2 Konstantin Agouros 2012-03-28 09:28:15 UTC
I put that into /etc/snort/snort.conf before and it didn't help

now I have:

# cat /etc/snort/rules/local.rules

config daq_dir: /usr/lib64/daq


# ls -l /usr/lib64/daq/
total 48
-rwxr-xr-x 1 root root 18512 Mar 12 14:49 daq_afpacket.so
-rwxr-xr-x 1 root root 10304 Mar 12 14:49 daq_dump.so
-rwxr-xr-x 1 root root 14416 Mar 12 14:49 daq_pcap.so


now how do I continue?
Comment 3 Konstantin Agouros 2012-05-17 11:27:02 UTC
Anybody got a clue where I shall look for the misconfig?