Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-IDS
[Top] [All Lists]

[Snort-users] Re: Snort and Mysql for statistics purposes

Subject: [Snort-users] Re: Snort and Mysql for statistics purposes
Date: Thu, 10 Mar 2005 04:19:57 +0000

Hi all,

It's my first query to a group, i am intended to make a data analysis interface using PHP and MySql and i am stuck at a point i.e how to fetch top 10 records e.g. top 10 source IPs or top 10 Destination ports from mysql database. Can any one please help in this regard, any Mysql commands or something...?

Regards

Omar 

>From: sushant@umich.edu >To: David Jiminez Dommnguez <djdsecurity@gmail.com> >CC: snort-users@lists.sourceforge.net, honeypots@securityfocus.com,focus-ids@securityfocus.com >Subject: Re: Snort and Mysql for statistics purposes >Date: Wed, 9 Mar 2005 08:53:46 -0500 >MIME-Version: 1.0 >X-Originating-IP: 68.40.48.74 >Received: from [205.206.231.26] ([205.206.231.26]) by mc10-f13.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Mar 2005 06:21:54 -0800 >Received: from no.name.available by [205.206.231.26] via smtpd (for [65.54.166.230] [65.54.166.230]) with ESMTP; Wed, 9 Mar 2005 06:22:02 -0800 >Received: from lists.securityfocus.com (lists.securityfocus.com [205.206.231.19])by outgoing2.securityfocus.com (Postfix) with SMTP id BA446160961for <chit0z@hotmail.com>; Wed, 9 Mar 2005 07:11:36 -0700 (MST) >Received: (qmail 20335 invoked by alias); 9 Mar 2005 14:37:46 -0000 >Received: (qmail 14396 invoked from network); 9 Mar 2005 14:10:05 -0000 >X-Message-Info: JGTYoYF78jGFFV1qsmGqmdPXbfSdrgjwFGM4X0g561k= >Mailing-List: contact honeypots-help@securityfocus.com; run by ezmlm >Precedence: bulk >X-No-Archive: yes >List-Id: <honeypots.list-id.securityfocus.com> >List-Post: <mailto:honeypots@securityfocus.com> >List-Help: <mailto:honeypots-help@securityfocus.com> >List-Unsubscribe: <mailto:honeypots-unsubscribe@securityfocus.com> >List-Subscribe: <mailto:honeypots-subscribe@securityfocus.com> >Delivered-To: mailing list honeypots@securityfocus.com >Delivered-To: moderator for honeypots@securityfocus.com >References: <96ddee4f0503081605765dfb98@mail.gmail.com> >User-Agent: Internet Messaging Program (IMP) 3.2.7 >X-IMP-Server: 141.211.144.104 >X-Originating-User: sushant >X-Spam-Checker-Version: SpamAssassin 3.0.0-r20550 (2004-05-28) on mail.securityfocus.com >X-Spam-Status: No, score=1.3 required=5.0 tests=NO_REAL_NAME,SPF_HELO_FAIL autolearn=no version=3.0.0-r20550 >X-Spam-Level: * >Return-Path: honeypots-return-3193-chit0z=hotmail.com@securityfocus.com >X-OriginalArrivalTime: 09 Mar 2005 14:21:55.0021 (UTC) FILETIME=[585DB7D0:01C524B3] > >I have used PHP with jpgraph to get real time threat graphs. PHP is very easy to >use with MYSQL and jpgraph is a good graphic tool. >-Sushant. >Quoting David Jiminez Dommnguez <djdsecurity@gmail.com>: > > > Hi folks! > > > > I need to graph all the traffic in my network (Top ports, Top src_ip, > > Top attacks) each 5 minutes...In the DataServer I have intalled Mysql > > and in the firewall I have installed snort-2.3.0 and I created just 4 > > rules to get all the tcp,udp,icmp and ip traffic in order to graph it > > with perl and rrdtool and post it in a web page.... > > > > Do you think it is the best way to do that??? > > Have your ever done something like that?? What tools do you recommend me?? > > > > Regards > > > > DJ > > -------------------------------------------------- > > > > > > > >



The new, more precise and more powerful MSN Search is here! Take a tour today. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
<Prev in Thread] Current Thread [Next in Thread>