Your message dated Sat, 18 Feb 2012 19:21:26 +0000
with message-id <[email protected]>
and subject line Bug#606925: fixed in netcat-openbsd 1.105-1
has caused the Debian Bug report #606925,
regarding netcat-openbsd: -q flag behavior seems inverted from 
netcat-traditional
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
606925: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606925
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netcat-openbsd
Version: 1.89-4
Severity: normal

It seems that the behavior of the -q flag for netcat-openbsd is the
exact opposite of the behavior for the same flag in netcat-traditional, despite 
the documentation being the same.  Here's the documentation:

0 dkg@pip:~$ man nc_traditional | grep -A1 ' -q'
       -q seconds   after EOF on stdin, wait the specified number  of  seconds
                    and then quit. If seconds is negative, wait forever.
0 dkg@pip:~$ man nc_openbsd | grep -A1 ' -q'
     -q      after EOF on stdin, wait the specified number of seconds and then
             quit. If seconds is negative, wait forever.
0 dkg@pip:~$ 

Look at the timeouts for these connections (/usr/bin/ts is from the
moreutils package):

0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | nc.openbsd 
-q10 nytimes.com 80 | ts '%H:%M:%.S'
20:27:38.205106 HTTP/1.1 301 Moved Permanently
20:27:38.205425 Server: Sun-ONE-Web-Server/6.1
20:27:38.205489 Date: Mon, 13 Dec 2010 01:27:38 GMT
20:27:38.205541 Content-length: 122
20:27:38.205590 Content-type: text/html
20:27:38.205639 Location: http://www.nytimes.com/
20:27:38.205688 nnCoection: close
20:27:38.205736 
20:27:38.205784 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
20:27:38.205834 <BODY><H1>Moved Permanently</H1>
20:27:38.205883 An error has occurred.
20:27:48.105500 </BODY></HTML>
real    0m10.103s
user    0m0.088s
sys     0m0.008s
0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | nc.openbsd 
nytimes.com 80 | ts '%H:%M:%.S'
20:27:53.522015 HTTP/1.1 301 Moved Permanently
20:27:53.522315 Server: Sun-ONE-Web-Server/6.1
20:27:53.522376 Date: Mon, 13 Dec 2010 01:27:53 GMT
20:27:53.522426 Content-length: 122
20:27:53.522474 Content-type: text/html
20:27:53.522521 Location: http://www.nytimes.com/
20:27:53.522570 Connection: close
20:27:53.522617 
20:27:53.522665 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
20:27:53.522714 <BODY><H1>Moved Permanently</H1>
20:27:53.522763 An error has occurred.
20:27:53.553898 </BODY></HTML>
real    0m0.135s
user    0m0.088s
sys     0m0.004s
0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | 
nc.traditional -q10 nytimes.com 80 | ts '%H:%M:%.S'
20:28:00.222656 HTTP/1.1 301 Moved Permanently
20:28:00.222931 Server: Sun-ONE-Web-Server/6.1
20:28:00.222994 Date: Mon, 13 Dec 2010 01:28:00 GMT
20:28:00.223048 Content-length: 122
20:28:00.223098 Content-type: text/html
20:28:00.223150 Location: http://www.nytimes.com/
20:28:00.223201 nnCoection: close
20:28:00.223252 
20:28:00.223303 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
20:28:00.223355 <BODY><H1>Moved Permanently</H1>
20:28:00.223406 An error has occurred.
20:28:00.479129 </BODY></HTML>
real    0m0.361s
user    0m0.088s
sys     0m0.004s
0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | 
nc.traditional nytimes.com 80 | ts '%H:%M:%.S'
20:28:05.244744 HTTP/1.1 301 Moved Permanently
20:28:05.245017 Server: Sun-ONE-Web-Server/6.1
20:28:05.245080 Date: Mon, 13 Dec 2010 01:28:05 GMT
20:28:05.245130 Content-length: 122
20:28:05.245178 Content-type: text/html
20:28:05.245225 Location: http://www.nytimes.com/
20:28:05.245273 nnCoection: close
20:28:05.245320 
20:28:05.245367 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
20:28:05.245416 <BODY><H1>Moved Permanently</H1>
20:28:05.245464 An error has occurred.
20:33:20.109584 </BODY></HTML>
real    5m14.963s
user    0m0.080s
sys     0m0.008s
0 dkg@pip:~$ 


Thanks for netcat.  it's a very useful tool.

Regards,

        --dkg

PS i have netcat-traditional 1.10-38 installed.  feel free to reassign
   this bug to that package if you think the bug is over there.
   hopefully these two implementations can come to some consensus over
   the proper behavior of the arguments.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netcat-openbsd depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.2-1   The GLib library of C routines

netcat-openbsd recommends no packages.

netcat-openbsd suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: netcat-openbsd
Source-Version: 1.105-1

We believe that the bug you reported is fixed in the latest version of
netcat-openbsd, which is due to be installed in the Debian FTP archive:

netcat-openbsd_1.105-1.debian.tar.gz
  to main/n/netcat-openbsd/netcat-openbsd_1.105-1.debian.tar.gz
