-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[client] Fix 'Could not set destination IP.' in hostname resolution in '-P icmp' mode #64
Comments
Hi Michael, Same problem when the spoof string is an hostname. But reading the man page, it only waits for an ipv4 string. |
Excellent, I've assigned this to the fwknop-2.5 release milestone. |
Done (check last commit). I have added a test for this. I have not touched the spoof string. If it makes sense to set a hostname instead of an ip address, then it should also be resolved. |
Merged, thanks! |
It seems that hostname resolution is not working when SPA packets are spoofed. Here is the command line to trigger the problem:
fwknop -A tcp/22 -a 127.0.0.2 -D --verbose --verbose -P icmp --icmp-type 8 --icmp-code 0 -Q 1.2.3.4
The text was updated successfully, but these errors were encountered: