[Snort-users] SNORT 2.0.0 :: ODBC :: FREETDS :: SQL SERVER

This is a discussion on [Snort-users] SNORT 2.0.0 :: ODBC :: FREETDS :: SQL SERVER within the Snort forums, part of the System Security and Security Related category; This is a multi-part message in MIME format. ------=_NextPart_000_01F7_01C38DB3.A3E0FFC0 Content-Type: text/plain; charset="iso-8859-1&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-08-2003
Rodrigo Lima de Oliveira
 
Posts: n/a
Default [Snort-users] SNORT 2.0.0 :: ODBC :: FREETDS :: SQL SERVER

This is a multi-part message in MIME format.

------=_NextPart_000_01F7_01C38DB3.A3E0FFC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Snort Users,

When I start SNORT using the command line "snort -b -o -i eth0 -c =
/home/pacotes/snort.network.conf" i am receiving the following message :

"
database: Problem obtaining SENSOR ID (sid) from snort->sensor
ERROR:=20
When this plugin starts, a SELECT query is run to find the sensor id =
for the
currently running sensor. If the sensor id is not found, the plugin =
will run
an INSERT query to insert the proper data and generate a new sensor id. =
Then a
SELECT query is run to get the newly allocated sensor id. If that fails =
then
this error message is generated.

Some possible causes for this error are:
* the user does not have proper INSERT or SELECT privileges
* the sensor table does not exist

If you are _absolutely_ certain that you have the proper privileges set =
and
that your database structure is built properly please let me know if =
you
continue to get this error. You can contact me at (roman@danyliw.com).

Fatal Error, Quitting..
"

My Environment :

- Snort-2.0.0 ( UnixODBC / FreeTDS )
- Linux Red Hat 9.0
- SQL Server 2000 ( Windows 2000 Server )


The user have all database permissions. With "SQL Profiler" I checked =
that the INSERT command is not executing in SQL Server, just the two =
SELECT. With ISQL, using the same user of snort, I can execute the =
SELECT and INSERT normally.

Please, I need some help to solve this problem.

Thx,

Rodrigo Lima de Oliveira

Ps.: Sorry my bad english, my real language is portuguese.
------=_NextPart_000_01F7_01C38DB3.A3E0FFC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>
<DIV>Dear&nbsp;Snort Users,</DIV>
<DIV>&nbsp;</DIV>
<DIV>When&nbsp;I start&nbsp;SNORT&nbsp;using the command =
line&nbsp;"snort -b -o=20
-i eth0 -c /home/pacotes/snort.network.conf" i am receiving the =
following=20
message :</DIV>
<DIV>&nbsp;</DIV>
<DIV>"</DIV>
<DIV>database: Problem obtaining SENSOR ID (sid) from =
snort-&gt;sensor<BR>ERROR:=20
<BR>&nbsp;When this plugin starts, a SELECT query is run to find the =
sensor id=20
for the<BR>&nbsp;currently running sensor. If the sensor id is not =
found, the=20
plugin will run<BR>&nbsp;an INSERT query to insert the proper data and =
generate=20
a new sensor id. Then a<BR>&nbsp;SELECT query is run to get the newly =
allocated=20
sensor id. If that fails then<BR>&nbsp;this error message is =
generated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;Some possible causes for this error are:<BR>&nbsp; * the user =
does=20
not have proper INSERT or SELECT privileges<BR>&nbsp; * the sensor table =
does=20
not exist</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;If you are _absolutely_ certain that you have the proper =
privileges=20
set and<BR>&nbsp;that your database structure is built properly please =
let me=20
know if you<BR>&nbsp;continue to get this error. You can contact me at =
(<A=20
href=3D"mailto:roman@danyliw.com">roman@danyliw.co m</A>).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fatal Error, Quitting..<BR>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>My Environment&nbsp;:</DIV>
<DIV>&nbsp;</DIV>
<DIV>- Snort-2.0.0 (&nbsp;UnixODBC / FreeTDS&nbsp;)</DIV>
<DIV>-&nbsp;Linux Red Hat 9.0</DIV>
<DIV>- SQL Server 2000 (&nbsp;Windows 2000 Server&nbsp;)<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>The user have all database permissions. With "SQL Profiler" =
I&nbsp;checked=20
that the INSERT command is not&nbsp;executing in&nbsp;SQL Server, just =
the two=20
SELECT.&nbsp;With ISQL, using the same user of snort, I can execute the =
SELECT=20
and INSERT normally.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please, I need some help to solve this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thx,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Rodrigo Lima de Oliveira</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ps.: Sorry my bad english, my real language is=20
portuguese.</DIV></FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_01F7_01C38DB3.A3E0FFC0--


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.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/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 11:12 PM.


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