[Snort-users] snort doesn't write to mysql

This is a discussion on [Snort-users] snort doesn't write to mysql within the Snort forums, part of the System Security and Security Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C3FF9D.37068D0A Content-Type: text/plain; charset="iso-8859-...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2004
Ochs, Pam
 
Posts: n/a
Default [Snort-users] snort doesn't write to mysql

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3FF9D.37068D0A
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello.

I'm a newbie, but have checked the FAQs, done lots of searching, asked =
other linux-knowledgeable people, and I still can't figure this out. =
I've likely done something stupid - can anyone help me find it?

I'm running snort 2.1.0-2 on RedHat 9, with mysql, apache, php and acid. =
I have configured the output database line in snort.conf to point to the =
mysql database, but I see no sign that snort is even attempting to =
connect to the database. snort and snort-mysql are installed from the =
binary rpms available from snort.org;=20

[root@fsf052 snort]# rpm -qa |grep snort=20

snort-mysql-2.1.0-2=20

snort-2.1.0-2

snort appears to be using snort.conf;

ps -ef |grep snort

snort 3849 1 0 16:15 ? 00:00:00 /usr/sbin/snort -A fast -b -d -D -i eth0 =
-u snort -g snort -c /etc/snort/snort.conf -l /var/log/snort

However, I added "output log_tcpdump: tcpdump.log" to the snort.conf and =
found no tcpdump.log when I restarted the service and ran the scanner =
against it. Just to be sure, I created the empty file, gave the snort =
user pemissions on it, restarted the service, and ran the scanner again =
- the file remained empty. Does this mean the output settings in =
snort.conf are being overridden or ignored?

It is running snort-mysql;

ls -l /usr/sbin |grep snort

lrwxrwxrwx 1 root root 21 Feb 20 10:37 snort -> /usr/sbin/snort-mysql

-rwxr-xr-x 1 root root 478797 Dec 20 05:22 snort-mysql

-rwxr-xr-x 1 root root 478268 Dec 20 05:28 snort-plain

Does anyone know how this version was compiled? Do I have to have the =
database in a specific location?

Thanks in advance for any help,

Pam

I'm including my scripts and config files, basically all default, sorry =
for the length of the e-mail, I've removed a lot of the commented stuff =
and examples to make it shorter. Note, my e-mail client is causing stuff =
to wrap - there are no carriage returns: =
__________________________________________________ _______________________=


/etc/init.d/snortd

#!/bin/sh

# $Id: snortd,v 1.17 2003/12/20 09:25:37 dwittenb Exp $

#

# snortd Start/Stop the snort IDS daemon.

#

# chkconfig: 2345 40 60

# description: snort is a lightweight network intrusion detection tool =
that \

# currently detects more than 1100 host and network \

# vulnerabilities, portscans, backdoors, and more.

#

# Source function library.

.. /etc/rc.d/init.d/functions

# Source the local configuration file

.. /etc/sysconfig/snort

# Convert the /etc/sysconfig/snort settings to something snort can # use =
on the startup line. if [ "$ALERTMODE"X =3D "X" ]; then

ALERTMODE=3D""

else

ALERTMODE=3D"-A $ALERTMODE"

fi

if [ "$USER"X =3D "X" ]; then

USER=3D"snort"

fi

if [ "$GROUP"X =3D "X" ]; then

GROUP=3D"snort"

fi

if [ "$BINARY_LOG"X =3D "1X" ]; then

BINARY_LOG=3D"-b"

else

BINARY_LOG=3D""

fi

if [ "$CONF"X =3D "X" ]; then

CONF=3D"-c /etc/snort/snort.conf"

else

CONF=3D"-c $CONF"

fi

if [ "$INTERFACE"X =3D "X" ]; then

INTERFACE=3D"-i eth0"

else=20

INTERFACE=3D"-i $INTERFACE"

fi

if [ "$DUMP_APP"X =3D "1X" ]; then

DUMP_APP=3D"-d"

else

DUMP_APP=3D""

