delphij
4393b7cb7e
MFV: nc(1) from OpenBSD 4.8.
...
While I'm there, bump WARNS level to 2 as the vendor
have the right printf format string now.
MFC after: 1 month
Obtained from: OpenBSD
2010-10-19 00:01:53 +00:00
brucec
ca3202b6c7
Remove extra word, which looks like a left-over from a deleted sentence.
2010-10-18 14:35:21 +00:00
bcr
488a727a00
Use "printf" instead of "echo -n" in an example because it
...
should be more compatible for most shells that are out there.
I contacted Philip Guenther at OpenBSD about this PR and he
corrected the issue in their tree pretty fast.
PR: docs/142243
Submitted by: Yasir (yasir27 at mail dot ru)
Obtained from: OpenBSD
Discussed with: delphij
MFC after: 7 days
2010-07-26 18:33:33 +00:00
delphij
78fcb82b98
Utilize IP_BINDANY which provided the same semantics of OpenBSD's
...
SO_BINDANY.
2010-04-15 23:21:24 +00:00
delphij
90101e00e6
Diff reduction with OpenBSD:
...
- Remove unused locally added variable;
- Deprecate -o: it's the default behavior on OpenBSD.
X-MFC: along with nc 4.7.
2010-04-15 19:15:05 +00:00
delphij
2cf63c604b
Update metadata information as well as upgrade instructions.
2010-03-23 23:56:22 +00:00
delphij
7f20b83b68
MFV: Update nc to the version from OpenBSD 4.7.
...
MFC after: 1 month
2010-03-23 23:00:35 +00:00
delphij
9cf63ca8dd
Update the version number.
2010-02-02 00:30:44 +00:00
delphij
6852acc871
Update to 4.6.
...
Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.
MFC after: 2 weeks
2010-01-19 18:45:29 +00:00
delphij
942205b726
What we have in base system is actually OpenBSD 4.5's netcat,
...
update this file to reflect the fact.
2009-12-08 19:12:38 +00:00
des
32589bd8e2
Update and remove CVS-specific items
...
Approved by: re (kib)
2009-08-13 06:07:38 +00:00
cperciva
b79a5aa131
Fix .Dd value -- our mdoc macros don't know how to parse the $Mdocdate$
...
tag, so the file was being treated as having no date (i.e., the current
date was being inserted).
Approved by: re (kib)
2009-07-11 17:35:55 +00:00
delphij
a62a3b6e1f
Add an EXIT STATUS section to the manual page. Currently, nc(1)
...
does not follow sysexits(3), and returns 1 for all error cases.
PR: docs/126451
2009-05-29 07:18:31 +00:00
delphij
7515df23bd
Update netcat to the version carried with OpenBSD 4.5.
2009-05-28 23:23:49 +00:00
delphij
2d9e1680b9
Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (no
...
tcp options) to '--no-tcpopt' in order to resolve a comflicit
with OpenBSD's -O semantics.
2008-12-19 23:00:23 +00:00
antoine
840e3ca1b5
Document freebsd extensions to netcat a bit better:
...
- sort the options
- document -o and -O everywhere
Reviewed by: delphij
Approved by: rwatson (mentor)
2008-05-10 18:50:45 +00:00
delphij
ec8ec4bca9
Update instructions to match recent practices
2008-04-21 18:37:08 +00:00
delphij
3afec1f731
Add vendor metadata
2008-04-21 18:36:52 +00:00
delphij
a2049366d7
Resolve conflicts.
2008-04-21 18:31:50 +00:00
delphij
25a943c6df
This commit was generated by cvs2svn to compensate for changes in r178382,
...
which included commits to RCS files with non-trunk default branches.
2008-04-21 18:30:26 +00:00
delphij
7283819616
Import netcat as of today's OPENBSD_4_3 snapshot.
2008-04-21 18:30:26 +00:00
bms
b6386e8a8a
Add an -O option to disable TCP options, for protocol testing purposes.
...
Do this for active and passive (-l switch) TCP sessions.
MFC after: 1 week
2008-04-01 13:54:24 +00:00
gnn
f5875f045c
Commit IPv6 support for FAST_IPSEC to the tree.
...
This commit includes all remaining changes for the time being including
user space updates.
Submitted by: bz
Approved by: re
2007-07-01 12:08:08 +00:00
delphij
71a2bc9dd5
Resolve conflicts.
2007-03-28 01:57:03 +00:00
delphij
2b70bf3587
Import netcat as of today's OPENBSD_4_1 snapshot.
2007-03-28 01:55:49 +00:00
delphij
36c02922c8
This commit was generated by cvs2svn to compensate for changes in r167961,
...
which included commits to RCS files with non-trunk default branches.
2007-03-28 01:55:49 +00:00
delphij
11228d528e
Resolve conflicts.
2006-05-21 15:52:24 +00:00
delphij
ae5f19e683
Import netcat from OpenBSD 3.9-RELEASE.
2006-05-21 15:49:27 +00:00
delphij
71f517bebd
This commit was generated by cvs2svn to compensate for changes in r158795,
...
which included commits to RCS files with non-trunk default branches.
2006-05-21 15:49:27 +00:00
hrs
2c3115e88f
Fix incorrect command line examples.
...
Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR: docs/94158
MFC after: 2 days
2006-03-07 18:34:18 +00:00
ru
49d602bcb1
Fix markup in local FreeBSD additions.
...
Approved by: re (blanket manpages)
2005-06-27 07:07:55 +00:00
delphij
dbc0713b05
Undo the VCS tag move to reduce diff hunks.
...
Pointed out by: ru
2005-02-07 05:34:35 +00:00
delphij
909fc0148b
Add instructions about upgrading netcat(1).
2005-02-06 15:26:44 +00:00
delphij
3302f9bcc3
Finish the import of nc(1) from OpenBSD. This includes:
...
- Bring IPsec support from the ports collection [1].
- Bring -o ("once only") option from the ports
collection [2].
- Adopt the Makefile framework into
usr.bin/nc/Makefile.
- Add a knob to control whether to build nc(1),
NO_NETCAT.
- Bump __FreeBSD_version so ports collection can
detect this change.
Original patchset are contributed to the ports collection by:
[1] nectar, [2] joerg.
Note: WARNS?=6 patchset spined off in this commit, in order not
to take too many files off the vendor branch.
2005-02-06 14:44:27 +00:00
delphij
fe20bac494
Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
...
reimplementation of the famous tool that can do arbitrary TCP
and UDP connections and listens.
This gaves sysadm the same tool the crackers have, so that
they may learn what the network is about and protect it better.
For developers, this is an invaluable debugging tool, and a
good build block of scripts.
Discussed on: freebsd-hackers@
2005-02-04 08:41:44 +00:00