Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.20/Exporter.pm line 66. at ./ncat-test.pl line 13. Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl/5.20/Exporter.pm line 66. at ./ncat-test.pl line 13. Subroutine main::sockaddr_in6 redefined at /usr/share/perl/5.20/Exporter.pm line 66. at ./ncat-test.pl line 13. PASS Server default listen address and port PASS Server -4 default listen address and port PASS Server -6 default listen address and port PASS Server default port PASS Server default listen address PASS Server default listen address --udp IPV4 PASS Server default listen address --udp IPV6 XFAIL Server default listen address --udp IPV4 + IPV6 PASS Server default listen address -6 --udp PASS Server default listen address -4 --udp PASS Server UNIX socket listen on ncat.unixsock (STREAM) PASS Server UNIX socket listen on ncat.unixsock --udp (DGRAM) PASS Connect success exit code PASS Connect connection refused exit code PASS Connect connection interrupted exit code PASS Listen success exit code PASS Listen connection interrupted exit code PASS Program error exit code PASS Messages are logged to output file (tcp) PASS Messages are logged to output file (udp) PASS Messages are logged to output file (sctp) PASS Messages are logged to output file (tcp ssl) PASS Messages are logged to output file (sctp ssl) PASS Debug messages go to stderr (tcp) PASS Debug messages go to stderr (sctp) PASS Debug messages go to stderr (tcp ssl) PASS Debug messages go to stderr (sctp ssl) XFAIL Client closes socket write and keeps running after stdin EOF (tcp) XFAIL Client closes socket write and keeps running after stdin EOF (tcp ssl) PASS --send-only client closes socket write and stops running after stdin EOF (tcp) PASS --send-only client closes socket write and stops running after stdin EOF (tcp ssl) PASS Server closes socket write and keeps running after stdin EOF (tcp) PASS Server closes socket write and keeps running after stdin EOF (tcp ssl) PASS --send-only server closes socket write and stops running after stdin EOF (tcp) PASS --send-only server closes socket write and stops running after stdin EOF (tcp ssl) PASS Client closes stdout and keeps running after socket EOF (tcp) PASS Client closes stdout and keeps running after socket EOF (tcp ssl) PASS Client closes stdout and stops running after socket EOF (sctp) PASS Client closes stdout and stops running after socket EOF (sctp ssl) PASS --recv-only client closes stdout and stops running after socket EOF (tcp) PASS --recv-only client closes stdout and stops running after socket EOF (sctp) PASS --recv-only client closes stdout and stops running after socket EOF (tcp ssl) PASS --recv-only client closes stdout and stops running after socket EOF (sctp ssl) XFAIL Server closes stdout and keeps running after socket EOF (tcp) XFAIL Server closes stdout and keeps running after socket EOF (tcp ssl) PASS Server closes stdout and stops running after socket EOF (sctp) PASS Server closes stdout and stops running after socket EOF (sctp ssl) PASS --recv-only server closes stdout and stops running after socket EOF (tcp) PASS --recv-only server closes stdout and stops running after socket EOF (sctp) PASS --recv-only server closes stdout and stops running after socket EOF (tcp ssl) PASS --recv-only server closes stdout and stops running after socket EOF (sctp ssl) PASS Server quits without --keep-open PASS Server with --exec quits without --keep-open PASS Server quits after a failed ssl negotiation without --keep-open PASS Server does not accept multiple conns. without --keep-open PASS --keep-open PASS --keep-open --exec PASS --keep-open --exec (udp) PASS --exec (tcp) PASS --exec (udp) PASS --exec (sctp) PASS --exec (tcp ssl) PASS --exec (sctp ssl) PASS --sh-exec (tcp) PASS --sh-exec (udp) PASS --sh-exec (sctp) PASS --sh-exec (tcp ssl) PASS --sh-exec (sctp ssl) PASS --exec, quits instantly (tcp) PASS --exec, quits instantly (udp) PASS --exec, quits instantly (sctp) PASS --exec, quits instantly (tcp ssl) PASS --exec, quits instantly (sctp ssl) PASS --sh-exec with -C (tcp) PASS --sh-exec with -C (udp) PASS --sh-exec with -C (sctp) PASS --sh-exec with -C (tcp ssl) PASS --sh-exec with -C (sctp ssl) PASS --exec through proxy PASS --lua-exec (tcp) PASS --lua-exec (udp) PASS --lua-exec (sctp) PASS --lua-exec (tcp ssl) PASS --lua-exec (sctp ssl) PASS --exec, environment variables (tcp) PASS --exec, environment variables (udp) PASS --exec, environment variables (sctp) PASS --exec, environment variables (tcp ssl) PASS --exec, environment variables (sctp ssl) PASS --sh-exec, environment variables (tcp) PASS --sh-exec, environment variables (udp) PASS --sh-exec, environment variables (sctp) PASS --sh-exec, environment variables (tcp ssl) PASS --sh-exec, environment variables (sctp ssl) PASS --exec through proxy, environment variables PASS --lua-exec, environment variables (tcp) PASS --lua-exec, environment variables (udp) PASS --lua-exec, environment variables (sctp) PASS --lua-exec, environment variables (tcp ssl) PASS --lua-exec, environment variables (sctp ssl) PASS -C translation on input (tcp) PASS -C translation on input (udp) PASS -C translation on input (sctp) PASS -C translation on input (tcp ssl) PASS -C translation on input (sctp ssl) PASS -C server no translation on output (tcp) PASS -C server no translation on output (udp) PASS -C server no translation on output (sctp) PASS -C server no translation on output (tcp ssl) PASS -C server no translation on output (sctp ssl) PASS -C client no translation on output (tcp) PASS -C client no translation on output (sctp) PASS -C client no translation on output (tcp ssl) PASS -C client no translation on output (sctp ssl) PASS idle timeout (connect mode) (tcp) PASS idle timeout (connect mode) (udp) PASS idle timeout (connect mode) (sctp) PASS idle timeout (connect mode) (tcp ssl) PASS idle timeout (connect mode) (sctp ssl) PASS idle timeout (listen mode) (tcp) PASS idle timeout (listen mode) (sctp) PASS idle timeout (listen mode) (tcp ssl) PASS idle timeout (listen mode) (sctp ssl) PASS idle timeout (listen mode) (udp) PASS --send-only client (tcp) PASS --send-only client (udp) PASS --send-only client (sctp) PASS --send-only client (tcp ssl) PASS --send-only client (sctp ssl) PASS --send-only server (tcp) PASS --send-only server (udp) PASS --send-only server (sctp) PASS --send-only server (tcp ssl) PASS --send-only server (sctp ssl) PASS --send-only broker PASS --recv-only client (tcp) PASS --recv-only client (sctp) PASS --recv-only client (tcp ssl) PASS --recv-only client (sctp ssl) PASS --recv-only server (tcp) PASS --recv-only server (udp) PASS --recv-only server (sctp) PASS --recv-only server (tcp ssl) PASS --recv-only server (sctp ssl) PASS --recv-only broker PASS --broker mode (tcp) PASS --broker mode (sctp) PASS --broker mode (tcp ssl) PASS --broker mode (sctp ssl) PASS IPV4 and IPV6 clients can talk to each other in broker mode PASS Connect with -p PASS Connect through HTTP proxy with -p PASS Connect through SOCKS4 proxy with -p PASS Connect to UNIX datagram socket with -s PASS HTTP proxy bad request PASS HTTP CONNECT no port number PASS HTTP CONNECT no port number PASS HTTP CONNECT good request PASS HTTP CONNECT IPv6 address, no port number PASS HTTP CONNECT IPv6 address, no port number PASS HTTP CONNECT IPv6 address, good request PASS HTTP CONNECT IPv4-only proxy PASS HTTP CONNECT IPv6-only proxy UNEXPECTED PASS HTTP CONNECT IPv4 client, IPv6 server PASS HTTP proxy client prefers Digest auth PASS HTTP proxy client prefers Digest auth, comma-separated PASS HTTP proxy Digest client auth PASS HTTP proxy Digest client auth, no qop PASS HTTP proxy client handles scheme without auth-params PASS HTTP proxy client handles scheme without auth-params, comma-separated PASS HTTP CONNECT proxy relays PASS HTTP CONNECT client hides proxy server response FAIL HTTP CONNECT client, different Status-Line Proxy client sent "" to the user stream at ./ncat-test.pl line 1910. FAIL HTTP CONNECT client, server sends header Proxy client sent "" to the user stream at ./ncat-test.pl line 1923. PASS HTTP CONNECT server doesn't consume anything after request PASS HTTP CONNECT overlong Request-Line PASS HTTP CONNECT overlong header PASS HTTP GET hostname only PASS HTTP GET path only PASS HTTP GET absolute URI PASS HTTP GET absolute URI, no path PASS HTTP GET percent escape PASS HTTP GET remove Connection header fields PASS HTTP GET combine multiple headers with the same name PASS HTTP GET request loop PASS HTTP GET IPv6 request loop PASS HTTP HEAD absolute URI PASS HTTP POST PASS HTTP POST Content-Length: 0 PASS HTTP POST short Content-Length PASS HTTP POST long Content-Length PASS HTTP POST chunked transfer encoding PASS HTTP POST chunked transfer encoding, no data PASS HTTP proxy unknown method PASS HTTP proxy auth base64 encoding: "" PASS HTTP proxy auth base64 encoding: "a" PASS HTTP proxy auth base64 encoding: "a:" PASS HTTP proxy auth base64 encoding: ":a" PASS HTTP proxy auth base64 encoding: "user:sss" PASS HTTP proxy auth base64 encoding: "user:ssss" PASS HTTP proxy auth base64 encoding: "user:sssss" PASS HTTP proxy auth base64 encoding: "user:~~~" PASS HTTP proxy auth base64 encoding: "user:~~~~" PASS HTTP proxy auth base64 encoding: "user:~~~~~" PASS HTTP proxy server auth challenge (tcp) PASS HTTP proxy server auth challenge (tcp ssl) PASS HTTP proxy server correct auth (tcp) PASS HTTP proxy server correct auth (tcp ssl) PASS HTTP proxy Basic wrong user (tcp) PASS HTTP proxy Basic wrong user (tcp ssl) PASS HTTP proxy Basic wrong pass (tcp) PASS HTTP proxy Basic wrong pass (tcp ssl) PASS HTTP proxy Basic correct auth, different case (tcp) PASS HTTP proxy Basic correct auth, different case (tcp ssl) PASS HTTP proxy Digest wrong user PASS HTTP proxy Digest wrong pass PASS HTTP proxy Digest correct auth PASS HTTP proxy Digest correct auth, no qop PASS HTTP proxy Digest missing fields XFAIL HTTP proxy Digest prevents replay PASS HTTP proxy server LWS (tcp) PASS HTTP proxy server LWS (tcp ssl) PASS HTTP proxy server LWS (tcp) PASS HTTP proxy server LWS (tcp ssl) PASS HTTP proxy server no auth (tcp) PASS HTTP proxy server no auth (tcp ssl) PASS HTTP proxy server broken auth (tcp) PASS HTTP proxy server broken auth (tcp ssl) PASS HTTP proxy server extra auth (tcp) PASS HTTP proxy server extra auth (tcp ssl) PASS Allow localhost (IPv4 address) (tcp) PASS Allow localhost (IPv4 address) (udp) PASS Allow localhost (IPv4 address) (sctp) PASS Allow localhost (IPv4 address) (tcp ssl) PASS Allow localhost (IPv4 address) (sctp ssl) PASS Allow localhost (host name) (tcp) PASS Allow localhost (host name) (udp) PASS Allow localhost (host name) (sctp) PASS Allow localhost (host name) (tcp ssl) PASS Allow localhost (host name) (sctp ssl) PASS Allow non-localhost (tcp) PASS Allow non-localhost (udp) PASS Allow non-localhost (sctp) PASS Allow non-localhost (tcp ssl) PASS Allow non-localhost (sctp ssl) PASS --allow options accumulate (tcp) PASS --allow options accumulate (udp) PASS --allow options accumulate (sctp) PASS --allow options accumulate (tcp ssl) PASS --allow options accumulate (sctp ssl) PASS Deny localhost (IPv4 address) (tcp) PASS Deny localhost (IPv4 address) (udp) PASS Deny localhost (IPv4 address) (sctp) PASS Deny localhost (IPv4 address) (tcp ssl) PASS Deny localhost (IPv4 address) (sctp ssl) PASS Deny localhost (host name) (tcp) PASS Deny localhost (host name) (udp) PASS Deny localhost (host name) (sctp) PASS Deny localhost (host name) (tcp ssl) PASS Deny localhost (host name) (sctp ssl) PASS Deny non-localhost (tcp) PASS Deny non-localhost (udp) PASS Deny non-localhost (sctp) PASS Deny non-localhost (tcp ssl) PASS Deny non-localhost (sctp ssl) PASS --deny options accumulate (tcp) PASS --deny options accumulate (udp) PASS --deny options accumulate (sctp) PASS --deny options accumulate (tcp ssl) PASS --deny options accumulate (sctp ssl) PASS Allow and deny (tcp) PASS Allow and deny (udp) PASS Allow and deny (sctp) PASS Allow and deny (tcp ssl) PASS Allow and deny (sctp ssl) PASS --allowfile (tcp) PASS --allowfile (udp) PASS --allowfile (sctp) PASS --allowfile (tcp ssl) PASS --allowfile (sctp ssl) PASS --denyfile (tcp) PASS --denyfile (udp) PASS --denyfile (sctp) PASS --denyfile (tcp ssl) PASS --denyfile (sctp ssl) PASS --allowfile (tcp) PASS --allowfile (udp) PASS --allowfile (sctp) PASS --allowfile (tcp ssl) PASS --allowfile (sctp ssl) PASS --denyfile (tcp) PASS --denyfile (udp) PASS --denyfile (sctp) PASS --denyfile (tcp ssl) PASS --denyfile (sctp ssl) PASS SSL server relays PASS SSL server handles non-SSL connections PASS SSL server doesn't block during handshake PASS SSL server doesn't block during handshake(--keep-open) PASS SSL --exec server doesn't block during handshake PASS SSL verification, correct domain name PASS SSL verification, wrong domain name PASS SSL verification, no server cert PASS --keep-open server keeps connection count properly. PASS --broker server keeps connection count properly. PASS SSL --keep-open server keeps connection count properly. PASS SSL --broker server keeps connection count properly. FAIL SOCKS5 client, server require auth username/password (access allowed), IPv4 Client not connected at ./ncat-test.pl line 2846. FAIL SOCKS5 client, server require auth username/password (access allowed), IPv6 Client did not sent required authentication method x02 at ./ncat-test.pl line 2862. FAIL SOCKS5 client, server require auth username/password (access allowed), domain Client not connected at ./ncat-test.pl line 2846. FAIL SOCKS5 client, server allows connection - no auth Client not connected at ./ncat-test.pl line 2846. XFAIL SOCKS5 client, server require auth username/password (access denied) XFAIL SOCKS5 client, server require auth username/password (too long login) XFAIL SOCKS5 client, server sends short response XFAIL SOCKS5 client, server sends no acceptable auth method XFAIL SOCKS5 client, server sends unkown code PASS --max-conns 0 --keep-open (tcp) PASS --max-conns 0 --keep-open (sctp) PASS --max-conns 0 --keep-open (tcp ssl) PASS --max-conns 0 --keep-open (sctp ssl) PASS --max-conns 1 --keep-open (tcp) PASS --max-conns 1 --keep-open (sctp) PASS --max-conns 1 --keep-open (tcp ssl) PASS --max-conns 1 --keep-open (sctp ssl) PASS --max-conns 10 --keep-open (tcp) PASS --max-conns 10 --keep-open (sctp) PASS --max-conns 10 --keep-open (tcp ssl) PASS --max-conns 10 --keep-open (sctp ssl) PASS --max-conns 0 --broker (tcp) PASS --max-conns 0 --broker (tcp ssl) PASS --max-conns 1 --broker (tcp) PASS --max-conns 1 --broker (tcp ssl) PASS --max-conns 10 --broker (tcp) PASS --max-conns 10 --broker (tcp ssl) PASS --max-conns 0 --keep-open with exec (tcp) PASS --max-conns 0 --keep-open with exec (udp) PASS --max-conns 0 --keep-open with exec (sctp) PASS --max-conns 0 --keep-open with exec (tcp ssl) PASS --max-conns 0 --keep-open with exec (sctp ssl) PASS --max-conns 1 --keep-open with exec (tcp) PASS --max-conns 1 --keep-open with exec (sctp) XFAIL --max-conns 1 --keep-open with exec (udp xfail) FAIL --max-conns 1 --keep-open with exec (tcp ssl) --max-conns 1 server did not accept client #1 after freeing one space at ./ncat-test.pl line 382. FAIL --max-conns 1 --keep-open with exec (sctp ssl) --max-conns 1 server did not accept client #1 after freeing one space at ./ncat-test.pl line 382. PASS --max-conns 10 --keep-open with exec (tcp) PASS --max-conns 10 --keep-open with exec (sctp) XFAIL --max-conns 10 --keep-open with exec (udp xfail) FAIL --max-conns 10 --keep-open with exec (tcp ssl) --max-conns 10 server did not accept client #10 after freeing one space at ./ncat-test.pl line 382. FAIL --max-conns 10 --keep-open with exec (sctp ssl) --max-conns 10 server did not accept client #10 after freeing one space at ./ncat-test.pl line 382. PASS --max-conns 0 (tcp) PASS --max-conns 0 (udp) PASS --max-conns 0 (sctp) PASS --max-conns 0 (tcp ssl) PASS --max-conns 0 (sctp ssl) PASS --max-conns 0 with exec (tcp) PASS --max-conns 0 with exec (udp) PASS --max-conns 0 with exec (sctp) PASS --max-conns 0 with exec (tcp ssl) PASS --max-conns 0 with exec (sctp ssl) 13 expected failures. 1 unexpected passes. 10 unexpected failures. 359 tests total.