450 Commits

Author SHA1 Message Date
45117e84ee monitor-service: Fix ordering of applications in the dashboard 2025-08-22 04:24:48 +02:00
e13522ea35 Process: Add cleanup logic for unused processes and introduce a "keep" flag for special processes 2025-08-07 02:07:54 +02:00
5b92953241 Nethogs-Monitor: Dashboard with terminal style 2025-08-06 14:11:00 +02:00
23289acabd Nethogs-Monitor: Add Nethogs monitor service with installation scripts, dashboard, and reporting utilities 2025-08-06 14:05:43 +02:00
59cfb62336 Connection: Fix double counting of packet sizes on diferent intervals. 2025-08-05 22:32:34 +02:00
5bb454cb03 gitignore IDE configurations 2025-08-05 05:36:16 +02:00
468b055918 Quiet initilization fo decpcap when output_json. 2025-08-05 05:35:27 +02:00
1d8d69bf06 Add sort by PID option 2025-08-05 05:34:15 +02:00
7ea25e917f Add BPS viewMode 2025-08-05 05:32:38 +02:00
8b6c7c7bc8 JSON output 2025-08-05 05:30:13 +02:00
Arnout Engelen
08daf76d81 Document the unknown TCP bucket 2025-05-11 11:19:24 +02:00
Arnout Engelen
02c1811f9e Merge pull request #292 from polkornyipt/main
Allow overriding VERSION from environment
2025-04-10 08:45:59 +02:00
Matheus Polkorny
f98ee89047 Allow overriding VERSION from environment
Use ?= instead of := when setting VERSION in the Makefile.
This lets pass VERSION without needing to modify the file during build.
2025-04-09 21:23:13 -03:00
Arnout Engelen
90c1abc2fb Merge pull request #290 from polkornyipt/main
Add missing security flags and include CPPFLAGS in libnethogs
2025-03-26 14:10:46 +01:00
Matheus Polkorny
1407f83485 Include $(CPPFLAGS) for devices.cpp and libnethogs.cpp 2025-03-25 00:48:30 -03:00
Matheus Polkorny
42e7950db8 Add security flags to LDFLAGS for Linux 2025-03-25 00:47:04 -03:00
Arnout Engelen
16f2dbd56c Merge pull request #288 from CAB233/main
meson: fix library name
2025-02-24 13:18:37 +01:00
CAB233
ba25a64dcd meson: fix library name 2025-02-24 20:06:52 +08:00
Arnout Engelen
d8badf2803 Merge pull request #285 from thesamesam/meson
meson: cleanup version detection
2025-01-26 12:39:39 +01:00
Sam James
fcbde46b00 meson: run meson format 2025-01-25 16:06:29 +00:00
Sam James
5afce747f1 meson: fix build with libnethogs disabled
Fix `meson.build:43:19: ERROR: Unknown variable "libnethogs".`.

While src/ has this correct, the top-level meson.build wasn't right.
2025-01-25 16:05:20 +00:00
Sam James
049fff5623 meson: cleanup version detection
Tell Meson what version the project is, so that we set the right versioning
on libnethogs.
2025-01-25 16:03:12 +00:00
Arnout Engelen
632a78846e Merge pull request #279 from BubuOT/version_fix
determineVersion.sh: prevent traversing into outer git repo for git-describe call
2024-09-20 12:12:57 +02:00
Marcus Hoffmann
6423bdf05d determineVersion.sh: prevent traversing into outer git repo for git-describe call
When building nethogs inside another git repo (as is i.e. done as part
of a buildroot build) the version is picked up from the outer git repo,
which is confusing as well as introducing reproducibility problems when
rebuilding the same nethogs version produces different results if the
outer repository changes.
2024-09-20 12:06:26 +02:00
Arnout Engelen
0fe341eeba Merge pull request #275 from lleon95/main
Add meson buildsystem
2024-05-23 16:05:34 +02:00
Luis Leon
ce9dd7c7c3 Add meson buildsystem 2024-05-23 15:29:22 +02:00
Arnout Engelen
e6afe4e2ff Merge pull request #269 from AndreasGocht/add_udp
allow the library to enable UDP recording
2024-01-08 23:00:47 +01:00
Andreas Gocht-Zech
52dbb174d8 allow the library to enable UDP recording 2024-01-08 22:19:27 +01:00
Arnout Engelen
89c195104f Merge pull request #267 from AndreasGocht/fix_adding_devices
Fix nethogsmonitor_loop_devices_py to accept more than one device
2023-12-23 10:55:51 +01:00
Andreas Gocht-Zech
8958ef0b3e Fix nethogsmonitor_loop_devices_py to accept more than one device
Without the ref only the last element of __devicenames is stored in
_devicenames: The temporary is deleted at the end of the for body,
therefore the pointer to the c_str is no longer valid and might be
reused by the implementation. By using a reference in the for head
the c_str does not return a ref to the temporary but to the original
array wich's lifetime is till the end of the function.
2023-12-22 18:42:02 +01:00
Arnout Engelen
eed54a0543 Merge pull request #264 from AndreasGocht/report_pcap_stas
Report pcap stas
2023-10-02 16:30:14 +02:00
Andreas Gocht-Zech
bdbb504569 Merge branch 'raboof:main' into report_pcap_stas 2023-09-29 22:55:59 +02:00
Michal Suchanek
08524d2740 Clarify units
On the internet the usage of b and B for bits or bytes is inconsistent.

