Your message dated Wed, 13 Jun 2012 01:17:33 +0000
with message-id <[email protected]>
and subject line Bug#676997: fixed in netcat-openbsd 1.105-7
has caused the Debian Bug report #676997,
regarding netcat-openbsd: cannot use -u and -U, even though manpage (and the
code) says it's ok
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.)
--
676997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676997
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netcat-openbsd
Version: 1.105-6
Severity: normal
Tags: patch
According to the manpage, -U with -u should use unix dgram sockets, but
there's a check disallowing these two flags to be mixed. Simply disabling
that check makes it work -- I tested it with wpa_supplicant's control socket.
I'm attaching a patch which fixes that.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (980, 'testing'), (980, 'stable'), (500, 'unstable'), (500,
'stable'), (200, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.3.7-lis64+ (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages netcat-openbsd depends on:
ii libbsd0 0.3.0-2
ii libc6 2.13-27
netcat-openbsd recommends no packages.
netcat-openbsd suggests no packages.
-- no debconf information
--
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
diff -up netcat-openbsd-1.105/netcat.c.orig netcat-openbsd-1.105/netcat.c
--- netcat-openbsd-1.105/netcat.c.orig 2012-06-11 00:54:15.000000000 +0200
+++ netcat-openbsd-1.105/netcat.c 2012-06-11 00:59:03.370482865 +0200
@@ -354,8 +354,10 @@ main(int argc, char *argv[])
/* Cruft to make sure options are clean, and used properly. */
if (argv[0] && !argv[1] && family == AF_UNIX) {
+# if 0
if (uflag)
errx(1, "cannot use -u and -U");
+# endif
# if defined(IPPROTO_DCCP) && defined(SOCK_DCCP)
if (dccpflag)
errx(1, "cannot use -Z and -U");
--- End Message ---
--- Begin Message ---
Source: netcat-openbsd
Source-Version: 1.105-7
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-7.debian.tar.gz
to main/n/netcat-openbsd/netcat-openbsd_1.105-7.debian.tar.gz
netcat-openbsd_1.105-7.dsc
to main/n/netcat-openbsd/netcat-openbsd_1.105-7.dsc
netcat-openbsd_1.105-7_i386.deb
to main/n/netcat-openbsd/netcat-openbsd_1.105-7_i386.deb
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: SHA1
Format: 1.8
Date: Wed, 13 Jun 2012 09:01:43 +0800
Source: netcat-openbsd
Binary: netcat-openbsd
Architecture: source i386
Version: 1.105-7
Distribution: unstable
Urgency: low
Maintainer: Aron Xu <[email protected]>
Changed-By: Aron Xu <[email protected]>
Description:
netcat-openbsd - TCP/IP swiss army knife
Closes: 676997
Changes:
netcat-openbsd (1.105-7) unstable; urgency=low
.
* Make UNIX dgram sockets work (Closes: #676997).
Checksums-Sha1:
d507b1ac73d0f40619490440c0fb3157297c1404 1524 netcat-openbsd_1.105-7.dsc
2c9724ae583421ba76188aa59f4812e0363a4b00 31843
netcat-openbsd_1.105-7.debian.tar.gz
fcf6d3137128c9362790585ae47a97c4630284ea 39332 netcat-openbsd_1.105-7_i386.deb
Checksums-Sha256:
166c3309def6a9322ebd43743013849ef93675fb98937815aef23ce3d0a12f1c 1524
netcat-openbsd_1.105-7.dsc
eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363 31843
netcat-openbsd_1.105-7.debian.tar.gz
71b02433bc3bd44363dcbb1e8ab2def564eeac53c22768e66d1d2d2f088318e9 39332
netcat-openbsd_1.105-7_i386.deb
Files:
4058ff126a66e297063ef6ee40bd7c27 1524 net important netcat-openbsd_1.105-7.dsc
e914f8eb7eda5c75c679dd77787ac76b 31843 net important
netcat-openbsd_1.105-7.debian.tar.gz
26f2382fefc35f010eb1a9018f55cf41 39332 net important
netcat-openbsd_1.105-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJP1+g8AAoJEIAhAkTu07wNBTcH/RH5hh68vyt3nzitr7zRHS+R
DzB/8v45I0YYi7L+0X0zj+mRm0GbEE6CHQ0B+IZNzxrkCSqyy3gO8EUGTRus1hk2
WYczW88OeCfRtuT9xCOxQat4kRLJYbt11RI4RncHHJDSF05haDk2+uUEA4bKVGRX
S14o/yYgqUk74ZOjgYEgk0RgHVwdP2gnzNrefDlyP98kOqHUUfXx2LMPUox8VY5f
lJBZSTBRNvo6zqEtUGC27ZLMfNjA8P2MDjPZC2QznCNmr9Eqih6TBlg4CwS9PqQI
ZPEy50VKW7i/2JHxtbA8D6QGKkQXL+CnwYwPifIa2lIFc11wxYAsVO2LUDinmgE=
=Fmhr
-----END PGP SIGNATURE-----
--- End Message ---