broken version of netcat installed by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcat-openbsd (Ubuntu) |
Fix Released
|
Low
|
Chuck Short |
Bug Description
Binary package hint: netcat-openbsd
In a recent Lucid installation, I just got screwed by the substitution of the netcat that's been around for decades with the so-called better OpenBSD version. There are a LOT of problems here:
(a) The version you're shipping does not apparently accept any of its arguments! I found no combination of options in a few minutes of screwing with it that didn't just spit out a usage message.
(b) It does not specify its provenance! -Nowhere- does it have (1) the -critical- information that it's the OpenBSD version, which [I'm guessing] takes different arguments, given my total lack of success at getting it to do -anything- [or maybe the one you're shipping is just TOTALLY BROKEN and it'd take the old args if only it ran at all?], or (2) any sort of version number! WTF?
(c) Because of (a) and (b), nc or netcat is totally busted. Scripts will blow up, and it took me a bunch of screwing around before I finally realized that the problem was you'd thrown away the original netcat and substituted this POS instead. I don't care if it supposedly handles IPv6 and proxies, at the moment it won't even run using the args in its own usage statement, and it -certainly- isn't compatible with the traditional version's args as far as I've been able to determine.
I fixed the problem (once I finally realized someone had pulled an unadvertised switcheroo) by installing nc.traditional and using update-alternatives to force its use---now I'm going to go fix it on every Lucid installation I use, and I will keep fixing it forever until someone addresses the underlying problem.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 32 lines (+25/-0)1 file modifieddebian/changelog (+25/-0)
- Oliver Grawert: Approve
- Ubuntu branches: Pending requested
-
Diff: 5336 lines (+2456/-2095)52 files modified.pc/.version (+1/-0)
Makefile (+3/-18)
atomicio.c (+18/-13)
atomicio.h (+7/-1)
debian/changelog (+83/-0)
debian/compat (+1/-1)
debian/control (+7/-5)
debian/copyright (+46/-130)
debian/netcat-openbsd.README.Debian (+13/-0)
debian/netcat-openbsd.dirs (+0/-2)
debian/netcat-openbsd.examples (+1/-0)
debian/netcat-openbsd.install (+2/-0)
debian/netcat-openbsd.links (+1/-0)
debian/patches/0001-port-to-linux-with-libsd.patch (+466/-0)
debian/patches/0002-connect-timeout.patch (+118/-0)
debian/patches/0003-get-sev-by-name.patch (+34/-0)
debian/patches/0004-poll-hup.patch (+59/-0)
debian/patches/0005-send-crlf.patch (+103/-0)
debian/patches/0006-quit-timer.patch (+128/-0)
debian/patches/0007-udp-scan-timeout.patch (+56/-0)
debian/patches/0008-verbose-numeric-port.patch (+103/-0)
debian/patches/0009-dccp-support.patch (+299/-0)
debian/patches/0010-serialized-handling-multiple-clients.patch (+73/-0)
debian/patches/0011-misc-failures-and-features.patch (+443/-0)
debian/patches/connect-timeout.patch (+0/-120)
debian/patches/dccp.patch (+0/-191)
debian/patches/gcc-warnings.patch (+0/-157)
debian/patches/getservbyname.patch (+0/-24)
debian/patches/glib-strlcpy.patch (+0/-96)
debian/patches/help-version-exit.patch (+0/-21)
debian/patches/nc-1.84-udp_stop.patch (+0/-14)
debian/patches/netcat-info.patch (+8/-7)
debian/patches/no-strtonum.patch (+0/-107)
debian/patches/openbsd-compat.patch (+0/-54)
debian/patches/pollhup.patch (+0/-50)
debian/patches/quit-timer.patch (+0/-84)
debian/patches/reuseaddr.patch (+0/-15)
debian/patches/send-crlf.patch (+0/-109)
debian/patches/series (+11/-17)
debian/patches/silence-z.patch (+0/-13)
debian/patches/socks-b64-prototype.patch (+0/-13)
debian/patches/udp-scan-timeout.patch (+0/-50)
debian/patches/verbose-message-to-stderr.patch (+0/-17)
debian/patches/verbose-numeric-port.patch (+0/-54)
debian/rules (+12/-60)
debian/source/format (+1/-0)
nc.1 (+85/-36)
netcat.c (+249/-78)
openbsd-compat/base64.c (+0/-308)
openbsd-compat/readpassphrase.c (+0/-179)
openbsd-compat/readpassphrase.h (+0/-40)
socks.c (+25/-11)
Changed in netcat-openbsd (Ubuntu): | |
status: | New → Incomplete |
Changed in netcat-openbsd (Ubuntu): | |
status: | Fix Released → In Progress |
assignee: | nobody → Chuck Short (zulcss) |
milestone: | none → natty-alpha-2 |
importance: | Undecided → Low |
Please try to keep a constructive tone. Your bug report does not, as far as I can see, describe the actual symptoms you're seeing at all. What is it, specifically, that you tried and how did it fail?