Skip to content

Commit

Permalink
Merge pull request the-tcpdump-group#7 from sfd/aa0d1466731bae42b5f84…
Browse files Browse the repository at this point in the history
…dd001e61fd99cbe455b

README.dag update
  • Loading branch information
mcr committed Jun 14, 2012
2 parents fffa60a + aa0d146 commit ceb24a9
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.dag
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -96,12 +96,20 @@ implemented.
DAG cards by default capture entire packets including the L2 DAG cards by default capture entire packets including the L2
CRC/FCS. If the card is not configured to discard the CRC/FCS, this CRC/FCS. If the card is not configured to discard the CRC/FCS, this
can confuse applications that use libpcap if they're not prepared for can confuse applications that use libpcap if they're not prepared for
packets to have an FCS. Libpcap now reads the environment variable packets to have an FCS.
ERF_FCS_BITS to determine how many bits of CRC/FCS to strip from the
end of the captured frame. This defaults to 32 for use with Libpcap now reads the environment variable ERF_FCS_BITS to determine
Ethernet. If the card is configured to strip the CRC/FCS, then set how many bits of CRC/FCS to strip from the end of the captured
ERF_FCS_BITS=0. If used with a HDLC/PoS/PPP/Frame Relay link with 16 frame. This defaults to 32 for use with Ethernet. If the card is
bit CRC/FCS, then set ERF_FCS_BITS=16. configured to strip the CRC/FCS, then set ERF_FCS_BITS=0. If used with
a HDLC/PoS/PPP/Frame Relay link with 16 bit CRC/FCS, then set
ERF_FCS_BITS=16.

If you wish to create a pcap file that DOES contain the Ethernet FCS,
specify the environment variable ERF_DONT_STRIP_FCS. This will cause
the existing FCS to be captured into the pcap file. Note some
applications may incorrectly report capture errors or oversize packets
when reading these files.


---------------------------------------------------------------------- ----------------------------------------------------------------------


Expand Down

0 comments on commit ceb24a9

Please sign in to comment.