netcat-openbsd_1.105-1.dsc
  to main/n/netcat-openbsd/netcat-openbsd_1.105-1.dsc
netcat-openbsd_1.105-1_amd64.deb
  to main/n/netcat-openbsd/netcat-openbsd_1.105-1_amd64.deb
netcat-openbsd_1.105.orig.tar.gz
  to main/n/netcat-openbsd/netcat-openbsd_1.105.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aron Xu <[email protected]> (supplier of updated netcat-openbsd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 15 Feb 2012 01:39:04 +0800
Source: netcat-openbsd
Binary: netcat-openbsd
Architecture: source amd64
Version: 1.105-1
Distribution: unstable
Urgency: low
Maintainer: Aron Xu <[email protected]>
Changed-By: Aron Xu <[email protected]>
Description: 
 netcat-openbsd - TCP/IP swiss army knife
Closes: 508722 510372 512992 514792 535951 540073 550611 570765 579485 579486 
579487 579488 594614 604781 606925 607003 611964 633948
Changes: 
 netcat-openbsd (1.105-1) unstable; urgency=low
 .
   * New upstream CVS snapshot, new maintainer.
     - Verbose message to strerr (Closes: #570765).
     - Can use packet's content > 1024 (Closes: #607003).
     - Replace non-portable echo with printf (Closes: #510372).
   * debian/patches:
     - Rearrange existing patches, fix new porting issues.
     - Option -l and -p are now compatible (Closes: #540073).
     - Use libbsd instead of glib for strlcpy (Closes: #550611).
     - Fix build with -Wl,--as-needed (Closes: #604781).
     - Handling multiple clients subsquently when -k (Closes: #514792).
     - Replace inet_ntoa with inet_ntop to support IPv6
       (Closes: #512992).
     - Modify -q behavior to be compatible with nc.traditional
       (Closes: #508722, #594614, #606925, #611964).
     - DCCP and broadcast support.
     - Arbitrary port list to scan.
     - Fix misc connection failures
       (Closes: #579485, #579486, #579487, #579488, #633948).
     - Improve verbose information and documentations.
   * debian/rules:
     - Link nc.openbsd.1 from nc.1 (Closes: #535951).
     - Enable optional hardening build flags.
   * debian/control:
     - Replace glib with libbsd.
     - Update to use debhelper 8, std-ver 3.9.2.
     - Priority: important, to make it into base system.
     - Add Vcs-*.
   * debian/compat:
     - Update to 8 from 4.
Checksums-Sha1: 
 5646dd1b36bf191eabac959f29912b0a1bbf124d 1514 netcat-openbsd_1.105-1.dsc
 7791b24ded7ef4a3fb307e077f37026b8d009b15 14891 netcat-openbsd_1.105.orig.tar.gz
 0c588b7247f07ded1347bf3bf84b44501dc9be32 30355 
netcat-openbsd_1.105-1.debian.tar.gz
 3554ced4eb46e8cc8e7482c9d877c5074c12ca95 38990 netcat-openbsd_1.105-1_amd64.deb
Checksums-Sha256: 
 3e718d5e9e4cc19e2f881c82e62f388c50777ab8ab56adc9c6e3a0b4d771a2c5 1514 
netcat-openbsd_1.105-1.dsc
 40653fe66c1516876b61b07e093d826e2a5463c5d994f1b7e6ce328f3edb211e 14891 
netcat-openbsd_1.105.orig.tar.gz
 2056442502821588e93ffe91fd96d68d0da08b4bbfad97dd433a13a2f62c9859 30355 
netcat-openbsd_1.105-1.debian.tar.gz
 160efa9c9a733c127bdfe66a3efc64cf43b7c1d69dac9dea04f54b65a93cf300 38990 
netcat-openbsd_1.105-1_amd64.deb
Files: 
 aa6af3681c0641e1d6e75a8aaf34e81c 1514 net important netcat-openbsd_1.105-1.dsc
 7e67b22f1ad41a1b7effbb59ff28fca1 14891 net important 
netcat-openbsd_1.105.orig.tar.gz
 52eaf0695d0951b82aba7ae074f71c76 30355 net important 
netcat-openbsd_1.105-1.debian.tar.gz
 77185774f0470f9e5d7779b5a651afdc 38990 net important 
netcat-openbsd_1.105-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCgAGBQJPP/alAAoJEIAhAkTu07wNXg8H/1+ZJCN312Iopxbnfm4JKve6
k5rlOxFHQRuAycziVu9CYiBMLbADuQEaB+s84kqpmZM4ycvnoQPa1C+6kiqbshFw
ftb0SMTPK1uQnqFqBLvIn08iSB8Iwg45oQNC5+PfVhmmZ1RHIgufJ4EyW8/jyPe0
W82s3w5jEswj9Tq1xHjDbCjL/T4qzQLav3S6gIMJ2D/2MjCoRDZZn1RghaWMqRvQ
83/gaCDxv5LZPwbjE423/BA4G1cF8SKzBb4VhpXwFxm8gfER7OhjEfJ0XCS40us6
tdccikM4BhvOcRpED3Bjxd2imHm2/Np33spD7qGbOqk8G7CynFIdeiVdOkgTEVI=
=8pFP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to