Commit Graph

16 Commits

Author SHA1 Message Date
christos 5bf5a8b9c7 Treat EOF as a condition to re-open the pcap socket. Since we've been woken
up by poll(2), there must be data to read. If there is not, our socket might
not be ok anymore.
2017-10-16 11:18:43 +00:00
christos 531fc46210 Add a message when we are re-opening the pcap socket. 2017-10-16 11:17:45 +00:00
christos c06842d6f7 try to re-open the pcap connection on error. 2017-10-15 15:26:10 +00:00
christos 624bfdf064 can't call pcap_datalink before activate. 2017-03-25 11:00:27 +00:00
christos 043ad880a5 fix signed compare 2017-01-24 20:25:08 +00:00
christos ec23b4d29e output every 5 seconds instead of 60 or every 100 packets 2017-01-24 20:24:59 +00:00
wiz 33271d5eb0 Whitespace, fix xref, remove unnecessary macro, sort SEE ALSO. 2017-01-08 13:59:53 +00:00
christos b083914cc2 add example. 2017-01-07 18:48:47 +00:00
christos cec127882c add man page, lint cleanups. 2017-01-07 16:48:03 +00:00
christos 177e6c06dd restrict permissions on log file 2017-01-07 16:36:54 +00:00
christos 9ed7390988 Add log validation 2017-01-06 19:20:24 +00:00
christos 83809af30d set the timeout to 1 second so we can see packets flowing in real time. 2017-01-05 16:23:31 +00:00
christos d8571daf5b flesh this out more. 2016-12-30 19:55:46 +00:00
christos f069472cf9 starts running 2016-12-28 03:02:54 +00:00
christos 204834d4f3 Add some flesh. 2016-12-28 01:25:48 +00:00
rmind 61e84d3fc1 Add some very preliminary npfd(8) code. 2016-12-27 22:20:00 +00:00