Re: [tcpdump-workers] Running TCPDUMP over a web interface

2011-09-17 Thread Tek Bahadur Limbu
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  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.


Re: [tcpdump-workers] Running TCPDUMP over a web interface

2011-09-17 Thread Guy Harris

On Sep 17, 2011, at 1:54 AM, Tek Bahadur Limbu wrote:

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

No, I can't, because this is more about setting up a Web server than it is 
about tcpdump, and I'm not at all familiar with how to set up any particular 
Web server to run a command that produces continuous text output and update a 
Web page as more output is generated.  You might want to ask in, for example, a 
list about Apache or whatever Web server will be running on the bridge box.-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.