Your message dated Mon, 30 Apr 2018 18:20:24 +0000
with message-id <[email protected]>
and subject line Bug#897020: fixed in netcat-openbsd 1.190-2
has caused the Debian Bug report #897020,
regarding Specifiying the local address/port with -s/-p no longer works in 
client mode
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.)


-- 
897020: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netcat-openbsd
Version: 1.190-1

Hi,
while triaging [1] I realized Debian is affected as well and the change is
from Guilhem, so I wanted to report to you as well.

Some details:
-s is broken, e.g. example from the man page:
# netcat -s 10.1.2.3 host.example.com 42
usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i interval] [-M ttl]
          [-m minttl] [-O length] [-P proxy_username] [-p source_port]
          [-q seconds] [-s source] [-T keyword] [-V rtable] [-W recvlimit]
[-w timeout]
          [-X proxy_protocol] [-x proxy_address[:port]]
 [destination] [port]

This is since 1.187-1 by this change:
  commit 2ebffb014c830e49f6fad600c59cc1b82fe356a4
  Author: Guilhem Moulin <[email protected]>
  Date: Sun Dec 3 22:58:11 2017 +0100
    Allow usage of -s with -l for consistency with netcat-traditional.

In gdb I see it gets to read -s

                case 's':
                        sflag = optarg;
                        break;

It realizes no more options are there and then ends at
        } else if (argv[0] && argv[1]) {
                host = argv[0];
                uport = &argv[1];
                if (pflag || sflag)
                        usage(1);

Thereby this check doesn't allow slfag/pflag along with "two arg usage"

It might even be correct to do so, I'm really not deep into netcat, but if
so I don#t see it immediately and would appreciate your explanation (or
help on a fix if it really is an issue).

[1]: https://bugs.launchpad.net/ubuntu/+source/netcat-openbsd/+bug/1767283

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

--- End Message ---
--- Begin Message ---
Source: netcat-openbsd
Source-Version: 1.190-2

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.

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.
Guilhem Moulin <[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: Mon, 30 Apr 2018 19:53:34 +0200
Source: netcat-openbsd
Binary: netcat-openbsd
Architecture: source amd64
Version: 1.190-2
Distribution: unstable
Urgency: low
Maintainer: Aron Xu <[email protected]>
Changed-By: Guilhem Moulin <[email protected]>
Description:
 netcat-openbsd - TCP/IP swiss army knife
Closes: 897020
Changes:
 netcat-openbsd (1.190-2) unstable; urgency=low
 .
   * d/patches/misc-failures-and-features.patch: Refactor option/argument
     verification logic and re-enable usage of '-s' (local source address) and
     '-p' (local source port) in client mode (when '-l' is unset).  Regression
     introduced in version 1.187-1 of that file.  Closes: #897020, LP: #1767283.
   * debian/control: Bump Standards-Version to 4.1.4 (no changes necessary).
Checksums-Sha1:
 007ee37bf0d123022db88b63793a1d6b5e9d7fdd 1905 netcat-openbsd_1.190-2.dsc
 f4eaf9de3693db1f2d5d693ea116b0b5e40f4c36 34836 
netcat-openbsd_1.190-2.debian.tar.xz
 95e0f9d3fa68ef8afc8e480686504131527002ed 28932 
netcat-openbsd-dbgsym_1.190-2_amd64.deb
 bcec6ec891c0b3f74c3bea48026443a5e275c7cc 5860 
netcat-openbsd_1.190-2_amd64.buildinfo
 f704ad035ab0c304feae1970b403d78dc47316d5 40768 netcat-openbsd_1.190-2_amd64.deb
Checksums-Sha256:
 56a880ac4514c0241fe016a59b06323571b87cc41b4d7acceb3cf4b9cbd71212 1905 
netcat-openbsd_1.190-2.dsc
 88088af3f520c7825e59bc133d65e70fc4a30139d451c6faabbd9f240bc78374 34836 
netcat-openbsd_1.190-2.debian.tar.xz
 c160881c86bd59ac94c1adf1e747b15ca45a197f88928afc9b71095211c2ef19 28932 
netcat-openbsd-dbgsym_1.190-2_amd64.deb
 2d4dbe1b360cf900a2517f9276d52edb25f4672346428263cd25c331fe76f288 5860 
netcat-openbsd_1.190-2_amd64.buildinfo
 28359f44adbf2878db6770c02fd6596791218a8ed2ca3e3053f1429c8f0b595a 40768 
netcat-openbsd_1.190-2_amd64.deb
Files:
 68141b5121e2c03b61d613f71fd5ca12 1905 net important netcat-openbsd_1.190-2.dsc
 78058b7af0170654b877b02c37716cdf 34836 net important 
netcat-openbsd_1.190-2.debian.tar.xz
 082e5bfb5eed7c3ee7277e3e39b83bb5 28932 debug optional 
netcat-openbsd-dbgsym_1.190-2_amd64.deb
 e00d95a59db817836999e8f34495d505 5860 net important 
netcat-openbsd_1.190-2_amd64.buildinfo
 94ca99792bb4e6890cabcbdeab810042 40768 net important 
netcat-openbsd_1.190-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAlrnWEcACgkQ05pJnDwh
pVK0MA//YTFlC+tKcg/NCCGPwTJzx4SdS0YoOuioan7XB0w5Ha4Qfc7Mj7wssPXn
WE0j+rQSAbj9R4p1hNSpHuaulEhkNJ6rnmBBNlaGqsgojNC0+jm7apoICPl/uGNN
MtxU/GJbGAq0PcWX+NQtNGhl/U+M2hwu8TmKUbjN4WBQeBku62m2Hv6Wzahvcr2x
24MaH/BrSJSC63Y0YEIRTANkCL+y9UjTAfL2OacDxRZ/YAfxozhrBO/vWVEGZu9X
cLza0B0HwkgZskL3VdnH/63IkZt16nttjnPoh3xR4MKA3gNLFP6YR97i3WxW66Wz
icbru1ib8QiPSV1P8vWZksiIOAyjSAMyk6q3MkdV+wx8NDoJ1oxiH4r+zDB2gSED
XM6jENIg9vmlWVFGvMhfwNee4NDHxN4rl20dEAzQk0FGDvYxLmLOKti1evoksZgK
AZsB/yMtVlBeikDiZtOkV1nMw+i6xiPSIuGc4UMSSdEzceUpIMEsN8iV15zazsXO
cYMVJUnPuG4Tnfmza4b+7X04tuddAhdEgcveFmtA/EELPQXIapYpat8Wg9SqxGIC
2i/4DWcnR3dzZd+ucoVOk3g31xt8gIVymy8l831EgyQKbtFHoBuID01E8uGJSGUK
Gap8v9qCDAz1HHBT5crs8rBsmGJBoVPZjiX0kM9dwi9Eav+uZxA=
=O7Sw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to