Matthias Radestock
9dd15f4abf
use dst address as source of icmp 3.4, instead of router address
...
For some reason, packets injected with a src ip that isn't in the
sub-net of the dst ip get dropped.
fixes #1
2014-08-20 09:43:59 +01:00
Matthias Radestock
1ef941e77e
capture and inject on the same pcap handle
...
...since there's no need to have separate handles
Also, make router.Start() perform all startup, including starting a
sniffer goroutine. The main goroutine is now kept alive by the signal
handling loop.
2014-08-19 15:47:09 +01:00
Matthias Radestock
b4635bc7ff
refactor: don't pass around router.Ourself
2014-08-19 15:27:57 +01:00
Matthias Radestock
31166023b2
rename interface
2014-08-19 11:55:15 +01:00
Matthias Radestock
f762783fd9
fix the first octet of the generated MAC
...
so we don't accidentally create multi-cast addresses, or addresses
that claim to be vendor-assigned
2014-08-19 11:18:27 +01:00
Matthias Radestock
d5982aa4f9
update docs to reflect that image is now on docker hub
2014-08-18 19:33:22 +01:00
Matthias Radestock
aeef0d7343
git-ignore compile output
2014-08-18 18:02:28 +01:00
Matthias Radestock
e6feefa1fc
initial commit
2014-08-18 17:55:26 +01:00