From: Victor J. <vi...@nk...> - 2004-07-08 21:43:22
|
Hi List, After reading this post in the list archives: kill -HUP snort_inline (http://sourceforge.net/mailarchive/forum.php?thread_id=4035437&forum_id=32933) I decided to take a look a the sighup code. I proved to be very simple. I just copied the snort_inline specific pieces of code from CleanExit(int exit_val) to Restart(), both in snort.c Attached is the patch against 2.1.3b. It seems to work, i saw only one problem. With the stream4 preproc all states are flushed, basicly terminating all current connections... so i guess there needs to be some mechanism that makes sure the state table survives the restart. Any ideas? Will? Regards, Victor |