Commit Graph

346 Commits

Author SHA1 Message Date
Arnout Engelen
7a0d9c0d41 Merge pull request #199 from takeoverjp/feature-udp-support
Issue: #62 - UDP support
2021-02-05 10:36:59 +01:00
Kondo Takeo
b7a42786bd Issue: #62 - Fix conninode_test. 2021-02-05 00:12:21 +09:00
Kondo Takeo
18629a3b33 Issue: #62 - Treat unlisted traffic as 'unknown UDP/TCP' 2021-02-04 23:43:29 +09:00
Kondo Takeo
ccda1b50c4 Issue: #62 - Parse udp proc only when catchall mode. 2021-02-04 23:35:52 +09:00
Kondo Takeo
e024d3eb33 Issue: #62 - UDP support 2021-02-04 00:31:40 +09:00
Arnout Engelen
d4f3b22140 Merge pull request #198 from kishorkunal-raj/main
Adding ppc64le architecture support on travis-ci
2020-12-11 19:09:06 +01:00
kishor kunal raj
259cfccffd Adding ppc64le architecture support on travis-ci 2020-12-11 12:58:08 +00:00
Arnout Engelen
cb0213fcf3 Merge tag 'v0.8.6' into main 2020-09-04 11:16:49 +02:00
Arnout Engelen
55f5abaaee accept sponsorships 2020-08-31 12:20:20 +02:00
Arnout Engelen
3889d20018 Create FUNDING.yml 2020-02-18 17:35:13 +01:00
Arnout Engelen
8606caff24 Merge pull request #185 from mb720/patch-1
Fix typo in man page
2020-02-10 17:14:35 +01:00
Matthias Braun
99cfac7f84 Fix typo in man page 2020-02-10 16:47:10 +01:00
Arnout Engelen
68033bfae6 Merge pull request #182 from AeroNotix/expose-packet-buffer-timeout-to-libnethogs
fix: Expose to_ms / packet buffer timeout to libnethogs
2019-10-01 08:57:59 +02:00
Aaron France
a3f0586ef8 fix: Expose to_ms / packet buffer timeout to libnethogs 2019-10-01 00:24:04 +02:00
Arnout Engelen
dbbee09d79 Merge pull request #177 from azak-azkaran/master
Issue: #176 - removes exit in inode2prog:
2019-06-24 13:06:49 +02:00
Andreas Wieland
9ccb3538db Issue: #176 - removes exit in inode2prog:
* removes the exit calls in inode2prog which was called if an error
occured while reading /proc/<pid>/cmdline file. Instead an Exception is
thrown with an error message
* adds catch block for all exception while reading cmdline file
2019-06-24 11:51:18 +02:00
Arnout Engelen
a46b3d6f97 Merge pull request #175 from azak-azkaran/master
fixes crash on "opening /proc/PID/cmdline" #144,#145
2019-06-12 23:21:12 +02:00
Andreas Wieland
2cd523868d run make format with clang-format:
* reformats the repo as adviced in the readme
2019-06-12 15:00:40 +02:00
Andreas Wieland
9dc99c9e14 fixes issues #144, #145:
* adds a try catch block surrounding read_file in the method getcmdline.
  To avoid crashes if a pid is removed while reading was not finished.
2019-06-12 14:38:27 +02:00
Arnout Engelen
ea8ef8af27 Merge pull request #174 from Omnikron13/master
Added 'Running without root' section to the man page
2019-04-26 09:07:43 +02:00
Joey Sabey
0c58ff94d3 Added 'Running without root' section to the man page 2019-04-25 18:45:19 +01:00
Arnout Engelen
ac5af1d1b9 Merge pull request #173 from remyabel/patch-1
Escape asterisk
2018-12-30 18:20:01 +01:00
Arnout Engelen
aee7230826 Quote asterisk
Co-Authored-By: remyabel <41764622+remyabel@users.noreply.github.com>
2018-12-30 11:57:35 -05:00
remyabel
6b41474ed9 Escape asterisk
In order for the glob to properly expand, it needs to be escaped.
2018-12-28 04:50:43 -05:00
Arnout Engelen
326305eab3 Merge pull request #172 from ppetraki/master
Add MB/s and GB/s view modes
2018-12-03 23:38:56 +01:00
Peter M. Petrakis
677baffe6a Add MB/s and GB/s view modes
- Refactored units presentation into a lookup table
- Other minor refactoring
- Updated man page
- Cleaned up trailing white space in the vicinity
2018-12-03 13:55:54 -05:00
Arnout Engelen
af24376243 Merge pull request #171 from themightychris/master
add habitat plan
2018-11-24 11:17:48 +01:00
Chris Alfano
d5c5078b4a add habitat plan 2018-11-23 01:13:54 +00:00
Arnout Engelen
f0b75029ea Merge pull request #170 from D4ryus/master
Fix libnethogs handle memory leak
2018-11-11 16:58:28 +01:00
d4ryus
51ccf42cea Fix libnethogs handle memory leak
Calling nethogsmonitor_loop, canceling it with nethogsmonitor_breakloop
and then calling it again will lead to a Segmentation fault.

