-
Notifications
You must be signed in to change notification settings - Fork 3
QuickStart
Andy Malakov edited this page Nov 13, 2013
·
36 revisions
Download and install libpcap. Windows users should install winpcap.
###Ant users Build using Apache Ant:
cd fix-latency-meter
ant build
###Maven users
TODO
If your computer has multiple network adapters or VPN software, you need to obtain a list of network interfaces. Run bin\live-traffic.cmd
without arguments:
cd bin
live-traffic
You will see an output like:
Network devices found:
#0: \Device\NPF_{0093D9BE-190D-4B59-BF8F-D9CE04004DBE} [Marvell Yukon Ethernet Controller.]
#1: \Device\NPF_{BC81C4FC-242F-4F1C-9DAD-EA9523CC992D} [Intel(R) PRO/100 VE Network Connection (Microsoft's Packet Scheduler) ]
You will need interface ID (zero-based index of adapter in the above list) to setup live capture.
Command line arguments:
- Interface to monitor traffic on (let's use interface #0).
- Source port number for inbound traffic (2509).
- FIX Tag value containing correlation ID in inbound messages (We specified tag QuoteEntryID(299)).
- Destination port number for outbound traffic (2508).
- FIX Tag value containing correlation ID in outbound messages (We specified tag QuoteID(117)).
- Capture filter
- Optional parameter specifying CSV file to produce
live-traffic 0 2509 299 2508 117 "(tcp src port 2509) or (tcp dst port 2508)" latency.csv