fi=20

if [ "$NO_PACKET_LOG"X =3D "1X" ]; then

NO_PACKET_LOG=3D"-N"

else

NO_PACKET_LOG=3D""

fi=20

if [ "$PRINT_INTERFACE"X =3D "1X" ]; then

PRINT_INTERFACE=3D"-I"

else

PRINT_INTERFACE=3D""

fi

if [ "$PASS_FIRST"X =3D "1X" ]; then

PASS_FIRST=3D"-o"

else

PASS_FIRST=3D""

fi

if [ "$LOGDIR"X =3D "X" ]; then

LOGDIR=3D/var/log/snort

fi

=20

######################################

# Now to the real heart of the matter:

# See how we were called.

case "$1" in

start)

echo -n "Starting snort: "

cd $LOGDIR

if [ "$INTERFACE" =3D "-i ALL" ]; then

for i in `cd /proc/sys/net/ipv4/conf; ls -d eth* |sed s/"\/"//g`

do

mkdir -p "$LOGDIR/$i"

chown -R snort:snort $LOGDIR

daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG $DUMP_APP =
-D $PRINT_INTERFACE -i $i -u $USER -g $GROUP $CONF -l $LOGDIR/$i =
$PASS_FIRST

done

else

daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG $DUMP_APP =
-D $PRINT_INTERFACE $INTERFACE -u $USER -g $GROUP $CONF -l $LOGDIR =
$PASS_FIRST

fi

touch /var/lock/subsys/snort

echo

;;

stop)

echo -n "Stopping snort: "

killproc snort

rm -f /var/lock/subsys/snort

echo=20

;;

reload)

echo "Sorry, not implemented yet"

;;

restart)

$0 stop

$0 start

;;

condrestart)

[ -e /var/lock/subsys/snort ] && /etc/init.d/snortd restart

;;

status)

status snort

;;

*)

echo "Usage: $0 {start|stop|reload|restart|condrestart|status}"

exit 2

esac

exit 0

=20

__________________________________________________ _______________________=
__

/etc/sysconfig/snort

# /etc/sysconfig/snort

# $Id: snort.sysconfig,v 1.8 2003/09/19 05:18:12 dwittenb Exp $

=20

#### General Configuration

INTERFACE=3Deth0

CONF=3D/etc/snort/snort.conf

USER=3Dsnort

GROUP=3Dsnort

PASS_FIRST=3D0

#### Logging & Alerting

LOGDIR=3D/var/log/snort

ALERTMODE=3Dfast

DUMP_APP=3D1

BINARY_LOG=3D1

NO_PACKET_LOG=3D0

PRINT_INTERFACE=3D0

=20

__________________________________________________ ______________

/etc/snort/snort.conf (password/IP obscured)

#--------------------------------------------------

# http://www.snort.org <http://www.snort.org/> Snort 2.1.0 Ruleset

# Contact: snort-sigs@lists.sourceforge.net

#--------------------------------------------------

# $Id: snort.conf,v 1.133 2003/12/18 17:05:07 cazz Exp $

#

var HOME_NET x.x.x.0/xx

# Set up the external network addresses as well. A good start may be =
"any" var EXTERNAL_NET any

# List of DNS servers on your network=20

var DNS_SERVERS $HOME_NET

# List of SMTP servers on your network

var SMTP_SERVERS $HOME_NET

# List of web servers on your network

var HTTP_SERVERS $HOME_NET

# List of sql servers on your network=20

var SQL_SERVERS $HOME_NET

# List of telnet servers on your network

var TELNET_SERVERS $HOME_NET

# List of snmp servers on your network

var SNMP_SERVERS $HOME_NET

var HTTP_PORTS 80

# Ports you want to look for SHELLCODE on.

var SHELLCODE_PORTS !80

# Ports you do oracle attacks on

var ORACLE_PORTS 1521

# other variables

