1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-23 21:36:11 +02:00
Commit Graph

3492 Commits

Author SHA1 Message Date
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 fe1cf29402.
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
Pavel Odintsov 34af34d053 Added logic to support setsockopt in Netflow plugin on Windows 2023-04-02 21:33:38 +01:00
Pavel Odintsov f2dfbd751b Added define for SO_REUSEPORT on Windows platforms 2023-04-02 21:29:06 +01:00
Pavel Odintsov a937723bba Added cross platform support for getsockopt in sFlow plugin 2023-04-02 21:17:40 +01:00
Pavel Odintsov b395248a4d Cross platform support improvement for sFlow plugin 2023-04-02 21:06:56 +01:00
Pavel Odintsov 2786580f3b Get rid of old style include protection 2023-04-02 20:50:03 +01:00
Pavel Odintsov 1a5d8fd894 Reworked non cross platform sleep to cross platform sleep_for 2023-04-02 20:43:20 +01:00
Pavel Odintsov b12edc4eb8 Added correct include path for curses library 2023-04-02 20:38:36 +01:00
Pavel Odintsov 7645a9655f Removed C includes from fastnetmon_client 2023-04-02 20:34:56 +01:00
Pavel Odintsov 995041cfe1 Added missing includes for Netflow logic 2023-04-02 20:32:12 +01:00
Pavel Odintsov 1078253ad2 Moved away from using name interface as it conflicts with MingGW, related #977 2023-04-02 20:27:05 +01:00
Pavel Odintsov d820098b46 Added missing include for sockaddr_in6 2023-04-02 20:18:39 +01:00
Pavel Odintsov 15a014404a Added logic to control build of pcap module 2023-04-02 20:08:29 +01:00
Pavel Odintsov 6f3b99dadf Disabled pcap build on Windows 2023-04-02 19:58:33 +01:00
Pavel Odintsov 77134e1b1b Added option to disable pcap build 2023-04-02 19:57:29 +01:00
Pavel Odintsov 0227a923ad Added missing in6_addr definition in simple packet structure 2023-04-02 19:50:06 +01:00
Pavel Odintsov 749646cabb We do not need remote syslog and syslog appenders in all modules 2023-04-02 19:40:02 +01:00
Pavel Odintsov e376abaeed Reworked pcap format to make it more cross platform and make it more ideomatic C++ 2023-04-02 19:30:16 +01:00
Pavel Odintsov a34c9b6c9f C include cleanup for pcap plugin and cross platform logic 2023-04-02 16:35:15 +01:00
Pavel Odintsov ad4abcd061 Unified pcap logic to make it cross platform 2023-04-02 16:33:04 +01:00