This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Read directly from network device #13
Open
blipp
wants to merge
8
commits into
rsmmr:master
Choose a base branch
from
blipp:blipp-libpcap
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jul 17, 2015
-
pac-driver: Add switch -n to read from network device
Uses libpcap and hands each packet to the parser.
Configuration menu - View commit details
-
Copy full SHA for 0f5fe72 - Browse repository at this point
Copy the full SHA 0f5fe72View commit details -
pac-driver: Provide caplen to Hilti
Grammars often depend on the knowledge of the length of the content. This is especially the case for Ethernet packets. Thus, the modified pac-driver needs to provide this information to Hilti. The caplen provided by libpcap as uint32_t is added at the very beginning to the input of Hilti. In a grammar, this is the first data to be interpreted. By default, a grammar expects big endian; thus, caplen is converted accordingly.
Configuration menu - View commit details
-
Copy full SHA for c488d1e - Browse repository at this point
Copy the full SHA c488d1eView commit details
Commits on Jul 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 4a104e6 - Browse repository at this point
Copy the full SHA 4a104e6View commit details
Commits on Jul 29, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 2f14c4f - Browse repository at this point
Copy the full SHA 2f14c4fView commit details
Commits on Aug 3, 2015
-
pac-driver: Print only the packet's first bytes in debug output
Chosen such that it should only take up one line, this keeps the output clearer.
Configuration menu - View commit details
-
Copy full SHA for bd7dc1f - Browse repository at this point
Copy the full SHA bd7dc1fView commit details -
pac-driver: Add possibility to read pcap files
Add a new command line option -f. The file is read using libpcap. This shares a lot of code with listening on a network interface. The grammar networkinterface.pac2 was renamed to libpcap.pac2 because it is now used for both reading from pcap files and network devices. There is now an ambiguity with parsers/libpcap.pac2 and parsers/pcap.pac2, there should be a way to resolve this.
Configuration menu - View commit details
-
Copy full SHA for eae9e4a - Browse repository at this point
Copy the full SHA eae9e4aView commit details
Commits on Aug 21, 2015
-
Hand over timestamp of packet capture to the grammar
When using libpcap to read from a network interface or a pcap file, hand over the packet capture time and also the total length of the packet; not only the captured length. Currently, the timestamps are handled as being 64 bit. This has to be generalized to cover platforms where time_t and suseconds_t are 32 bit, as well.
Configuration menu - View commit details
-
Copy full SHA for a960422 - Browse repository at this point
Copy the full SHA a960422View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12da32b - Browse repository at this point
Copy the full SHA 12da32bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.