[client] --nat-rand-port bug fix
authorMichael Rash <mbr@cipherdyne.org>
Sat, 16 Mar 2013 18:38:20 +0000 (14:38 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sat, 16 Mar 2013 18:38:20 +0000 (14:38 -0400)
commit4bdb71315a049e072f95e3426fe9c149ca763586
tree57a74841d939637c1a0660e405414251d2316dbd
parent253ccb7cea76d4b6f381998b7c00c785674b138f
[client] --nat-rand-port bug fix

Bug fix for --nat-rand-port mode to ensure that the port to be
NAT'd is properly defined so that the fwknopd server will NAT
connnections to this port instead of applying the NAT operation to the
port that is to be accessed via -A.  This change also prints the
randomly assigned port to stdout regardless of whether --verbose mode is
used (since it not then the user will have no idea which port is
actually going to be NAT'd on the fwknopd side).
ChangeLog
Makefile.am
client/fwknop.c
test/conf/fwknoprc_hmac_sha512_long_key [new file with mode: 0644]
test/conf/hmac_force_nat_access.conf [new file with mode: 0644]
test/conf/hmac_sha256_open_ports_access.conf [new file with mode: 0644]
test/conf/hmac_sha512_long_key_access.conf [new file with mode: 0644]
test/test-fwknop.pl
test/tests/rijndael.pl
test/tests/rijndael_hmac.pl