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

3518 Commits

Author SHA1 Message Date
Pavel Odintsov
d2eca389ed Added logic to catch cases when we found Protobuf but did not find protoc 2023-04-04 12:52:58 +01:00
Pavel Odintsov
a187e201e8 Added logic to print protoc path as it found it but it's clearly wrong 2023-04-04 12:35:24 +01:00
Pavel Odintsov
6c14813762 Fixed case for Linux builds 2023-04-04 12:10:44 +01:00
Pavel Odintsov
0d1b902921 Attempt to switch Protobuf search logic to find_package as it offers way better experience 2023-04-04 12:07:09 +01:00
Pavel Odintsov
58a05a1f85 find_package does support NO_DEFAULT_PATH option and we need to provide it to avoid search of includes in wrong place 2023-04-04 11:15:45 +01:00
Pavel Odintsov
a56f8f8490 Added explicit dependency for gobgp_api_client_grpc_pb_cc on gRPC to address build issues on Windows 2023-04-03 23:11:27 +01:00
Pavel Odintsov
bf3fa32221 Fixed cmake typo 2023-04-03 23:04:09 +01:00
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