Commit Graph

167 Commits

Author SHA1 Message Date
Arnout Engelen
cddd1d2e6c eclipse .project and eclipse CDT .cproject files 2008-12-31 15:25:57 +00:00
Arnout Engelen
c9e65eb4b1 More Makefile improvements by Petr Uzel: installing to /sbin, adding
conninode and removing some trailing whitespace.
2008-12-07 21:53:15 +00:00
Arnout Engelen
c51a014b4f Improved 'make install' due to Petr Uzel 2008-12-06 11:39:12 +00:00
Arnout Engelen
7b54891553 remove some unneccessary checks - thanks to Petr Uzel 2008-12-06 11:36:03 +00:00
Arnout Engelen
218e117731 missing include, thanks to Petr Uzel for noticing 2008-12-06 11:28:29 +00:00
Arnout Engelen
0820314477 nicely separate conn2inode stuff into its own file 2008-06-24 20:15:45 +00:00
Arnout Engelen
76afed26b7 bugtracking mode, performance improvement by earlier caching of inode2pid data 2008-06-24 20:01:10 +00:00
Arnout Engelen
eca73fa735 gcc 4.3 compatibility (due to Leslie P. Polzer - skypher) 2008-06-10 21:47:30 +00:00
Arnout Engelen
502a208dca neater manpage, extra #include, thanks to Bart again 2008-06-08 21:29:05 +00:00
Arnout Engelen
384581c9a9 Some fixes thanks to Bart Mertens (nethogs Debian maintainer) 2008-06-08 21:24:30 +00:00
Arnout Engelen
1c776beb68 log an error when failing to go into nonblocking mode 2008-06-08 21:03:50 +00:00
Arnout Engelen
b8cbc9b6f5 some small changes to get nethogs into a more releaseable state again 2008-06-08 20:49:49 +00:00
Arnout Engelen
c0e6a385e4 sums, not eating 100% cpu :) 2006-12-19 20:35:33 +00:00
Arnout Engelen
06bd2d4a25 added decpcap test file 2006-11-04 20:42:04 +00:00
Arnout Engelen
0f63c7e68c brought ppp support a step closer 2006-11-04 20:41:30 +00:00
Arnout Engelen
501954c7c1 preliminary support for cumulative measurements 2006-11-04 18:56:08 +00:00
Arnout Engelen
90577e8be5 ongebruikte files weghalen 2006-11-04 18:42:28 +00:00
Arnout Engelen
7fbbe70e0c it's said libpcap will yield IP packets directly, without encapsulating PPP packets, when sniffing a PPP interface.
blindly adding handling code for that...
2006-11-04 16:59:44 +00:00
Arnout Engelen
4a866021fc error reporting, removal of stale files, removed warning 2006-11-04 15:43:55 +00:00
Arnout Engelen
6539bd8f2d Update to manpage contributed by Shiju P. Nair - thanks! 2006-04-10 20:36:21 +00:00
Arnout Engelen
501a379af5 add tracing to getLocal 2006-02-05 17:24:19 +00:00
Arnout Engelen
a04db4b338 make makefile more flexible 2006-01-01 10:04:37 +00:00
Arnout Engelen
389ff8af09 bump version number 2005-08-27 14:53:25 +00:00
Arnout Engelen
0833e88cf8 fix release compile flags 2005-08-27 14:52:58 +00:00
Arnout Engelen
e90b0906e7 removed some old files, small updates 2005-08-27 14:52:22 +00:00
Arnout Engelen
4182fc0b17 * when a packet's owner cannot be found (for example if it has already disappeared,
which can happen with for example small fast HTTP requests), show the source and
  destination ports and ip's
* support UDP packets (which never have owners)
* nicely truncate oversized program names
2005-08-27 11:49:16 +00:00
Arnout Engelen
c4ac4e55eb added README.decpcap.txt 2005-07-24 16:14:51 +00:00
Arnout Engelen
91d30576d2 improved some comments 2005-04-03 09:49:34 +00:00
Arnout Engelen
c66bc829ea varia. now correctly sniffs in non-blocking mode (essential for multi-interface
sniffing), while requires at least libpcap 0.8
2005-04-03 09:31:26 +00:00
Arnout Engelen
a142648f45 Fixed memory leaks 2005-01-15 15:03:20 +00:00
Arnout Engelen
4ce9f4fb1f removed netstat's inodeproc 2005-01-15 12:31:03 +00:00
Arnout Engelen
f81fea0805 added hand-coded inode-to-process mapping 2005-01-15 12:29:49 +00:00
Arnout Engelen
4a3a21a5df * Use std::map instead of hand-written hashtable
* Use handwritten inode-to-process-mapping instead of the
  one taken from netstat
* Use a #define for using assertions
2005-01-15 12:28:35 +00:00
Arnout Engelen
2eae80fd74 fixes 2004-09-18 12:25:53 +00:00
Arnout Engelen
1c374b26c3 use default gcc 2004-09-17 23:32:19 +00:00
Arnout Engelen
efb6667488 debugcode 2004-09-17 23:31:56 +00:00
Arnout Engelen
08f83c4435 last touch before 0.6 release 2004-09-17 20:09:35 +00:00
Arnout Engelen
389238c51a make it compile with g++ 3.0 also 2004-09-17 19:40:45 +00:00
Arnout Engelen
498a3df635 console interface files 2004-09-17 19:23:20 +00:00
Arnout Engelen
45e3157f67 cleanups 2004-09-17 19:22:17 +00:00
Arnout Engelen
cd3fce3e54 hunting memory management bug 2004-09-15 12:49:05 +00:00
Arnout Engelen
fc333df257 cleanups. mainly memory leak fixes 2004-09-14 19:24:01 +00:00
Arnout Engelen
cf2f473cd1 several bugfixes, including some memory management 2004-09-14 16:14:23 +00:00
Arnout Engelen
a695b7db2a fixed some bugs, cleaned a lot of code,
re-added support for PPP
automatic detection of link-layer protocol
2004-09-14 11:23:59 +00:00
Arnout Engelen
23a56f95a6 added decpcap.c and decpcap.h code 2004-09-11 15:01:28 +00:00
Arnout Engelen
8cbf4f04cc Much cleaner code for dissecting the packets.
known issue: after a while, it seems to 'forget' a connection
belonged to a process and starts adding the traffic to the unknown
process.
2004-09-11 15:00:54 +00:00
Arnout Engelen
9d19d7fd49 'aliases' for interfaces. A packet with destination on eth0 may enter at
eth1.
2004-09-10 10:46:31 +00:00
Arnout Engelen
69423478b7 clean 2004-09-02 16:19:23 +00:00
Arnout Engelen
3124cff523 actually enabled -f flag :) 2004-09-02 16:12:09 +00:00
Arnout Engelen
8697bf01a1 wild stab at supporting PPP ('Linux cooked capture') packets.. 2004-09-02 16:10:25 +00:00