r12: 0x00000004, sp : 0x0775fcec, lr : 0x079de7e4 Stack dump:
5da89306 c33613f4 c330cfc5 04411507 45515a49 86619f8b c0db0a81
4e395861 cb25b796 e3108934 932766c5 4dcff9e9 711c3463 b9cd5d1e
52149961 9324dea3 d340dc25 15458610 63582ded 689a0c54 dfb43131
02c7d971 a0ebb72c bfaae832 db216923 08ba693b 95e4de97 98d121a2
'
'
Although
dconsole
output may be difficult to interpret by the administrator, it can be emailed to
D-Link support representatives for further investigation.
The
dconsole
command supersedes the
crashdump
command found in earlier versions of
NetDefendOS.
Dconsole can also be run in the Web Interface by going to:
Status > Maintenance > Diagnostic Console
Selecting this option runs
dconsole
automatically and the output is immediately displayed in a
text box. The contents of the text box can be copied and pasted into an email for review by
support personnel. Pressing the Refresh button will run
dconsole
again and display the new
output in the text box.
2.6.6. The pcapdump Command
A valuable diagnostic tool is the ability to examine the packets that enter and leave the
interfaces of a NetDefend Firewall. For this purpose, NetDefendOS provides the CLI command
pcapdump
which not only allows the examination of packet streams entering and leaving
interfaces but also allows the filtering of these streams according to specified criteria. Only the
pcapdump
CLI command usage is described in this section but its functions are also duplicated in
the Web Interface.
The packets that are filtered out by
pcapdump
can then be saved in a file of type
.cap
which is the
defacto
libpcap
library file format standard for packet capture.
The complete syntax of the
pcapdump
CLI command is described in the
CLI Reference Guide
.
A Simple Example
An example of
pcapdump
usage is the following sequence:
gw-world:/> pcapdump -size 1024 -start lan
gw-world:/> pcapdump -stop lan
gw-world:/> pcapdump -show
gw-world:/> pcapdump -write lan -filename=cap_lan.cap
gw-world:/> pcapdump -cleanup
Going through this line by line we have:
1. Recording is started for the
lan
interface using a buffer size of 1024 Kbytes.
gw-world:/> pcapdump -size 1024 -start lan
2. The recording is stopped for the
lan
interface.
gw-world:/> pcapdump -stop lan
3. The dump output is displayed on the console in a summarized form.
gw-world:/> pcapdump -show
4. The same information is written in its complete form to a file called
cap_lan.cap
.
Chapter 2: Management and Maintenance
126
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...