tcpdump mailing list archives

listing all devs


From: "Gisle Vanem" <giva () bgnett no>
Date: Sun, 11 May 2003 22:20:04 +0200

The syntax of the tcpdump '-D' should IMHO be changed and
merged into the '-i' option. Especially considering the introduction
of remote and file capture in WinPcap 3.0. We should agree on a
uniform syntax. How about:
 List all local devices:     tcpdump -i?
 List all remote devices:  tcpdump -i rpcap://remotehost/?
 List all capture files in dir: tcpdump -i file://dir/?
 List all capture files in dir: tcpdump -r dir/?

Thus we need some new libpcap functions. pcap_findall_captures()
and pcap_findall_remote_devs() ?? Should be pretty easy to support
this in the rpcap daemon.

BTW. There must be a bug somewhere in the Win32 port:
windump -i1
windump.exe: listening on \Device\NPF_{93380695-0E31-456C-9EB0-8802E111C09D}blue►

windump
windump.exe: listening on \Device\NPF_{93380695-0E31-456C-9EB0-8802E111C09D}

Some trailing "blue.." in the first example.

--gv



-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: