Use the fwknop User-Agent for wget SSL external IP resolutions master
authorMichael Rash <mbr@cipherdyne.org>
Sun, 28 Sep 2014 03:23:12 +0000 (23:23 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sun, 28 Sep 2014 03:23:12 +0000 (23:23 -0400)
commit50434c5c4c9fe274430c560f83200061e545add2
tree3738a3b31c287e00e7b97bbe210d29251f2d4978
parentaae72a947026d96a43fe854079e92b9a31ad8b36
Use the fwknop User-Agent for wget SSL external IP resolutions

Bug fix to ensure that a User-Agent string can be specified when the
fwknop client uses wget via SSL to resolve the external IP address. This
closes issue #134 on github reported by Barry Allard. The fwknop now
uses the wget '-U' option to specify the User-Agent string with a
default of "Fwknop/<version>". In addition, a new command line argument
"--use-wget-user-agent" to allow the default wget User-Agent string to
apply instead.
CREDITS
ChangeLog
client/cmd_opts.h
client/config_init.c
client/fwknop.8.in
client/fwknop_common.h
client/http_resolve_host.c
doc/fwknop.man.asciidoc
test/conf/fwknoprc_hmac_https_resolve
test/tests/basic_operations.pl
test/tests/rijndael_hmac.pl