This is due to handles not getting reset to NULL which leads to a
invalid list since the old list will be reused by

  new handle(newhandle, current_dev->name, handles);

in nethogsmonitor_init(). If handles is reset to NULL it will also
remove the only reference to the old list, hence it should be freed to
avoid memory leaks.

This change will reset handles to NULL after freeing all handles when
nethogsmonitor_clean_up is called.
2018-11-11 11:31:44 +01:00
Arnout Engelen
2e8a4f8b8b Merge pull request #160 from pavan02/catch-all
catchall option to include udp traffic as "unknown UDP" process
2018-05-18 16:59:18 +02:00
PAVAN
b32ae097ce unknown udp added... 2018-05-18 20:22:44 +05:30
PAVAN
2a1e068dee added unknown udp.... 2018-05-18 19:45:07 +05:30
PAVAN
9baa4aaf34 unknown udp added... 2018-05-15 21:34:29 +05:30
Arnout Engelen
33fab67135 Merge pull request #157 from pavan02/DEV-Column
fixes issue #110 - DEV colum length to 15
2018-05-03 16:29:31 +02:00
PAVAN
a251024bff fixes issue #110 - dynamic DEV column length, MIN=5, MAX=15 2018-05-03 19:46:48 +05:30
PAVAN
0984d92d90 fixes issue #110 - dynamic DEV column length, MIN=5, MAX=15 2018-05-03 19:12:06 +05:30
PAVAN
5e2763d40f fixes issue #110 - DEV colum length to 15 2018-05-02 00:05:54 +05:30
Arnout Engelen
7093964413 Merge pull request #137 from jantman/issues/29
fixes #29 - change all sent/recv counters from int32 to int64 to prevent wraparound
2017-08-27 16:54:43 +02:00
Jason Antman
2a2ce7c909 fixes #29 - change all sent/recv counters from int32 to int64 to prevent wraparound 2017-08-27 10:46:21 -04:00
Arnout Engelen
7b66240e0d Merge pull request #136 from jantman/issues/119
fixes #119 - add support for pcap capture filters
2017-08-27 16:43:10 +02:00
Jason Antman
76ced1b8d8 issue #119 - add warnings about capture filter being experimental 2017-08-27 10:37:13 -04:00
Jason Antman
7f02b84ced fixes #119 - add support for pcap capture filters 2017-08-27 09:07:44 -04:00
Arnout Engelen
e5455240c9 Merge pull request #134 from jantman/issues/129
fixes #129 - libnethogs support for limiting to specific devices
2017-08-27 13:49:52 +02:00
Arnout Engelen
11eb540ca4 Merge pull request #133 from jantman/issues/130-process-changes-only
issue #130 - have Process::gettotal include closed connections removed from ConnList
2017-08-27 13:22:57 +02:00
Arnout Engelen
15afa1b03e Merge pull request #135 from raboof/buildLibNethogsOnTravis
Build not just nethogs but also libnethogs on travis
2017-08-27 13:17:27 +02:00
Arnout Engelen
a02c293d0b Build not just nethogs but also libnethogs on travis 2017-08-27 13:11:30 +02:00
Jason Antman
a7c14c842a fixes #129 - libnethogs support for limiting to specific devices 2017-08-26 15:34:30 -04:00
Jason Antman
226ec6ccdb issue #130 - have Process::gettotal include closed connections removed from ConnList 2017-08-26 09:56:43 -04:00
Arnout Engelen
99a38c003c Merge pull request #123 from pik/make-install-dev
Bugfix: no install_dev target in docs/Makefile
2017-06-07 13:58:48 -07:00