Package: netcat-openbsd
Version: 1.105-1,1.105-2,1.105-3
Severity: grave
Justification: renders package unusable

After upgrading to wheezy/sid version of netcat-openbsd, a script using nc
does not function correctly. If it is run non-interactively, nc.openbsd
quits silently before receiving a server's response unless -q sec
option is specified:

$ printf "GET / HTTP/1.0\r\n\r\n" | nc.openbsd www.example.com 80
$ printf "GET / HTTP/1.0\r\n\r\n" | nc.traditional www.example.com 80
HTTP/1.0 302 Found
Location: http://www.iana.org/domains/example/
Server: BigIP
Connection: close
Content-Length: 0

$ printf "GET / HTTP/1.0\r\n\r\n" | nc.openbsd -q 1 www.example.com 80
HTTP/1.0 302 Found
Location: http://www.iana.org/domains/example/
Server: BigIP
Connection: close
Content-Length: 0

Note that typing input from terminal does not seem to be affected:

$ nc.openbsd www.example.com 80
GET / HTTP/1.0

HTTP/1.0 302 Found
Location: http://www.iana.org/domains/example/
Server: BigIP
Connection: close
Content-Length: 0

-- 
YOSHINO Yoshihito <yy.y.ja...@gmail.com>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to