Commit graph

2 commits

Author SHA1 Message Date
40aeeb4fe3 Sequence is an unsigned integer 2012-12-05 08:10:17 +01:00
66a5b4866a netbeacon - network capture monitoring
netbeacon is a small free software to send beacon over the network
to test the following properties of your network capture (e.g. for
your honeypot network data capture, your data interception device,
your NIDS, ...):

 - Checking how long it takes for a packet to reach your monitoring.
 - Checking time inconsistencies between devices.
 - Checking missing packets or its ordering.

The netbeacon format is a simple ASCII format encapsulated in an UDP
packet. The format is the following:

header;epoch;sequence;hmac

The current header is nb
The epoch value (in UTC format)
The sequence an unsigned integer
and the HMAC-SHA1 signature.

A private shared key (PSK) is agreed between the netbeacon sender
and netbeacon recipient to ensure packet integrity using HMAC (SHA1).

As a test, you can directly send the debug output from nb_send.py to
nb_verify.py to verify your netbeacons.

 python nb_send.py | python nb_verify.py
 4aa846f627ae7f92991622e9a0199fbbdb71e48d
 valid signature for nb;1354690456;1;
 Time delay 0.0
 8b7ec2d5bb5e0644f2ba7f9842797296171e20e1
 valid signature for nb;1354690456;2;
2012-12-05 08:06:50 +01:00