Created
April 23, 2014 19:10
-
-
Save bjcubsfan/11228565 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This script creates a subprocess, frame_retriever, to | |
read WAAS network traffic from an interface or a file. | |
frameRetriever.py places all WAAS frames received into a queue. | |
The frames are then sent to a hopper via 0MQ. | |
Usage: | |
packet_harvester.py [-h] [-v] [-i INPUT] [--clipping MAX_BYTES] | |
[--limit LIMIT] [--not-ubuntu] [--throttle] | |
[--hopper ADDR] [--list_interfaces] | |
Options: | |
-h, --help Show this help message and exit | |
-v, --version Show version and exit | |
-l, --list_interfaces List available interfaces and exit | |
--input INPUT, -i INPUT Specify file, directory, or interface to read | |
Ethernet frames from. | |
--clipping MAX_BYTES, -c MAX_BYTES Capture partial frames. Use this option to | |
specify max bytes per frame desired. | |
--limit LIMIT limit the number of frames processed (used for | |
development). [default: 0] | |
--not-ubuntu Use pycap from the parent project | |
http://code.google.com/p/pypcap/ | |
--throttle Hack! Slows the rate at which frames are read | |
in to allow graphite backfills. [default: 0.001] | |
--hopper ADDR Specify server:port where the hopper presides. | |
[default: localhost:50100] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment