|
Home > Archive > Snort > September 2004 > [Snort-users] Fatal error when starting snort on the sensor
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[Snort-users] Fatal error when starting snort on the sensor
|
|
| Juan Fernandez 2004-09-22, 10:25 pm |
| This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C49CE1.B7DB9507
Content-Type: text/plain
Hi Guys!!
When I start snort manually from the command line /etc/init.d/snort start I
see that snort starts:
Starting Intrusion Database System: SNORT
SNORT is up and running!
On /var/log/messeges I see:
Sep 17 21:02:54 sensjrlan snort: FATAL ERROR: /etc/snort/snort.conf(458) =>
Unknown rule type: ports
In snort.conf the 458 line is this:
output database: alert, mysql, user=snort password=snort dbname=snort
host=208.170.171.199 sensor_name=sensjrlan
Mysql and acid are on another server (208.170.171.199) I checked that I can
telnet to port 3306 so what's wrong ?
Thanks very much!!!
------_=_NextPart_001_01C49CE1.B7DB9507
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
text-align:right;
direction:rtl;
unicode-bidi:embed;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1 dir=3DRTL>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Hi
Guys!! <o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>When
I start snort manually from the command line /etc/init.d/snort start I =
see that
snort starts:<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Starting
Intrusion Database System: SNORT</span></font><font size=3D2 =
face=3DArial><span
lang=3DHE dir=3DRTL =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></=
p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>SNORT
is up and running!<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>On
/var/log/messeges I see:<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Sep
17 21:02:54 sensjrlan snort: FATAL ERROR: /etc/snort/snort.conf(458) =
=3D> Unknown
rule type: ports<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>In
snort.conf the 458 line is this:<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>output
database: alert, mysql, user=3Dsnort password=3Dsnort dbname=3Dsnort =
host=3D208.170.171.199
sensor_name=3Dsensjrlan<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Mysql
and acid are on another server (208.170.171.199) I checked that I can =
telnet to
port 3306 so what's wrong ?<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DLTR =
style=3D'text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Thanks
very much!!!<o:p></o:p></span></font></p>
<p class=3DMsoNormal dir=3DRTL><font size=3D2 face=3DArial><span =
dir=3DLTR
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>
<p class=3DMsoNormal dir=3DRTL><font size=3D3 face=3D"Times New =
Roman"><span lang=3DHE
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C49CE1.B7DB9507--
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
| |
| sekure 2004-09-22, 10:25 pm |
| I would look for the word "ports" in your snort.conf. Discounting all
the comments, there is only one place that I have the word "ports" in
my snort.conf, and that's where I define http_inspect preprocessor.
So go there and make sure that if you commented out http_inspect, you
also commented out everything below it. Or if it isn't uncommented,
make sure that there is a "\" character at the end of the line
directly above the line starting with "ports"
So, either this:
preprocessor http_inspect_server: server default \
ports { 80 8080 }
Or this:
# preprocessor http_inspect_server: server default \
# ports { 80 8080 }
NOT THIS:
preprocessor http_inspect_server: server default <--*****BACKSLASH MISSING****
ports { 80 8080 }
----- Original Message -----
From: Juan Fernandez <juan.fernandez@deltathree.com>
Date: Fri, 17 Sep 2004 21:11:13 +0300
Subject: [Snort-users] Fatal error when starting snort on the sensor
To: "snort-users@lists.sourceforge.net" <snort-users@lists.sourceforge.net>
Hi Guys!!
When I start snort manually from the command line /etc/init.d/snort
start I see that snort starts:
Starting Intrusion Database System: SNORT
SNORT is up and running!
On /var/log/messeges I see:
Sep 17 21:02:54 sensjrlan snort: FATAL ERROR:
/etc/snort/snort.conf(458) => Unknown rule type: ports
In snort.conf the 458 line is this:
output database: alert, mysql, user=snort password=snort dbname=snort
host=208.170.171.199 sensor_name=sensjrlan
Mysql and acid are on another server (208.170.171.199) I checked that
I can telnet to port 3306 so what's wrong ?
Thanks very much!!!
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
| |
| Matt Kettler 2004-09-22, 10:25 pm |
| At 02:11 PM 9/17/2004, Juan Fernandez wrote:
>Sep 17 21:02:54 sensjrlan snort: FATAL ERROR: /etc/snort/snort.conf(458)
>=> Unknown rule type: ports
>
>In snort.conf the 458 line is this:
>
>output database: alert, mysql, user=snort password=snort dbname=snort
>host=208.170.171.199 sensor_name=sensjrlan
I suspect snort's parser is a bit confused, so I doubt the error reported
is on that line. After all, it doesn't contain the word "ports" nor any
variables which could expand to contain ports.
Check around for lines that begin with ports in your snort.conf, but treat
the line number provided by snort as inaccurate.
try this for starters:
grep ports snort.conf
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
|
|
|
|
|