Michael Stapelberg
7d278289f0
captured: directly call NextPacket() to prevent hanging reads
...
Using Packets() spawns off a separate goroutine which calls NextPacket in a loop
until io.EOF is returned. This goroutine will stick around after Close()
returned, resulting in only the first wireshark connection working.
2018-10-23 09:56:07 +02:00
Michael Stapelberg
ea4ffa7bec
OpenEthernet → NewEthernetHandle, remove kludge
2018-09-07 00:50:41 +02:00
Michael Stapelberg
b347ed74c5
update import paths
2018-07-09 08:54:04 +02:00
Michael Stapelberg
ff7aa8f2cb
add copyright notices
2018-06-28 20:08:23 +02:00
Michael Stapelberg
2b3cf0bf61
captured: use multilisten
2018-06-28 20:08:23 +02:00
Michael Stapelberg
60de127991
Describe all packages and binaries.
2018-06-25 20:12:51 +02:00
Michael Stapelberg
57564e15d0
captured: increase ring buffer
...
5000 packets translated to just about 2 hours, which is not long enough.
2018-06-24 11:52:07 +02:00
Michael Stapelberg
bb6b901b90
captured: implement a packet ring buffer
...
So that when you connect with Wireshark, you’ll see the most recent
packets (takes up to 7 MB of RAM).
2018-06-17 17:47:26 +02:00
Michael Stapelberg
2c302d976d
captured: plug goroutine leak from closed SSH connections
2018-06-17 16:49:37 +02:00
Michael Stapelberg
bb563e0798
add captured: sends packets to Wireshark SSH remote capture
...
Just point your wireshark to 10.0.0.1:5022.
2018-06-17 15:19:49 +02:00