LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2008, 01:21 AM   #1
lonelyfloyd
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
Question Analysing ethereal output using a C program


Im workin on a Host-based IDS
so to comapare with attack signatures i need to store the etereal output and comapre it to a mysql database .How can i do this? .. any tips??
I vil appreicate very much if u ppl can reply

Thanks
FLoyd
 
Old 04-04-2008, 01:28 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Presumably by "Ethereal output" you have a binary file produced after running Ethereal, in which case you can use libpcap. You should have it on your system, but you'll probably want to read documentation. "man pcap" will give you info too.
 
Old 04-04-2008, 05:59 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Looking at the sourcecode for Snort should give you ideas as well.
 
Old 04-05-2008, 12:07 PM   #4
lonelyfloyd
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks guys for da valuable suggestions . I really appreciate , if u ppl hav any info regardin this pleez share .thanks again
 
  


Reply

Tags
files


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
transfers between LAN machines is slow - I've got ethereal output! akshunj Linux - Networking 10 09-16-2006 12:18 AM
Tk: Storing Output of Program Kenji Miyamoto Programming 4 06-25-2005 01:57 AM
Need help analysing lspci output benjaminrtz Linux - Newbie 1 03-16-2005 03:54 PM
reading ethereal output... pAn1k Linux - Networking 6 11-19-2004 03:26 PM
C function to execute a program and return the output of the program ryan.n Programming 4 08-14-2004 10:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration