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.
23 lines
874 B
Plaintext
23 lines
874 B
Plaintext
[default]
|
|
ACCESS tcp/22
|
|
SPA_SERVER 127.0.0.1
|
|
ALLOW_IP resolve
|
|
USE_HMAC Y
|
|
HMAC_DIGEST_TYPE sha256
|
|
KEY_BASE64 wzNP62oPPgEc+kXDPQLHPOayQBuNbYUTPP+QrErNDmg=
|
|
HMAC_KEY_BASE64 Yh+xizBnl6FotC5ec7FanVGClRMlsOAPh2u6eovnerfBVKwaVKzjGoblFMHMc593TNyi0dWn4opLoTIV9q/ttg==
|
|
DIGEST_TYPE sha256
|
|
SPA_SERVER_PROTO udp
|
|
SPA_SERVER_PORT 62201
|
|
SPOOF_USER mbrtest
|
|
VERBOSE Y
|
|
TIME_OFFSET -1s
|
|
ENCRYPTION_MODE CBC
|
|
USE_GPG N
|
|
USE_GPG_AGENT N
|
|
RESOLVE_IP_HTTPS Y
|
|
HTTP_USER_AGENT FwknopTestSuite/2.6
|
|
WGET_CMD wget
|
|
USE_WGET_USER_AGENT Y
|
|
RESOLVE_URL https://www.cipherdyne.org/cgi-bin/myip
|