1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-12-04 06:38:33 +01:00
Commit Graph

3452 Commits

Author SHA1 Message Date
Pavel Odintsov
266d1b91da
Added Grafana total traffic image 2023-03-11 03:55:08 -08:00
Pavel Odintsov
d2b2eb76e5
Update SECURITY.md 2023-03-11 12:52:49 +01:00
Pavel Odintsov
5f928d1010 Added timestamp for JSON export format 2023-03-10 22:41:18 +01:00
Pavel Odintsov
c05859372c Switched to use arrival time instead of timestamp from flow for Protobuf export 2023-03-10 22:28:34 +01:00
Pavel Odintsov
732fef3ecc Added arrival time for pcap 2023-03-10 22:23:51 +01:00
Pavel Odintsov
b832182bc0 Added arrival time for pcap 2023-03-10 22:22:31 +01:00
Pavel Odintsov
0e43edc39a Added logic to populate packet arrival time for all plugins 2023-03-10 22:21:36 +01:00
Pavel Odintsov
ddc4f5eaf3 Added logic to export AF_PACKET counters from Prometheus 2023-03-10 12:25:00 +01:00
Pavel Odintsov
7aa3b19849 Added logic to export all available system counters for sFlow mode to Prometheus endpoint 2023-03-10 12:18:27 +01:00
Pavel Odintsov
f216793245 Improved error message when we cannot bind on socket from sFlow plugin 2023-03-10 12:06:03 +01:00
Pavel Odintsov
8369c5e0f1 Addressed race condition and removed old attack direction change logic 2023-03-10 02:58:47 -08:00
Pavel Odintsov
da4e951e08 Added fix to address No head is defined for fastnetmon for macOS build 2023-03-07 13:15:51 +00:00
Pavel Odintsov
b98e7db2bb Sync Homebrew with upstream 2023-03-07 13:12:52 +00:00
Pavel Odintsov
1b94471e8b We need to continue build process even if patches/series does not exist 2023-03-07 12:46:17 +00:00
Pavel Odintsov
c0d04543de Attempt to addd workaround for Boost 1.74. Closes #970 2023-03-07 12:43:42 +00:00
Babak Farrokhi
c220afea84
Update FreeBSD port to 1.2.4 (#971)
Available on FreeBSD ports tree and can be installed via ports or pkg.
2023-03-06 13:06:34 +00:00
Pavel Odintsov
52cac989d1 Added mutex to address build issues on Debian Sid 2023-03-06 12:16:56 +00:00
Pavel Odintsov
5212f9eca9
Merge pull request #969 from farrokhi/master
Unbreak build on FreeBSD
2023-03-06 04:04:46 -08:00
Babak Farrokhi
8cbc9ffdc6
Use lightweigth bourne shell when possible
This script does not use bash specific features, therfore bash is not
necessary. If this script gets called too often, it may use up
unneccessary resources on sensor host.

For reference, here is comparison (binary size) on MacOS (almost ten
times difference):

```
% ls -lh /bin/sh /bin/bash
-r-xr-xr-x  1 root  wheel   1.3M Feb  9 10:39 /bin/bash
-rwxr-xr-x  1 root  wheel   131K Feb  9 10:39 /bin/sh
```

and on FreeBSD (~5x):

```
% ls -lh /bin/sh /usr/local/bin/bash
-r-xr-xr-x  1 root  wheel   166K Feb 23 20:52 /bin/sh
-rwxr-xr-x  1 root  wheel   963K Dec 15 02:15 /usr/local/bin/bash
```
2023-03-06 11:49:28 +01:00
Babak Farrokhi
96bffc5e98
Moving platform specific packaging files to the right place 2023-03-06 11:40:36 +01:00
Babak Farrokhi
0e0153bb4c
Unbreak build on FreeBSD 2023-03-06 11:36:00 +01:00
Pavel Odintsov
f516cd5655 Switched to 1.2.5 as version number for new release 2023-03-01 14:50:21 +00:00
Pavel Odintsov
c5090e8e84 Increased default threshold per host from 20k to 100k as 20k is too low for modern traffic speeds v1.2.4 2023-03-01 14:23:34 +00:00
Pavel Odintsov
a032af4998 Fixed URL for IPv4 logic 2023-03-01 14:16:10 +00:00
Pavel Odintsov
08c307d941 Switched to use short git commit 2023-03-01 14:06:16 +00:00
Pavel Odintsov
565dd90868 Changed Advanced edition page from main to landing about product 2023-03-01 14:06:04 +00:00
Pavel Odintsov
bd4d62f305 Reformat all code with clang-format 2023-03-01 13:31:39 +00:00
Pavel Odintsov
29083ce998
Added CI build status in dedocated section 2023-03-01 13:24:48 +00:00
Pavel Odintsov
8beba4971d
Added legal notes 2023-03-01 13:23:19 +00:00
Pavel Odintsov
2ffcab168a Adjusted paths for protoc 2023-03-01 12:49:33 +00:00
Pavel Odintsov
ff1e1a03c5 Rearranged fields in Protobuf encoding logic and addressed bug with ip_dont_fragment 2023-03-01 12:45:18 +00:00
Pavel Odintsov
5745221f83 Adjusted to new path for proto file 2023-03-01 12:36:56 +00:00
Pavel Odintsov
15edfed29d Reordered sequence of fields in protobuf file to more logical 2023-03-01 12:30:20 +00:00
Pavel Odintsov
2a67d0bab3 Moved Protobuf file to dedicated folder 2023-03-01 12:17:24 +00:00
Pavel Odintsov
eb982f4820 Reworked increment counters functions to use references 2023-02-28 20:45:57 +00:00
Pavel Odintsov
59af2ed719 Switched to unified speed counters 2023-02-28 20:18:41 +00:00
Pavel Odintsov
d5ce086244 Complete rework of speed counters for IPv4 prefixes and IPv6 hosts and networks 2023-02-28 19:24:05 +00:00
Pavel Odintsov
075216e8a9 Added logic to check that make and cmake were successfull 2023-02-28 17:33:43 +00:00
Pavel Odintsov
9c1dd27220 Imporoved gTest search logic 2023-02-28 17:24:46 +00:00
Pavel Odintsov
ef07501bcd Added speed calculation test which emulates whole logic 2023-02-28 16:03:10 +00:00
Pavel Odintsov
9f75a1b7d4 Disabled rdtsc tests as it's not cross platform 2023-02-28 15:30:38 +00:00
Pavel Odintsov
c4b1b1a31d Added open addressing maps for teal traffic test 2023-02-28 15:18:40 +00:00
Pavel Odintsov
5d4e878af6 Re-enabled logic to build tests by default 2023-02-28 15:02:14 +00:00
Pavel Odintsov
ab1aa224d3 Added tests for open addressing hash maps 2023-02-28 14:54:57 +00:00
Mamoru TASAKA
35635679c1
BUILDFIX: add missing header for g++13 (#968)
With g++13, the following error is produced:

```
src/metrics/../abstract_subnet_counters.hpp:79:28: error: 'std::function' has not been declared
```

Fix this error by including additional header.
2023-02-28 12:25:39 +00:00
Pavel Odintsov
e9958328fe Switched s3cmd installation on Debian 10 to pip 2023-02-27 22:36:25 +00:00
Pavel Odintsov
f25df1062c Added hashes for gTest on Debian 12 2023-02-27 22:32:15 +00:00
Pavel Odintsov
0fe203856b Adeed logic to set apt mode to noninteractive for all jobs 2023-02-27 22:28:26 +00:00
Pavel Odintsov
cdf7beb684 We need to suppress Configuring tzdata when we do s3cmd installation 2023-02-27 22:26:00 +00:00
Pavel Odintsov
0332820e4c Removed unused argument 2023-02-27 22:24:08 +00:00