Commit graph

19 commits

Author SHA1 Message Date
Vishal Dalwadi
a4981ffd26
NM-168: Network Flow Logs (#3754)
* feat(go): define flow events;

* feat(go): improve structure;

* feat(go): improve structure;

* feat(go): remove old flow definitions;

* feat(sql): add clickhouse init scripts;

* feat(sql): add protobuf spec;

* fix(sql): store ip as string;

* feat(go): move proto def to grpc dir;

* feat(go): use node instead of host as type; optimize protobuf defs;

* feat(go): add clickhouse db support; add endpoint to query flows;

* fix(go): fix clickhouse config;

* fix(go): use error response structure to report error;

* feat(go): pass flow logging status to netclient;

* feat(go): add peer ip identity map to host peer info;

* feat(go): remove prefix from participant obj fields;

* feat(go): add flow logs enabled field to host;

* feat(go): add filtering to get flow api;

* feat(go): fix record struct;

* feat(go): add exporter url to server config;

* feat(go): add exporter url to server config;

* feat(go): enable flow logs by default;

* feat(go): update nm-quick.sh;

* feat(go): update nm-quick.sh;

* feat(go): update nm-quick.sh;

* feat(go): update nm-quick.sh;

* feat(go): add db initialization logic;

* feat(go): filter by network id;

* fix(go): connection issue;

* fix(go): connection issue;

* fix(go): golang builder version;

* feat(go): add server settings for flow logs;

* feat(go): initialize clickhouse in pro; check for retention;

* feat(go): add exporter feature flags;

* feat(go): add grpc behind caddy;

* feat(go): expose ports correctly;

* fix(go): grpc caddyfile config;

* fix(go): publish exporter feature flags on license validation;

* fix(go): set server name for netmaker exporter;

* fix(go): set server name for netmaker exporter;

* fix(go): check for nil cancel func;

* fix(go): add flow logs field to api host;

* fix(go): add flow logs field to api host;

* fix(go): remove port from grpc setting;

* chore(go): tabs;

* feat(go): introduce egress range participant type;.

* feat(go): rename egress range to egress route for uniform language;

* feat(go): rename egress range to egress route for uniform language;

* feat: add peer addr identity map to host peer update;

* feat: add address identity map to host peer update;

* feat: add address identity map to host peer update;

* feat: set correct from and to args;

* feat: add support for filtering by node;

* feat: use corresponding base image;

* feat: update dockerfile base image version;

* fix: disable flow logs for all host when global settings are changed;
2025-12-12 14:12:00 +04:00
Matthew R. Kasun
886ec31553 remove grpc 2022-04-21 15:04:44 -04:00
worker-9
44d03f6805 began refactoring of client 2021-08-05 12:24:16 -04:00
afeiszli
4710a3db6d updated netclient for egressgatways 2021-07-27 14:48:58 +00:00
afeiszli
4a6ebfc108 added udp holepunching 2021-07-25 14:22:20 -04:00
afeiszli
9813fd24a3 fixed server config api 2021-06-01 15:14:34 +00:00
afeiszli
112b01f526 netclient working for ingress controller 2021-05-27 14:57:59 -04:00
afeiszli
78ae219b03 major overhaul initiated 2021-05-25 12:48:04 -04:00
afeiszli
29e332edf7 adding extclient functionality 2021-05-19 13:59:10 -04:00
afeiszli
45eb3b4466 added ipv6 responses 2021-05-06 11:41:11 +00:00
afeiszli
9db5d43304 adding dns stuff 2021-05-05 21:07:00 -04:00
afeiszli
1fd30c0a71 saving netclient changes 2021-05-05 20:51:59 -04:00
afeiszli
62ace03f5e gateway works but local address not being set to endpoint. 2021-04-17 12:13:26 -04:00
afeiszli
9839cbd806 adding gateway functionality 2021-04-13 02:55:49 -04:00
afeiszli
2ea497c6ff massive number of changes to schema and error handling. 2021-04-13 00:42:35 -04:00
afeiszli
0ad06984e6 fixed conflicting password issue 2021-04-07 09:39:40 -04:00
afeiszli
5725530d56 auto delete timestamp works 2021-04-05 20:47:19 -04:00
afeiszli
3ca3a3e172 peer update functionality 2021-04-05 18:09:21 -04:00
afeiszli
0bacbd9f6c first commit 2021-03-25 12:17:52 -04:00