intel / hyperscan

High-performance regular expression matching library
https://www.hyperscan.io
Other
4.78k stars 710 forks source link

Hyperscan integration with Snort 2.9.15? #203

Open ItsYasirQuin opened 4 years ago

ItsYasirQuin commented 4 years ago

Would Hyperscan patch for Snort 2.9.9.0 work for 2.9.15? I have successfully applied the patch on 2.9.9.0 but it's gonna be obsolete by new year and there is no patch available for 2.9.15.

ItsCRC commented 4 years ago

I have applied the patch on 2.9.15 and it only failed at one chunk in snort.c file. That chunk has now been moved into reload.c file. Update it manually by opening the patch and copy that specific code into reload.c file and Hyperscan works like charm on 2.9.15

dimibyte commented 4 years ago

I have made package for Gentoo Linux and you can grab and test this patch for 2.9.16 here. Tested with Hyperscan 5.2.1.