1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 17:32:59 +01:00
Commit Graph

3461 Commits

Author SHA1 Message Date
Pavel Odintsov
5d998a43d5 Added missing link dependency for attribute_pb_cc on Windows 2023-04-03 23:01:43 +01:00
Pavel Odintsov
cf26b79d16 Added includes and documentation for Protobuf 2023-04-03 22:55:47 +01:00
Pavel Odintsov
5d607c67c4 Switched Protobuf logic to use find_package on Windows 2023-04-03 22:50:51 +01:00
Pavel Odintsov
e3fa426014 Switched gRPC search logic to find_package() for Windows platforms 2023-04-03 22:36:14 +01:00
Pavel Odintsov
396df68c8c Enabled parallel build for log4cpp 2023-04-03 21:30:52 +01:00
Pavel Odintsov
2ff2c8d447 Added all missing parts to be able to build fastnetmon_client 2023-04-03 21:20:04 +01:00
Pavel Odintsov
3b7df0d887 Fixed error reporting for fastnetmon_client 2023-04-03 21:06:56 +01:00
Pavel Odintsov
f8f8558be1 Revert "Another attempt to address path issues for capnp. Related #978"
This reverts commit 727d793b713187cac2d95bd34acff0be23af63a5.
2023-04-03 20:20:36 +01:00
Pavel Odintsov
7b3592a99b We need to add space between envoronment arguments and command itself 2023-04-03 20:09:59 +01:00
Pavel Odintsov
727d793b71 Another attempt to address path issues for capnp. Related #978 2023-04-03 20:06:58 +01:00
Pavel Odintsov
888c66a771 Added workaround to avoid namespace conflicts with MinGW defines in GoBGP binding code. Related #977 2023-04-03 19:39:47 +01:00
Pavel Odintsov
5f318059c2 Removed references to removed function 2023-04-03 19:25:50 +01:00
Pavel Odintsov
2b0e4a6212 Added inet_pton based implementation for reading IP addresses from string on Windows 2023-04-03 18:27:14 +01:00
Pavel Odintsov
429ba514ab Disabled PID logic on Windows platforms as we have no easy way to check that process is alive 2023-04-03 18:12:33 +01:00
Pavel Odintsov
03dd6c6380 Added logic to handle timeval fields on Windows correctly 2023-04-03 17:56:40 +01:00
Pavel Odintsov
f863725afe Fixed wrong variable name 2023-04-03 17:48:20 +01:00
Pavel Odintsov
aefce76fe5 Behaviour change: disabled PID logic by default, no need to use --disable_pid_logic anymore 2023-04-03 17:45:18 +01:00
Pavel Odintsov
0380b074a4 Ported subnet checking logic to new safe function 2023-04-03 17:28:53 +01:00
Pavel Odintsov
a3ee4e730e Removed old insecure and unsafe IP parser function 2023-04-03 17:23:34 +01:00
Pavel Odintsov
233eaf2287 Removed unused code 2023-04-03 17:12:56 +01:00
Pavel Odintsov
967455ed77 Removed unused function 2023-04-03 17:08:48 +01:00
Pavel Odintsov
dc58b8172c Reworked subnet parser function to new version with clear safety checks 2023-04-03 17:02:02 +01:00
Pavel Odintsov
3628c74e7f Switched to full build by default 2023-04-03 14:38:21 +01:00
Pavel Odintsov
81da444964 Disabled SIGPIPE signal handler on Windows 2023-04-03 14:33:36 +01:00
Pavel Odintsov
e90a325148 Added logic to disable daemonise logic on Windows platforms 2023-04-03 14:30:32 +01:00
Pavel Odintsov
b9d3519fad Removed unused code 2023-04-03 14:24:34 +01:00
Pavel Odintsov
546f5e6e2d Disabled logic for setting custom thread names on Windows platform 2023-04-03 14:02:53 +01:00
Pavel Odintsov
c559487718 We need different approach for detect windows version 2023-04-03 13:58:05 +01:00
Pavel Odintsov
4bb582f2e9 We do not have any cases to support continious capture and it breaks builds on Windows msys2 2023-04-03 13:49:36 +01:00
Pavel Odintsov
aba608026f Syslog is not supported on Windows and we need to disable all logic for it 2023-04-03 13:39:22 +01:00
Pavel Odintsov
7a784107f8 Added missing include for test 2023-04-03 12:48:05 +01:00
Pavel Odintsov
7e46e0754d We do not need cross platform portability for get_interface_number_by_device_name as we use it only for Linux 2023-04-03 12:43:52 +01:00
Pavel Odintsov
d80312794b Added missing include for endian-less conversion 2023-04-03 12:25:54 +01:00
Pavel Odintsov
0fcebf7685 Disabled core dump management logic for Windows platforms 2023-04-03 12:20:06 +01:00
Pavel Odintsov
ca0282693e Fixed include path 2023-04-03 12:11:30 +01:00
Pavel Odintsov
02c651f846 Added missing include for test 2023-04-03 12:07:54 +01:00
Pavel Odintsov
c5fbbc22b8 Unified getsockopt between platforms 2023-04-03 12:02:35 +01:00
Pavel Odintsov
0ec5123b67 Removed pcap stats as we do not show stats for other backends and include cleanup 2023-04-02 22:48:51 +01:00
Pavel Odintsov
a731f45c44 Significant include cleanup for fast_library 2023-04-02 22:41:23 +01:00
Pavel Odintsov
401d5b56f6 Cleanup of multiple system dependencies from main daemon and fast_library 2023-04-02 22:35:28 +01:00
Pavel Odintsov
aef1fb5510 Revert "msys2 and windows platform do not like using ENV variables provided with command name and we moved logic to separate step to address it"
This reverts commit fe1cf29402a40a2c70186baa19d88cc1564b9959.
2023-04-02 22:29:48 +01:00
Pavel Odintsov
fe1cf29402 msys2 and windows platform do not like using ENV variables provided with command name and we moved logic to separate step to address it 2023-04-02 22:26:17 +01:00
Pavel Odintsov
a2b97847af Added logic to build fastnetmon_client first to confirm that linker works fine on CI 2023-04-02 22:12:06 +01:00
Pavel Odintsov
160bd0bbd5 Added logic to catch cases when we did not find curses 2023-04-02 21:57:43 +01:00
Pavel Odintsov
2b0fbc6c78 Added verbose logic about curses library path 2023-04-02 21:56:28 +01:00
Pavel Odintsov
e29263a633 We need to explicitly link ABSL on msys2 windows platforms 2023-04-02 21:54:57 +01:00
Pavel Odintsov
232bcf3dca Trick did not work well, revert 2023-04-02 21:52:05 +01:00
Pavel Odintsov
fe1bcca2b7 Nice workaround about GoBGP gRPC binding incompatibility with MinGW 2023-04-02 21:47:39 +01:00
Pavel Odintsov
55af595b84 Eliminated non portable dependencies in example plugin 2023-04-02 21:42:11 +01:00
Pavel Odintsov
87e9cfc780 Missing colon 2023-04-02 21:35:13 +01:00