var AIM_SERVERS =
[64.12.24.0/24,64.12.25.0/24,64.12.26.14/24,64.12.28.0/24,64.12.29.0/24,6=
4.12.161.0/24,64.12.163.0/24,205.188.5.0/24,205.188.9.0/24]

# Path to your rules files (this can be a relative path)

var RULE_PATH /etc/snort/rules

preprocessor frag2

# stream4: stateful inspection/stream reassembly for Snort

#----------------------------------------------------------------------

preprocessor stream4: disable_evasion_alerts

preprocessor stream4_reassemble

preprocessor http_inspect: global \

iis_unicode_map unicode.map 1252

preprocessor http_inspect_server: server default \

profile all \

ports { 80 8080 }

# rpc_decode: normalize RPC traffic

# ---------------------------------

preprocessor rpc_decode: 111 32771

# bo: Back Orifice detector

preprocessor bo

# telnet_decode: Telnet negotiation string normalizer

preprocessor telnet_decode

################################################## ##################

# Step #3: Configure output plugins

#

output database: log, mysql, user=3Dsnort password=3D******** =
dbname=3Dsnort host=3Dlocalhost

include classification.config

include reference.config

################################################## ##################

# Step #4: Customize your rule set

include $RULE_PATH/local.rules

include $RULE_PATH/bad-traffic.rules

include $RULE_PATH/exploit.rules

include $RULE_PATH/scan.rules

include $RULE_PATH/finger.rules

include $RULE_PATH/ftp.rules

include $RULE_PATH/telnet.rules

include $RULE_PATH/rpc.rules

include $RULE_PATH/rservices.rules

include $RULE_PATH/dos.rules

include $RULE_PATH/ddos.rules

include $RULE_PATH/dns.rules

include $RULE_PATH/tftp.rules

include $RULE_PATH/web-cgi.rules

include $RULE_PATH/web-coldfusion.rules

include $RULE_PATH/web-iis.rules

include $RULE_PATH/web-frontpage.rules

include $RULE_PATH/web-misc.rules

include $RULE_PATH/web-client.rules

include $RULE_PATH/web-php.rules

include $RULE_PATH/sql.rules

include $RULE_PATH/x11.rules

include $RULE_PATH/icmp.rules

include $RULE_PATH/netbios.rules

include $RULE_PATH/misc.rules

include $RULE_PATH/attack-responses.rules

include $RULE_PATH/oracle.rules

include $RULE_PATH/mysql.rules

include $RULE_PATH/snmp.rules

include $RULE_PATH/smtp.rules

include $RULE_PATH/imap.rules

include $RULE_PATH/pop2.rules

include $RULE_PATH/pop3.rules

include $RULE_PATH/nntp.rules

include $RULE_PATH/other-ids.rules

include $RULE_PATH/experimental.rules

# Include any thresholding or suppression commands

include threshold.conf


