netbird/iface/mocks/README.md
Givi Khojanashvili 1d9feab2d9
Feat fake dns address (#902)
Works only with userspace implementation:
1. Configure host to solve DNS requests via a fake DSN server address in the Netbird network.
2. Add to firewall catch rule for these DNS requests.
3. Resolve these DNS requests and respond by writing directly to wireguard device.
2023-06-08 13:46:57 +04:00

293 B

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