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
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
Pavel Odintsov
db70763683
Switched to use s3cmd from repos on Debian based platforms
2023-02-27 22:23:37 +00:00
Pavel Odintsov
4f8ad88ccf
Added logic to allow s3cmd installation from pip on Debian 12: https://github.com/pypa/pip/pull/11780
2023-02-27 22:17:08 +00:00
Pavel Odintsov
b56286d126
Added hashes for gtest
2023-02-27 21:59:39 +00:00
Pavel Odintsov
a4f570a2a4
Moved gTest to run after cmake as it depends on cmake
2023-02-27 21:13:55 +00:00
Pavel Odintsov
75dcf19712
Upgraded gTest and fixed multiple tests
2023-02-27 21:05:58 +00:00
Pavel Odintsov
d32f3ba9ec
Fixed test build system
2023-02-27 20:30:53 +00:00
Pavel Odintsov
fd5d501f55
Excluded autogenerated protobuf files from autoformatter
2023-02-26 23:32:28 +00:00
Pavel Odintsov
1ae44451c4
Reformat code with clang format
2023-02-26 23:29:01 +00:00
Pavel Odintsov
960d35166b
Extracted traffic format encoding into separate static library
2023-02-21 09:26:35 -08:00
Pavel Odintsov
71096caf9c
Updated Netflow v9 plugin configuration about IPv6 support
2023-02-14 20:33:01 +00:00