Arnout Engelen
e4290a0d7b
fix warning - errbuf is not const at all
2012-03-15 22:48:30 +00:00
Arnout Engelen
4e9d29f923
allow large values for 'pid'
2012-03-15 22:45:16 +00:00
Arnout Engelen
1224ffeecc
use CXXFLAGS, use LDFLAGS, fix DESTDIR
2012-03-15 22:42: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
2c04ca9267
Use negative return values on errors
2012-03-15 20:53:25 +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
dd3404ad71
previous change was only initial support, not finished work
2011-08-28 17:00:06 +00:00
Arnout Engelen
32b9a804a2
next version is 0.8.1-SNAPSHOT
2011-08-27 14:07:34 +00:00
Arnout Engelen
210c2a3740
keep CVS directory out of tgz
2011-08-27 13:38:54 +00:00
Arnout Engelen
07f7c38f00
Show '?' as PID when the PID could not be determined, instead of '0'.
...
https://answers.launchpad.net/ubuntu/+source/nethogs/+question/113880
2011-08-27 13:26:52 +00:00
Arnout Engelen
807ba06391
version 0.8.0
2011-08-27 13:21:21 +00:00
Arnout Engelen
c92f4b8e0a
ignore executables
2011-08-27 11:35:31 +00:00
Arnout Engelen
ff8151fe96
some 'const' specifications, putting the code to determine the default device
...
in its own file
2011-07-12 21:53:54 +00:00
Arnout Engelen
a50b249438
support wider terminals (thanks to Shock at https://bugs.launchpad.net/ubuntu/+source/nethogs/+bug/627626 )
2010-08-31 21:17:16 +00:00
Arnout Engelen
3888c15784
Document keys for switching display modes and sorting on 'sent' or 'received'
...
numbers - thanks to Bobly for the trigger
2010-04-04 15:36:59 +00:00
Arnout Engelen
3e96194c70
Added include for gcc 4.4 as suggested by
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526208
2009-04-30 08:13:36 +00:00
Arnout Engelen
e6dee5232f
sbin instead of bin :S
2009-03-31 18:43:18 +00:00
Arnout Engelen
1ee47c9aaf
include limits.h
2009-03-12 23:08:09 +00:00
Arnout Engelen
0072311911
use getopt (thanks to Petr Uzel)
2008-12-31 16:44:02 +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
8b7a51c57d
do not free 'getpwuid' result (thanks to Petr Uzel)
2008-12-31 15:44:32 +00:00
Arnout Engelen
22a28e973e
make 'forceexit' more fprintf-like, better error message when ioctl fails.
2008-12-31 15:40:48 +00:00
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