openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.99k stars 3.47k forks source link

libdaq seems incomplete #19592

Open xxxx81 opened 2 years ago

xxxx81 commented 2 years ago

While testing Snort3 I noticed that it can run inline with afpacket Daq but it doesn't drop packets so I went searching and found that it can't inject packets in the DAQ. It seems that Libdaq3 is too stripped down and important libraries are missing. When I copy the self compiled files from this https://github.com/snort3/libdaq and reinstall libdaq3 (because the libdaq.so3 generates unexplained symbol errors) the injecting works. So it seems that files are missing to guarantee the complete function in inline mode of Snort3.

xxxx81 commented 2 years ago

Since the update to Openwrt 22.03.1 the injecting in passive (active plugin in Snort to send a reset on detection) and inline mode with Afpacket works but when using libpcap it still fails. Supposedly libpcap has the same potential.