Lowercase b seems to be used for either, and upperace B is more often
used to mean bytes but usege for bits also exists.

I am not aware of any standard that would mandate one or other use.

Consequently, spelling out the whole word in the output or adding
explanation in documentation is the only way to make sure the output is
interpreted correctly.

To save space on small screens only alter documentation and the bytes
label without prefixes/suffixes.

While at it change uppercase K to lowercase k to correctly spell the
kilo- prefix.

Fixes: #261

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2023-09-29 22:54:31 +02:00
Andreas Gocht-Zech
b9abb65df0 add pcap packet stats 2023-09-29 22:54:31 +02:00
Andreas Gocht-Zech
5375587282 move C-style-list to std::list 2023-09-29 22:53:59 +02:00
Arnout Engelen
cd55fef395 Merge pull request #263 from AndreasGocht/report_changes
fix an copy-and-paste error in the bindings
2023-09-06 00:10:39 +02:00
Andreas Gocht-Zech
059390b145 fix an error in the bindings 2023-09-05 23:07:42 +02:00
Arnout Engelen
dc44edb9b1 Merge pull request #262 from hramrach/main
Clarify units
2023-08-28 14:21:10 +02:00
Michal Suchanek
e40699fba4 Clarify units
On the internet the usage of b and B for bits or bytes is inconsistent.

Lowercase b seems to be used for either, and upperace B is more often
used to mean bytes but usege for bits also exists.

I am not aware of any standard that would mandate one or other use.

Consequently, spelling out the whole word in the output or adding
explanation in documentation is the only way to make sure the output is
interpreted correctly.

To save space on small screens only alter documentation and the bytes
label without prefixes/suffixes.

While at it change uppercase K to lowercase k to correctly spell the
kilo- prefix.

Fixes: #261

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2023-08-28 13:07:17 +02:00
Arnout Engelen
eafc6e7ebc Merge pull request #260 from AndreasGocht/report_changes
Report only changes of send and received data
2023-08-22 10:03:56 +02:00
Andreas Gocht-Zech
a11eb726bf Merge branch 'raboof:main' into report_changes 2023-08-21 21:41:32 +02:00
Andreas Gocht-Zech
9d8c92356c fix 2023-08-20 22:28:43 +02:00
Andreas Gocht-Zech
668ae29c0a add reporting of changes since last request 2023-08-20 22:07:43 +02:00
Arnout Engelen
1c06371dcd Merge pull request #258 from AndreasGocht/main
fix python bindings
2023-07-13 22:13:41 +02:00
Andreas Gocht-Zech
b581af6990 fix python bindings 2023-07-12 20:46:59 +02:00
Arnout Engelen
f281ca30d1 Merge pull request #255 from DiedByDisgust/main
fix get_devlen function from being pointless
2023-04-23 11:09:55 +02:00
DiedByDisgust
bf44e39240 fix get_devlen function from being pointless 2023-04-22 18:02:44 -04:00
Arnout Engelen
24973112ba Merge pull request #251 from sgtcortez/main
Fix wrong extern declaration of pidsToWatch
2023-03-22 14:22:39 +01:00
Matheus Rambo
c55a10bf26 fix: Wrong definition of "pidsToWatch" #230 2023-03-22 10:00:52 -03:00
Arnout Engelen
8f43d02d8c Merge pull request #250 from orhun/docs/update_readme
Add Arch Linux instructions to README.md
2023-02-25 12:09:25 +01:00