|
|||||||||||
|
[Snort-devel] [ snort-Bugs-906490 ] adding -F to snort/snortd ?
From: SourceForge.net <noreply(at)sourceforge.net>
Date: Sat Feb 28 2004 - 10:20:12 EST
Category: None
Initial Comment:
i tried "config bpf_file: /etc/snort/snort.bpf" but it seams not working. what am i doing wrong?
snort.bpf has only one line:
otherwise using the "-F" parameter on command-line it works well. so what about the solution to put this parameter also to the file "/etc/sysconfig/snort" ? here is my solution. what is the rest thinking about this? /etc/sysconfig/snort (added following lines): # using command line paramter instead of using # "config bpf_file [: bpf_file_name] # -F # config bpf_file[: bpf_file_name] BPF_FILE=/etc/snort/snort.bpf /etc/init.d/snortd (added/changed folloging lines): # added parameter test if [ "$BPF_FILE"X = "X" ]; then BPF_FILE=""
BPF_FILE="-F $BPF_FILE"
# changed "start of deamon" lines, putting variable
what about including these changes in the rpm's ?
greetings Dirk
You can respond by visiting:
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click Snort-devel mailing list Snort-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-devel Received on Mon Mar 1 10:58:23 2004 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:10 EDT |
||||||||||
|
|||||||||||