LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2008, 08:39 AM   #1
rajat83
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Rep: Reputation: 0
snort logs issue


Hi Folks,

I have recently configured snort, But I am not getting any parameter for
mentioning the alert/log file for the same. It shows me some output on my console whenever I run it through "-A console" option but it is not logging the same output in the /var/log/snort/alert .....
It is also showing me the other rotated files
[root@localhost ~]# tail -f /var/log/snort snort.log.1208447039 snort.log.1208482108
log snort.log.1208447756
snort.log.1208391152 snort.log.1208453267


but all the files are empty

Run time prior to being shutdown was 576.234571 seconds
===============================================================================
Packet Wire Totals:
Received: 3826
Analyzed: 3825 (99.974%)
Dropped: 0 (0.000%)
Outstanding: 1 (0.026%)

===============================================================================
Breakdown by protocol (includes rebuilt packets):
ETH: 3825 (100.000%)
ETHdisc: 0 (0.000%)
VLAN: 0 (0.000%)
IPV6: 0 (0.000%)
IP6 EXT: 0 (0.000%)
IP6opts: 0 (0.000%)
IP6disc: 0 (0.000%)
IP4: 3434 (89.778%)
IP4disc: 0 (0.000%)
TCP 6: 0 (0.000%)
UDP 6: 0 (0.000%)
ICMP6: 0 (0.000%)
ICMP-IP: 0 (0.000%)
TCP: 280 (7.320%)
UDP: 3125 (81.699%)
ICMP: 29 (0.758%)
TCPdisc: 0 (0.000%)
UDPdisc: 0 (0.000%)
ICMPdis: 0 (0.000%)
FRAG: 0 (0.000%)
FRAG 6: 0 (0.000%)
ARP: 61 (1.595%)
EAPOL: 0 (0.000%)
ETHLOOP: 55 (1.438%)
IPX: 0 (0.000%)
OTHER: 275 (7.190%)
DISCARD: 0 (0.000%)
InvChkSum: 0 (0.000%)
S5 G 1: 0 (0.000%)
S5 G 2: 0 (0.000%)
Total: 3825
===============================================================================
Action Stats:
ALERTS: 0
LOGGED: 0
PASSED: 0
===============================================================================
Frag3 statistics:
Total Fragments: 0
Frags Reassembled: 0
Discards: 0
Memory Faults: 0
Timeouts: 0
Overlaps: 0
Anomalies: 0
Alerts: 0
FragTrackers Added: 0
FragTrackers Dumped: 0
FragTrackers Auto Freed: 0
Frag Nodes Inserted: 0
Frag Nodes Deleted: 0
===============================================================================
Stream5 statistics:
Total sessions: 12
TCP sessions: 12
UDP sessions: 0
ICMP sessions: 0
TCP Prunes: 0
UDP Prunes: 0
ICMP Prunes: 0
TCP StreamTrackers Created: 12
TCP StreamTrackers Deleted: 12
TCP Timeouts: 2
TCP Overlaps: 0
TCP Segments Queued: 0
TCP Segments Released: 0
TCP Rebuilt Packets: 0
TCP Segments Used: 0
TCP Discards: 2
UDP Sessions Created: 0
UDP Sessions Deleted: 0
UDP Timeouts: 0
UDP Discards: 0
Events: 0
===============================================================================
HTTP Inspect - encodings (Note: stream-reassembled packets included):
POST methods: 0
GET methods: 0
Post parameters extracted: 0
Unicode: 0
Double unicode: 0
Non-ASCII representable: 0
Base 36: 0
Directory traversals: 0
Extra slashes ("//"): 0
Self-referencing paths ("./"): 0
Total packets processed: 124
===============================================================================
===============================================================================
Snort exiting


Showing some traffic also
But I wonder that I am not getting any option for logging alerts.
Also tell me how can I see the pkt output like ethreal.

Thanks in advance
 
Old 04-18-2008, 09:01 AM   #2
lintoolman
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
I'm not sure what your issues is. But I would make sure your rules are not commented out.
 
Old 04-18-2008, 10:13 PM   #3
rajat83
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
That's what I am saying dear , I am not getting any arameter in the configuration file to define the path for alerts or logs.
So tell me the parameter..........
 
Old 04-21-2008, 04:36 AM   #4
lintoolman
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Find the Unified section and make sure the lines beginning with "output" are not commented out.

This is the howto I used to set up my snort box:

http://www.howtoforge.com/intrusion-...u-7.10-updated


This put all of the logs into a mysql database, but you can still output the logs to log files like were trying to accomplish.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading SNORT Logs WarlockofVirgo Linux - Networking 1 08-13-2004 09:24 AM
Reading Snort logs bigdogg Linux - Software 0 10-27-2003 03:22 PM
Parsing Snort 1.9.0 logs tarballedtux Linux - Security 3 10-31-2002 07:25 AM
What do these snort logs mean? tarballedtux Linux - Security 1 08-31-2002 10:15 PM
Explain these Snort logs... the theorist Linux - Security 9 04-27-2002 09:21 PM


All times are GMT -5. The time now is 05:05 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration