mrash / fwknop

Single Packet Authorization > Port Knocking
http://www.cipherdyne.org/fwknop/
GNU General Public License v2.0
1.09k stars 228 forks source link

Add an option to resolve IP address over IPv4 only #335

Open vincentbernat opened 3 years ago

vincentbernat commented 3 years ago

Hey!

When providing my own RESOLVE_URL, there is no way to tell the resolution should be done over IPv4 only. Notably, I was not able to specify WGET_CMD as /usr/bin/wget -4. Either we could add a WGET_OPTIONS for arbitrary wget options or add a specific option to force IPv4 for resolution.

Thanks.

Seb35 commented 10 months ago

I had this issue too. I ended with a trick: