skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: BAG (Continuous Round Robin Packet Capture)

Software ·
DOI:https://doi.org/10.11578/dc.20210521.10· OSTI ID:1230894 · Code ID:56921

Bag is a miniature pcap filter which takes pcap input (or input off the wire) using a bpf filter, if specified, and then writes the output to stdout or a file (in pcap format). It depends for some aspects of its functionality on a libpcap library which uses a shared memory packet capture ring bugger. There are two build in modules: chcksum and session. the build in chcksum modules is used to anonymize the ip addresses and repair any checksums in the stream. % bag -r /tmp/*.pcap -Cchucksum, 128.1 65: 10.10 The session module generates sessions which are defined as a series of packets that have two things in common. the first is a unique five-tuple composed oi an IP protocol, IP source address, IP source port, IP destination address, and IP destination port. The second is that if the originating packet is associated with a bi-directional service such as ftpltcp, characteristics and data will be kept for both flows involved with the service. The only protocols evaluated beyond the IP header are ICMP, TCP and UDP. A session can last for as long as bag is running. However, under normal conditions, sessions are generated every time they appear to have closed down. There is a man page included with the distribution which goes into more detail.

Short Name / Acronym:
BAG
Project Type:
Open Source, No Publicly Available Repository
Site Accession Number:
3930; LA-CC-05-049
Software Type:
Scientific
License(s):
Other
Research Organization:
Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
Sponsoring Organization:
USDOE

Primary Award/Contract Number:
W-7405-ENG-36
DOE Contract Number:
W-7405-ENG-36
Code ID:
56921
OSTI ID:
1230894
Country of Origin:
United States

Similar Records

GROK
Software · Fri Feb 24 00:00:00 EST 2006 · OSTI ID:1230894

Packet flow monitoring tool and method
Patent · Tue Jul 14 00:00:00 EDT 2009 · OSTI ID:1230894

inet
Software · Fri Mar 10 00:00:00 EST 2006 · OSTI ID:1230894

Related Subjects