Commit Graph

17 Commits

Author SHA1 Message Date
Arnout Engelen
d7497c1ebf As a last resort, match packets to processes when only the local part matches
Helps for applications with many short-lived connections (such as bittorrent)
and is correct except for exotic use cases anyway
2013-05-12 18:17:59 +00:00
Arnout Engelen
31b254e719 Use C++-style headers where available 2013-05-12 12:34:29 +00:00
Arnout Engelen
4ff973bbd7 make a 'runtests' make target that runs some 'unit test'-like tests. Fix crash when uid's without a password entry are encountered, return the uid as a string instead. 2012-03-15 22:31:28 +00:00
Arnout Engelen
d7476faae1 Add proper license header and COPYING file with the GPLv2 text 2011-08-28 17:22:52 +00:00
Arnout Engelen
3d6ac8bdd3 remove ROBUST, this is taken care of by NDEBUG (thanks to Petr Uzel) 2008-12-31 15:52:26 +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
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
501954c7c1 preliminary support for cumulative measurements 2006-11-04 18:56:08 +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
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
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
0518d27924 several code fixes and cleanups, revival of the 'unknown' process 2004-08-30 15:54:11 +00:00
Arnout Engelen
3b5ac96754 various cleanups 2004-08-30 14:29:18 +00:00
Arnout Engelen
be624683f0 Initial import. 2004-06-29 13:31:04 +00:00