Commit Graph

198 Commits

Author SHA1 Message Date
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
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
Mohamed Boussaffa
59e2acb636 few tweaks for library performance improvement 2016-03-05 04:53:03 +08:00
Mohamed Boussaffa
245e152854 improved cpu usage 2016-03-05 00:52:57 +08:00
Mohamed Boussaffa
872c4649fa Finally fixed 2016-03-04 23:06:26 +08:00
Mohamed Boussaffa
7535b91e7e Fixing OSx build, another attempt 2016-03-04 23:00:19 +08:00
Mohamed Boussaffa
0c6e2b066d Fixing build on OSx 2016-03-04 22:59:22 +08:00
Mohamed Boussaffa
7cd7358c6c Fixing build on OSx 2016-03-04 22:54:12 +08:00
Mohamed Boussaffa
8638379ffd Support build in c++0x on linux and osx 2016-03-04 22:44:30 +08:00
Mohamed Boussaffa
c6ceac7bf8 Supporting library build 2016-03-04 20:45:10 +08:00
Mohamed Boussaffa
b0083a256a nethogs library build 2016-03-04 19:56:04 +08:00
Mohamed Boussaffa
f032e0aca1 build as lib 2016-03-04 19:47:36 +08:00
Mohamed Boussaffa
6e0f1e7bc0 build as lib 2016-03-04 19:30:08 +08:00
Mohamed Boussaffa
faa5a99c9c build in library mode - in progress 2016-03-04 19:03:24 +08:00
Mohamed Boussaffa
730a5c2624 build as lib - work in progress 2016-03-04 00:09:51 +08:00
Mohamed Boussaffa
0b4ba231c0 Merge branch 'build-as-lib' of github.com:mb-gh/nethogs into build-as-lib 2016-03-03 21:42:25 +08:00
Mohamed Boussaffa
c5f57b0859 added library mode 2016-03-03 21:41:59 +08:00
Mohamed Boussaffa
39441fcb2b added library mode 2016-03-03 21:39:05 +08:00
Mohamed Boussaffa
c2f20e1013 added library build mode 2016-03-03 21:38:20 +08:00
Mohamed Boussaffa
7500b04dd7 Merge branch 'build-as-lib' of github.com:mb-gh/nethogs into build-as-lib
Conflicts:
	MakeLib.mk
	libnethogs.cpp
	libnethogs.h
	libnethogs.so
2016-03-03 21:37:34 +08:00
Mohamed Boussaffa
5e28001c70 added library build mode 2016-03-03 21:34:25 +08:00
Mohamed Boussaffa
53234af7ab added library build mode 2016-03-03 04:07:26 +08:00
Arnout Engelen
c0b69e51af Merge pull request #36 from nibroc/nethogs-28-user-name-garbled
Truncate user names when necessary (fixes #28) and fix alignment of sent/received fields
2016-03-02 09:05:00 +01:00
Corbin Hughes
7c19942be9 Aligned totals columns and cleaned up comments 2016-03-01 21:50:20 -06:00
Arnout Engelen
8cd090c206 Merge pull request #37 from anomen-s/help-to-stdout
print help to stdout
2016-03-01 11:43:35 +01:00
Arnout Engelen
415d45967a Merge pull request #35 from raboof/multiple_addresses
support for multiple IP addresses on one device with getifaddrs
2016-03-01 10:02:40 +01:00
anomen
8a01e1c3b5 print help to stdout 2016-03-01 10:02:35 +01:00
Arnout Engelen
d521d780e1 Merge remote-tracking branch 'origin/master' into multiple_addresses 2016-03-01 09:50:19 +01:00
Arnout Engelen
1227af3139 Merge pull request #34 from raboof/osxtravis
Test travis build on OSX too
2016-03-01 09:50:08 +01:00
Corbin Hughes
9eb98e0507 Truncate user names when necessary (fixes #28) and fix alignment of sent/received fields 2016-03-01 00:15:38 -06:00
Arnout Engelen
fc8ec7558f Test travis build on OSX too 2016-03-01 00:09:04 +01:00