[Snort-devel] new script init.d/snort.d - many interfaces

CACHET Nicolas Nicolas.CACHET at ...2325...
Wed Jan 14 12:30:07 EST 2004


Hi all !

In order to make snort sniffing on many interfaces (not just one, as
actually),
I modify this 2 files :
/etc/init.d/snortd
and
/etc/sysconfig/snort

INTERFACE variable which was defined in /etc/sysconfig/snort is no longer
used.

In remplacement, 
INTERFACES 		: contains the list of interfaces which will siffed
by snort
ARGS_DEFAULT 	: defaults parameters in snort command.
ARGS_<interface>	: interface's specific parameters in snort command.

SNORT_EXE 		: name of snort executable (which can be in my linux
distribution snort-mysql, snort ,etc...)

So, the command line defined in the /etc/init.d/snortd is  :

/usr/sbin/${SNORT_EXE} ${ARGS_DEFAULT} -i ${i} ${ARGS_<interface>}

Regards,
Nicolas CACHET

PS: I don't subscribe to this list. 
If I make a mistake, reply to me directly please.


*************************************************************************************
Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, RFO  decline toute 
responsabilite au titre de ce message, dans l'hypothese
 ou il aurait ete modifie.
                                                              http://www.rfo.fr
**************************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snortd
Type: application/octet-stream
Size: 1464 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20040114/3d320060/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snort
Type: application/octet-stream
Size: 312 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20040114/3d320060/attachment-0001.obj>


More information about the Snort-devel mailing list