------_=_NextPart_001_01C3FF9D.37068D0A
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML =
DIR=3Dltr><HEAD><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1"></HEAD><BODY><DIV><FONT face=3D'Arial' =
color=3D#000000 size=3D2><FONT size=3D2>=0A=
<P>Hello.</P>=0A=
<P>I'm a newbie, but have checked the FAQs, done lots of searching, =
asked other =0A=
linux-knowledgeable people, and I still can't figure this out. I've =
likely done =0A=
something stupid - can anyone help me find it?</P>=0A=
<P>I'm running snort 2.1.0-2 on RedHat 9, with mysql, apache, php and =
acid. I =0A=
have configured the output database line in snort.conf to point to the =
mysql =0A=
database, but I see no sign that snort is even attempting to connect to =
the =0A=
database. snort and snort-mysql are installed from the binary rpms =
available =0A=
from snort.org; </P>=0A=
<P>[root@fsf052 snort]# rpm -qa |grep snort </P>=0A=
<P>snort-mysql-2.1.0-2 </P>=0A=
<P>snort-2.1.0-2</P>=0A=
<P>snort appears to be using snort.conf;</P>=0A=
<P>ps -ef |grep snort</P>=0A=
<P>snort 3849 1 0 16:15 ? 00:00:00 /usr/sbin/snort -A fast -b -d -D -i =
eth0 -u =0A=
snort -g snort -c /etc/snort/snort.conf -l /var/log/snort</P>=0A=
<P>However, I added "output log_tcpdump: tcpdump.log" to the snort.conf =
and =0A=
found no tcpdump.log when I restarted the service and ran the scanner =
against =0A=
it. Just to be sure, I created the empty file, gave the snort user =
pemissions on =0A=
it, restarted the service, and ran the scanner again - the file remained =
empty. =0A=
Does this mean the output settings in snort.conf are being overridden or =0A=
ignored?</P>=0A=
<P>It is running snort-mysql;</P>=0A=
<P>ls -l /usr/sbin |grep snort</P>=0A=
<P>lrwxrwxrwx 1 root root 21 Feb 20 10:37 snort -&gt; =
/usr/sbin/snort-mysql</P>=0A=
<P>-rwxr-xr-x 1 root root 478797 Dec 20 05:22 snort-mysql</P>=0A=
<P>-rwxr-xr-x 1 root root 478268 Dec 20 05:28 snort-plain</P>=0A=
<P>Does anyone know how this version was compiled? Do I have to have the =0A=
database in a specific location?</P>=0A=
<P>Thanks in advance for any help,</P>=0A=
<P>Pam</P>=0A=
<P>I'm including my scripts and config files, basically all default, =
sorry for =0A=
the length of the e-mail, I've removed a lot of the commented stuff and =
examples =0A=
to make it shorter. Note, my e-mail client is causing stuff to wrap - =
there are =0A=
no carriage returns: =0A=
__________________________________________________ _______________________=
</P>=0A=
<P>/etc/init.d/snortd</P>=0A=
<P>#!/bin/sh</P>=0A=
<P># $Id: snortd,v 1.17 2003/12/20 09:25:37 dwittenb Exp $</P>=0A=
<P>#</P>=0A=
<P># snortd Start/Stop the snort IDS daemon.</P>=0A=
<P>#</P>=0A=
<P># chkconfig: 2345 40 60</P>=0A=
<P># description: snort is a lightweight network intrusion detection =
tool that =0A=
\</P>=0A=
<P># currently detects more than 1100 host and network \</P>=0A=
<P># vulnerabilities, portscans, backdoors, and more.</P>=0A=
<P>#</P>=0A=
<P># Source function library.</P>=0A=
<P>. /etc/rc.d/init.d/functions</P>=0A=
<P># Source the local configuration file</P>=0A=
<P>. /etc/sysconfig/snort</P>=0A=
<P># Convert the /etc/sysconfig/snort settings to something snort can # =
use on =0A=
the startup line. if [ "$ALERTMODE"X =3D "X" ]; then</P>=0A=
<P>ALERTMODE=3D""</P>=0A=
<P>else</P>=0A=
<P>ALERTMODE=3D"-A $ALERTMODE"</P>=0A=
<P>fi</P>=0A=
<P>if [ "$USER"X =3D "X" ]; then</P>=0A=
<P>USER=3D"snort"</P>=0A=
<P>fi</P>=0A=
<P>if [ "$GROUP"X =3D "X" ]; then</P>=0A=
<P>GROUP=3D"snort"</P>=0A=
<P>fi</P>=0A=
<P>if [ "$BINARY_LOG"X =3D "1X" ]; then</P>=0A=
<P>BINARY_LOG=3D"-b"</P>=0A=
<P>else</P>=0A=
<P>BINARY_LOG=3D""</P>=0A=
<P>fi</P>=0A=
<P>if [ "$CONF"X =3D "X" ]; then</P>=0A=
<P>CONF=3D"-c /etc/snort/snort.conf"</P>=0A=
<P>else</P>=0A=
<P>CONF=3D"-c $CONF"</P>=0A=
<P>fi</P>=0A=
<P>if [ "$INTERFACE"X =3D "X" ]; then</P>=0A=
<P>INTERFACE=3D"-i eth0"</P>=0A=
<P>else </P>=0A=
<P>INTERFACE=3D"-i $INTERFACE"</P>=0A=
<P>fi</P>=0A=
<P>if [ "$DUMP_APP"X =3D "1X" ]; then</P>=0A=
<P>DUMP_APP=3D"-d"</P>=0A=
<P>else</P>=0A=
<P>DUMP_APP=3D""</P>=0A=
<P>fi </P>=0A=
<P>if [ "$NO_PACKET_LOG"X =3D "1X" ]; then</P>=0A=
<P>NO_PACKET_LOG=3D"-N"</P>=0A=
<P>else</P>=0A=
<P>NO_PACKET_LOG=3D""</P>=0A=
<P>fi </P>=0A=
<P>if [ "$PRINT_INTERFACE"X =3D "1X" ]; then</P>=0A=
<P>PRINT_INTERFACE=3D"-I"</P>=0A=
<P>else</P>=0A=
<P>PRINT_INTERFACE=3D""</P>=0A=
<P>fi</P>=0A=
<P>if [ "$PASS_FIRST"X =3D "1X" ]; then</P>=0A=
<P>PASS_FIRST=3D"-o"</P>=0A=
<P>else</P>=0A=
<P>PASS_FIRST=3D""</P>=0A=
<P>fi</P>=0A=
<P>if [ "$LOGDIR"X =3D "X" ]; then</P>=0A=
<P>LOGDIR=3D/var/log/snort</P>=0A=
<P>fi</P>=0A=
<P>&nbsp;</P>=0A=
<P>######################################</P>=0A=
<P># Now to the real heart of the matter:</P>=0A=
<P># See how we were called.</P>=0A=
<P>case "$1" in</P>=0A=
<P>start)</P>=0A=
<P>echo -n "Starting snort: "</P>=0A=
<P>cd $LOGDIR</P>=0A=
<P>if [ "$INTERFACE" =3D "-i ALL" ]; then</P>=0A=
<P>for i in `cd /proc/sys/net/ipv4/conf; ls -d eth* |sed s/"\/"//g`</P>=0A=
<P>do</P>=0A=
<P>mkdir -p "$LOGDIR/$i"</P>=0A=
<P>chown -R snort:snort $LOGDIR</P>=0A=
<P>daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG =
$DUMP_APP -D =0A=
$PRINT_INTERFACE -i $i -u $USER -g $GROUP $CONF -l $LOGDIR/$i =
$PASS_FIRST</P>=0A=
<P>done</P>=0A=
<P>else</P>=0A=
<P>daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG =
$DUMP_APP -D =0A=
$PRINT_INTERFACE $INTERFACE -u $USER -g $GROUP $CONF -l $LOGDIR =
$PASS_FIRST</P>=0A=
<P>fi</P>=0A=
<P>touch /var/lock/subsys/snort</P>=0A=
<P>echo</P>=0A=
<P>;;</P>=0A=
<P>stop)</P>=0A=
<P>echo -n "Stopping snort: "</P>=0A=
<P>killproc snort</P>=0A=
<P>rm -f /var/lock/subsys/snort</P>=0A=
<P>echo </P>=0A=
<P>;;</P>=0A=
<P>reload)</P>=0A=
<P>echo "Sorry, not implemented yet"</P>=0A=
<P>;;</P>=0A=
<P>restart)</P>=0A=
<P>$0 stop</P>=0A=
<P>$0 start</P>=0A=
<P>;;</P>=0A=
<P>condrestart)</P>=0A=
<P>[ -e /var/lock/subsys/snort ] &amp;&amp; /etc/init.d/snortd =
restart</P>=0A=
<P>;;</P>=0A=
<P>status)</P>=0A=
<P>status snort</P>=0A=
<P>;;</P>=0A=
<P>*)</P>=0A=
<P>echo "Usage: $0 {start|stop|reload|restart|condrestart|status}"</P>=0A=
<P>exit 2</P>=0A=
<P>esac</P>=0A=
<P>exit 0</P>=0A=
<P>&nbsp;</P>=0A=
<P>_______________________________________________ _______________________=
_____</P>=0A=
<P>/etc/sysconfig/snort</P>=0A=
<P># /etc/sysconfig/snort</P>=0A=
<P># $Id: snort.sysconfig,v 1.8 2003/09/19 05:18:12 dwittenb Exp $</P>=0A=
<P>&nbsp;</P>=0A=
<P>#### General Configuration</P>=0A=
<P>INTERFACE=3Deth0</P>=0A=
<P>CONF=3D/etc/snort/snort.conf</P>=0A=
<P>USER=3Dsnort</P>=0A=
<P>GROUP=3Dsnort</P>=0A=
<P>PASS_FIRST=3D0</P>=0A=
<P>#### Logging &amp; Alerting</P>=0A=
<P>LOGDIR=3D/var/log/snort</P>=0A=
<P>ALERTMODE=3Dfast</P>=0A=
<P>DUMP_APP=3D1</P>=0A=
<P>BINARY_LOG=3D1</P>=0A=
<P>NO_PACKET_LOG=3D0</P>=0A=
<P>PRINT_INTERFACE=3D0</P>=0A=
<P>&nbsp;</P>=0A=
<P>_______________________________________________ _________________</P>=0A=
<P>/etc/snort/snort.conf (password/IP obscured)</P>=0A=
<P>#--------------------------------------------------</P>=0A=
<P># </FONT><A href=3D"http://www.snort.org/"><U><FONT color=3D#0000ff =0A=
size=3D2>http://www.snort.org</U></FONT></A><FONT size=3D2> Snort 2.1.0 =
Ruleset</P>=0A=
<P># Contact: snort-sigs@lists.sourceforge.net</P>=0A=
<P>#--------------------------------------------------</P>=0A=
<P># $Id: snort.conf,v 1.133 2003/12/18 17:05:07 cazz Exp $</P>=0A=
<P>#</P>=0A=
<P>var HOME_NET x.x.x.0/xx</P>=0A=
<P># Set up the external network addresses as well. A good start may be =
"any" =0A=
var EXTERNAL_NET any</P>=0A=
<P># List of DNS servers on your network </P>=0A=
<P>var DNS_SERVERS $HOME_NET</P>=0A=
<P># List of SMTP servers on your network</P>=0A=
<P>var SMTP_SERVERS $HOME_NET</P>=0A=
<P># List of web servers on your network</P>=0A=
<P>var HTTP_SERVERS $HOME_NET</P>=0A=
<P># List of sql servers on your network </P>=0A=
<P>var SQL_SERVERS $HOME_NET</P>=0A=
<P># List of telnet servers on your network</P>=0A=
<P>var TELNET_SERVERS $HOME_NET</P>=0A=
<P># List of snmp servers on your network</P>=0A=
<P>var SNMP_SERVERS $HOME_NET</P>=0A=
<P>var HTTP_PORTS 80</P>=0A=
<P># Ports you want to look for SHELLCODE on.</P>=0A=
<P>var SHELLCODE_PORTS !80</P>=0A=
<P># Ports you do oracle attacks on</P>=0A=
<P>var ORACLE_PORTS 1521</P>=0A=
<P># other variables</P>=0A=
<P>var AIM_SERVERS =0A=
[64.12.24.0/24,64.12.25.0/24,64.12.26.14/24,64.12.28.0/24,64.12.29.0/24,6=
4.12.161.0/24,64.12.163.0/24,205.188.5.0/24,205.188.9.0/24]</P>=0A=
<P># Path to your rules files (this can be a relative path)</P>=0A=
<P>var RULE_PATH /etc/snort/rules</P>=0A=
<P>preprocessor frag2</P>=0A=
<P># stream4: stateful inspection/stream reassembly for Snort</P>=0A=
<P>#---------------------------------------------------------------------=
-</P>=0A=
<P>preprocessor stream4: disable_evasion_alerts</P>=0A=
<P>preprocessor stream4_reassemble</P>=0A=
<P>preprocessor http_inspect: global \</P>=0A=
<P>iis_unicode_map unicode.map 1252</P>=0A=
<P>preprocessor http_inspect_server: server default \</P>=0A=
<P>profile all \</P>=0A=
<P>ports { 80 8080 }</P>=0A=
<P># rpc_decode: normalize RPC traffic</P>=0A=
<P># ---------------------------------</P>=0A=
<P>preprocessor rpc_decode: 111 32771</P>=0A=
<P># bo: Back Orifice detector</P>=0A=
<P>preprocessor bo</P>=0A=
<P># telnet_decode: Telnet negotiation string normalizer</P>=0A=
<P>preprocessor telnet_decode</P>=0A=
<P>############################################### #####################</=
P>=0A=
<P># Step #3: Configure output plugins</P>=0A=
<P>#</P>=0A=
<P>output database: log, mysql, user=3Dsnort password=3D******** =
dbname=3Dsnort =0A=
host=3Dlocalhost</P>=0A=
<P>include classification.config</P>=0A=
<P>include reference.config</P>=0A=
<P>############################################### #####################</=
P>=0A=
<P># Step #4: Customize your rule set</P>=0A=
<P>include $RULE_PATH/local.rules</P>=0A=
<P>include $RULE_PATH/bad-traffic.rules</P>=0A=
<P>include $RULE_PATH/exploit.rules</P>=0A=
<P>include $RULE_PATH/scan.rules</P>=0A=
<P>include $RULE_PATH/finger.rules</P>=0A=
<P>include $RULE_PATH/ftp.rules</P>=0A=
<P>include $RULE_PATH/telnet.rules</P>=0A=
<P>include $RULE_PATH/rpc.rules</P>=0A=
<P>include $RULE_PATH/rservices.rules</P>=0A=
<P>include $RULE_PATH/dos.rules</P>=0A=
<P>include $RULE_PATH/ddos.rules</P>=0A=
<P>include $RULE_PATH/dns.rules</P>=0A=
<P>include $RULE_PATH/tftp.rules</P>=0A=
<P>include $RULE_PATH/web-cgi.rules</P>=0A=
<P>include $RULE_PATH/web-coldfusion.rules</P>=0A=
<P>include $RULE_PATH/web-iis.rules</P>=0A=
<P>include $RULE_PATH/web-frontpage.rules</P>=0A=
<P>include $RULE_PATH/web-misc.rules</P>=0A=
<P>include $RULE_PATH/web-client.rules</P>=0A=
<P>include $RULE_PATH/web-php.rules</P>=0A=
<P>include $RULE_PATH/sql.rules</P>=0A=
<P>include $RULE_PATH/x11.rules</P>=0A=
<P>include $RULE_PATH/icmp.rules</P>=0A=
<P>include $RULE_PATH/netbios.rules</P>=0A=
<P>include $RULE_PATH/misc.rules</P>=0A=
<P>include $RULE_PATH/attack-responses.rules</P>=0A=
<P>include $RULE_PATH/oracle.rules</P>=0A=
<P>include $RULE_PATH/mysql.rules</P>=0A=
<P>include $RULE_PATH/snmp.rules</P>=0A=
<P>include $RULE_PATH/smtp.rules</P>=0A=
<P>include $RULE_PATH/imap.rules</P>=0A=
<P>include $RULE_PATH/pop2.rules</P>=0A=
<P>include $RULE_PATH/pop3.rules</P>=0A=
<P>include $RULE_PATH/nntp.rules</P>=0A=
<P>include $RULE_PATH/other-ids.rules</P>=0A=
<P>include $RULE_PATH/experimental.rules</P>=0A=
<P># Include any thresholding or suppression commands</P>=0A=
<P>include threshold.conf</P></FONT></FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C3FF9D.37068D0A--


-------------------------------------------------------
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-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0