Networking Forums

Networking Forums > Computer Networking > Linux Networking > apache's TCPmon/tcpdump-like utility ...

Reply
Thread Tools Display Modes

apache's TCPmon/tcpdump-like utility ...

 
 
jweinberg1975@yahoo.com
Guest
Posts: n/a

 
      03-28-2006, 11:19 AM
Is there anything out there like apache's TCPmon(itor) but written in C or
CPP (not Java)?
..
or how customizable would the utility tcpdump be so that it works
similarly?
..
Basically, you would set a tcpdump-like utility to:
..
1._ only listen to certain ports
2._ only to certain protocols within these (1.) ports otherwise would not
forward the request and only log it as a protocol anomaly/probable security
issue, including the payload in those cases
3._ for messages that have passed 1. and 2. only sniff the request headers
in and the response headers out
..
Can you compile tcpdump with options to just do that so that the resulting
executable should be very small?
..
it would be just a proxy sniffing the headers not the data payload.
..
Thnaks
jw
 
Reply With Quote
 
 
 
 
king
Guest
Posts: n/a

 
      03-28-2006, 04:16 PM
I am not a clever one. But you are using Linux that can finish your job
by coworking of small program together -- grep. In addition, it is
multiuser, multi-tasking OS. Two tcpdump can run without affecting each
others. Good luck
 
Reply With Quote
 
raxip
Guest
Posts: n/a

 
      03-28-2006, 05:46 PM
(E-Mail Removed) wrote:
> Is there anything out there like apache's TCPmon(itor) but written in C or
> CPP (not Java)?
> .
> or how customizable would the utility tcpdump be so that it works
> similarly?
> .


tcpdump was not designed or intended to be a proxy/packet relaying
program. It is simply a command line packing sniffing utility.

 
Reply With Quote
 
 
 
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
bridge and tcpdump RicK_Murphy Linux Networking 2 09-24-2008 07:29 AM
tcpdump and http RicK_Murphy Linux Networking 3 09-17-2008 03:47 PM
tcpdump Dan N Linux Networking 1 05-03-2006 10:43 AM
tcpdump and scripting Matt Linux Networking 1 05-28-2005 10:50 PM
tcpdump lekkie.aydot@gmail.com Linux Networking 1 05-20-2005 07:16 AM



1 2 3 4 5 6 7 8 9 10 11