netbird/client/iface/mocks
Maycon Santos c02e236196
[client,management] add netflow support to client and update management (#3414)
adds NetFlow functionality to track and log network traffic information between peers, with features including:

- Flow logging for TCP, UDP, and ICMP traffic
- Integration with connection tracking system
- Resource ID tracking in NetFlow events
- DNS and exit node collection configuration
- Flow API and Redis cache in management
- Memory-based flow storage implementation
- Kernel conntrack counters and userspace counters
- TCP state machine improvements for more accurate tracking
- Migration from net.IP to netip.Addr in the userspace firewall
2025-03-20 17:05:48 +01:00
..
iface/mocks [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
filter.go [client,management] add netflow support to client and update management (#3414) 2025-03-20 17:05:48 +01:00
README.md [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
tun.go [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00

Mocks

To generate (or refresh) mocks from iface package interfaces please install mockgen. Run this command to update PacketFilter mock:

mockgen -destination iface/mocks/filter.go -package mocks github.com/netbirdio/netbird/iface PacketFilter