Arnout Engelen
|
79b594e99c
|
Disable bughuntmode for tests
|
2016-03-27 22:19:57 +02:00 |
|
Arnout Engelen
|
f5692feb9e
|
Add diagnostic logging reading /proc/net/tcp
|
2016-03-27 22:14:17 +02:00 |
|
Arnout Engelen
|
286a1a8ad2
|
Some formatting
|
2016-03-27 21:48:25 +02:00 |
|
Arnout Engelen
|
1f26c3bd9e
|
Merge pull request #59 from raboof/testReadProcNetTcp
Introduce 'test' target, add /proc/net/tcp parsing to it
|
2016-03-27 21:47:32 +02:00 |
|
Arnout Engelen
|
e3f9f56740
|
Ignore conninode test
|
2016-03-27 21:43:59 +02:00 |
|
Arnout Engelen
|
e17c4adf7d
|
don't test reading the on-system proc/net/tcp on apple
|
2016-03-27 21:43:15 +02:00 |
|
Arnout Engelen
|
240307d1fe
|
Introduce 'test' target, add /proc/net/tcp parsing to it
The test itself doesn't do much yet, but might shed some light on what's going
on in https://github.com/raboof/nethogs/issues/22
|
2016-03-27 21:35:35 +02:00 |
|
Arnout Engelen
|
c266593ab7
|
Don't repeat version settings in Makefile
|
2016-03-26 17:32:46 +01:00 |
|
Arnout Engelen
|
848dfd44ff
|
Clarify master should be stable (closes #58)
|
2016-03-26 15:44:39 +01:00 |
|
Arnout Engelen
|
8613de843d
|
Merge branch 'master' of github.com:raboof/nethogs
|
2016-03-22 22:06:31 +01:00 |
|
Arnout Engelen
|
b3cf3fdf8e
|
Merge pull request #52 from raboof/llvmFormatting
Use clang-format to format (somewhat) LLVM-style (fixes #44)
|
2016-03-22 21:53:41 +01:00 |
|
Arnout Engelen
|
a4076c88c7
|
Clarify that further exceptions to the LLVM style are welcome
|
2016-03-22 21:53:22 +01:00 |
|
Arnout Engelen
|
63114b6984
|
Remove spurious log statement
|
2016-03-21 09:52:18 +01:00 |
|
Arnout Engelen
|
e74935da1f
|
Use clang-format to format (somewhat) LLVM-style (fixes #44)
|
2016-03-21 00:31:48 +01:00 |
|
Arnout Engelen
|
ac045b487a
|
Merge branch 'master' of github.com:raboof/nethogs
|
2016-03-21 00:29:39 +01:00 |
|
Arnout Engelen
|
dda95a9973
|
Merge pull request #50 from raboof/warnWhenDown
Warn when no devices are up/running (fixes #45)
|
2016-03-21 00:18:37 +01:00 |
|
Arnout Engelen
|
5dc362c824
|
Fix some comments
|
2016-03-21 00:18:19 +01:00 |
|
Arnout Engelen
|
cb6ad14afc
|
Warn when no devices are up/running (fixes #45)
|
2016-03-21 00:09:42 +01:00 |
|
Arnout Engelen
|
f2cf510d8e
|
Merge pull request #49 from raboof/compilerWarning
Compiler warning
|
2016-03-20 23:44:19 +01:00 |
|
Arnout Engelen
|
ffc7d919cc
|
fix misleading error message
|
2016-03-20 23:41:25 +01:00 |
|
Arnout Engelen
|
601696d424
|
forceExit won't work in library mode, log to stderr
|
2016-03-20 23:40:52 +01:00 |
|
Arnout Engelen
|
f2a2d368bc
|
Fix compiler error on mac (?)
|
2016-03-20 23:23:27 +01:00 |
|
Arnout Engelen
|
41614af520
|
Exit when a packet with an invalid family is found
Fixes compiler warnings
|
2016-03-20 19:28:05 +01:00 |
|
Arnout Engelen
|
cc675ce776
|
Cleanup: detecting the link type is done automatically per handle
|
2016-03-20 19:20:51 +01:00 |
|
Arnout Engelen
|
82924a97e1
|
Add disclaimer about libnethogs
|
2016-03-20 19:11:37 +01:00 |
|
Arnout Engelen
|
8155deab93
|
Merge pull request #40 from mb-gh/build-as-lib
Support building as a library
|
2016-03-20 18:57:33 +01:00 |
|
Mohamed Boussaffa
|
12d578e9e2
|
added a record_id member to the update struct
|
2016-03-14 01:32:23 +08:00 |
|
Mohamed Boussaffa
|
99e8d61873
|
cleaner API and better doxygen comment
|
2016-03-13 21:36:27 +08:00 |
|
Mohamed Boussaffa
|
d8df3e8160
|
fixing osx build
|
2016-03-13 07:05:37 +08:00 |
|
Mohamed Boussaffa
|
e0b2eb996b
|
fixing OSX build
|
2016-03-13 07:01:12 +08:00 |
|
Mohamed Boussaffa
|
ccaedf92b5
|
fix build for osx
|
2016-03-13 06:49:10 +08:00 |
|
Mohamed Boussaffa
|
4c5c87c1f3
|
Proper handling of versions of the library
|
2016-03-13 06:38:59 +08:00 |
|
Mohamed Boussaffa
|
d33acbe3c7
|
building as static library too
|
2016-03-13 01:48:33 +08:00 |
|
Mohamed Boussaffa
|
d8a0b8f674
|
merge with master branch
|
2016-03-13 01:06:51 +08:00 |
|
Arnout Engelen
|
918978262b
|
Document yum dependencies
|
2016-03-12 17:32:08 +01:00 |
|
Mohamed Boussaffa
|
d38f62f802
|
using a more unique key for add/remove action
|
2016-03-10 20:10:03 +08:00 |
|
Mohamed Boussaffa
|
761e153f30
|
using process name as the key for add/remove events
|
2016-03-10 19:52:43 +08:00 |
|
Mohamed Boussaffa
|
0c6fbfe10c
|
removed multithreading and c++11 and used a pcap_loop-like api
|
2016-03-10 19:21:29 +08:00 |
|
Arnout Engelen
|
436c2754c2
|
Merge pull request #43 from mb-gh/select
use select() for main loop
|
2016-03-09 23:59:52 +01:00 |
|
Mohamed Boussaffa
|
81218523c8
|
added call to ldconfig after lib install to update the cache
|
2016-03-08 21:11:45 +08:00 |
|
Mohamed Boussaffa
|
b566871d6b
|
fixed lib make install
|
2016-03-08 19:51:19 +08:00 |
|
Mohamed Boussaffa
|
9e9b77f144
|
using select() with libpcap and better makefiles
|
2016-03-08 18:58:48 +08:00 |
|
Mohamed Boussaffa
|
014b9db3a5
|
fixed spelling errors
|
2016-03-07 06:58:26 +08:00 |
|
Mohamed Boussaffa
|
5595497ad8
|
cleaner code
|
2016-03-07 06:54:28 +08:00 |
|
Mohamed Boussaffa
|
9015e6c27f
|
No more need for the refresh signal because select() timeout replaces it
|
2016-03-07 06:13:04 +08:00 |
|
Mohamed Boussaffa
|
cb2a699d57
|
restore root test
|
2016-03-07 05:42:57 +08:00 |
|
Mohamed Boussaffa
|
8d6a3c3964
|
use select() for main loop
|
2016-03-07 05:37:43 +08:00 |
|
Mohamed Boussaffa
|
4ea5c77793
|
removing unecessary functions
|
2016-03-06 21:19:05 +08:00 |
|
Mohamed Boussaffa
|
dd99cf8550
|
small bug fix
|
2016-03-06 20:59:24 +08:00 |
|
Mohamed Boussaffa
|
0690c3e2b5
|
exposing c interface instead of c++, for more compatibility.
|
2016-03-05 22:59:07 +08:00 |
|