tcpdump mailing list archives

Re: Running TCPDUMP over a web interface


From: Tek Bahadur Limbu <teklimbu () gmail com>
Date: Sat, 17 Sep 2011 14:39:06 +0545

Hi Guy Harris,

Thank you for the reply.

My goal is to have a web interface and capture traffic and print in on
the screen live but only when a certain command string is supplied.
As stated, I need that web interface to be run over a Linux bridge box.

For the time being, I only need this web tool to run the traffic dump
over the br0 interface of that bridge with something like the
following options:

 tcpdump -enn -i br0 vlan 999

Can you provide further information about how we can go about
implementing this setup?


Thanks,

Tek Bahadur Limbu




On Sat, Sep 10, 2011 at 4:44 AM, Guy Harris <guy () alum mit edu> wrote:

On Aug 14, 2011, at 6:51 AM, Tek Bahadur Limbu wrote:

I need to run TCPDUMP on a Linux bridge with multiple network interfaces.
However, instead of using a shell, I need to run it over a web interface.

Tcpdump can do a number of things - it can capture traffic and dissect and print it, or it can capture it and save it 
into a pcap file for later analysis with tcpdump or other tools.

Which of those do you want to do?  Run it over a Web interface and watch the display update with a display of 
dissected packets, run it over a Web interface writing to a pcap file and, after you stop the capture, download the 
pcap file, or both?  (The second of those would probably be easier to do than the first of those.)-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: