da667 / Autosnort

Repo for autosnort scripts.
MIT License
157 stars 89 forks source link

Autosnort-Debian libdnet & daq #67

Open Kannushi opened 5 years ago

Kannushi commented 5 years ago

http://code.google.com/p/libdnet/ mirror goes to 404 I changed the line 403 wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz &>> $logfile into git clone https://github.com/dugsong/libdnet &>> $logfile and commented out lines 406 and 407 where it unpacks it and changed line 412 to reflect the new folder which is libdnet I also tried to install it through apt with apt install libdnet

Next error was

checking for net/netmap.h... no
checking for net/netmap_user.h... no
checking whether NETMAP_API is declared... no
checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... `no`
checking dumbnet.h usability... no
checking dumbnet.h presence... no
checking for dumbnet.h... no

   ERROR!  dnet header not found, go get it from
   http://code.google.com/p/libdnet/ or use the --with-dnet-*
   options, if you have it installed in an unusual place
make: *** No targets and no makefile found. Stop(in my native language)

Any halp? Using Debian stretch (2019-05-13) Edit. I compiled the libdnet by hand and commented the whole thing with downloading and unpacking libdnet because there was an error when the folder was already present in /usr/src. Two more missing packages followed during configuration of snort. These two were LuaJIT(https://luajit.org/install.html) and openssl/x509.h(libssl-dev in apt) after that snort compiled just fine but pulling snort.conf resulted in 404 I updated the link and it went through. next was the pulled pork which had outdated links as well as populating the pulledpork.conf with outdated data(for version v0.7.0 instead of v0.7.4) I went to stop here. Will report more when I get into it.