====== LibNIDS multithreading patch ====== {{:blog:code:libnids-1.20-mt.patch.gz|}} - My patch against libnids-1.20 to start ip defragmentation and tcp stream assembly in a different thread. Compiling [[http://libnids.sourceforge.net/|libNIDS]] in an environment where [[http://library.gnome.org/devel/glib/|glib-2.0]] is available enables libnids to use two different threads - one for receiving IP fragments from [[http://www.tcpdump.org/|libpcap]], and one, with lower priority, to process fragments, streams and to notify callbacks. Preferrably using nids_run() this behavior is invisible to the user. {{tag>patch bugfix security performance c}} ~~LINKBACK~~