
Application Discovery Manager Administration Guide
54 VMware, Inc.
Similartotcpdump,youcanusenlcapturetofilteranexistingcapturefileandtransformittoanew,filtered
file.Seeusagebelow.
Location
/home/nlayers/Seneca/tools/nlcapture.pl
Usage
Runningnlcaptureonthecommandlineyields:
nlcapture.pl tcpdump options [-R ethereal display filter string]
Forexample:
Tolistenoneth1andcaptureallHTTPandICMPpacketsintothefilebla.dump:
nlcapture.pl -i eth1 -R "http||icmp" -w myoutput.dump
Asexplainedearlier, nlcapturesupportsallcommontcpdumpparameterssuchas‐i.Additionally,it
supportsthe-Rparametertofilteronthenetworkprotocoloraccordingtothevalueofspecificprotocolfields.
Protocolnamesarewritteninlowercase.ThefollowingURLprovidesdetailsonthefiltersthatyoucanuse:
http://www.ethereal.com/docs/man‐pages/ethereal‐filter.4.html
Thefiltersofnlcaptureutilityaredifferentfromthetcpdumpfilters.Theyareeasiertouseandunderstand.
Comentários a estes Manuais