arriven / db1000n

MIT License
1.18k stars 208 forks source link

How to bind to specific interface ? #520

Closed Sfinx closed 2 years ago

Sfinx commented 2 years ago

Having several interfaces and need to force usage of specific one. How to do this ? There is must be option "-I" like ping has or so.

arriven commented 2 years ago

As of 0.8.32 you can specify --local-address <ip> to achieve that

Sfinx commented 2 years ago

Thanks !

deputinizer commented 2 years ago

Also fixed in a7edd0071ee129712fe3ebdf643a75e24c3f1a0a

Sfinx commented 2 years ago

Works with ipv6 ! But still small bug that was not present at pre 0.8x series - countrycheker still uses ipv4 addressing for country check :

utils/countrychecker.go:78      location info   {"country": ....