gw-world:/> pcapdump -write lan -filename=cap_lan.cap
At this point, the file
cap_lan.cap
should be downloaded to the management workstation for
analysis.
5. A final cleanup is performed and all memory taken is released.
gw-world:/> pcapdump -cleanup
Re-using Capture Files
Since the only way to delete files from the NetDefend Firewall is through the local console, the
recommendation is to always use the same filename when using the pcapdump
-write
option.
Each new write operation will then overwrite the old file.
Running on Multiple Interfaces
It is possible to have multiple
pcapdump
executions being performed at the same time. The
following points describe this feature:
1.
All capture from all executions goes to the same memory buffer.
The command can be launched multiple times with different interfaces specified. In this
case the packet flow for the different executions will be grouped together in different
sections of the report.
If a clearer picture of packets flowing between interfaces is required in the output then it is
best to issue one
pcapdump
command with the interfaces of interest specified.
2.
If no interface is specified then the capture is done on all interfaces.
3.
The
-stop
option without an interface specified will halt capture on all interfaces.
4.
pcapdump
prevents capture running more than once on the same interface by detecting
command duplication.
Filter Expressions
Seeing all packets passing through a particular interface often provides an excess of information
to be useful. To focus on particular types of traffic the
pcapdump
command has the option to add
a
filter expression
which has one of the following forms:
-eth=<macaddr>
- Filter on source or destination MAC address.
-ethsrc=<macaddr>
- Filter on source MAC address.
-ethdest=<macaddr>
- Filter on destination MAC address.
-ip=<ipaddr>
- Filter source or destination IP address.
-ipsrc=<ipaddr>
- Filter on source IP address.
-ipdest=<ipaddr>
- Filter on destination IP address.
-port=<portnum>
- Filter on source or destination port number.
-srcport=<portnum>
- Filter on source port number.
-destport=<portnum>
- Filter on destination port number.
-proto=<id>
- Filter on protocol where id is the decimal protocol id.
-<protocolname>
- Instead of using
-proto=
, the protocol name alone can be specified and can be
one of
-tcp
,
-udp
or
-icmp
.
Chapter 2: Management and Maintenance
127
Содержание NetDefendOS
Страница 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Страница 32: ...Chapter 1 NetDefendOS Overview 32 ...
Страница 144: ...Chapter 2 Management and Maintenance 144 ...
Страница 220: ... Enable DHCP passthrough Enable L2 passthrough for non IP protocols 4 Click OK Chapter 3 Fundamentals 220 ...
Страница 267: ... SourceNetwork lannet DestinationInterface any DestinationNetwork all nets 4 Click OK Chapter 3 Fundamentals 267 ...
Страница 284: ...Chapter 3 Fundamentals 284 ...
Страница 360: ...The ospf command options are fully described in the separate NetDefendOS CLI Reference Guide Chapter 4 Routing 360 ...
Страница 392: ...Chapter 4 Routing 392 ...
Страница 396: ...Web Interface 1 Go to Network Ethernet If1 2 Select Enable DHCP 3 Click OK Chapter 5 DHCP Services 396 ...
Страница 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Страница 420: ...Chapter 5 DHCP Services 420 ...
Страница 424: ...2 Now enter Name lan_Access Action Expect Interface lan Network lannet 3 Click OK Chapter 6 Security Mechanisms 424 ...
Страница 573: ...Chapter 6 Security Mechanisms 573 ...
Страница 575: ...This section describes and provides examples of configuring NAT and SAT rules Chapter 7 Address Translation 575 ...
Страница 607: ...Chapter 7 Address Translation 607 ...
Страница 666: ...Chapter 8 User Authentication 666 ...
Страница 775: ...Chapter 9 VPN 775 ...
Страница 819: ...Chapter 10 Traffic Management 819 ...
Страница 842: ...Chapter 11 High Availability 842 ...
Страница 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Страница 879: ...Chapter 13 Advanced Settings 879 ...