Commit Graph

27 Commits

Author SHA1 Message Date
Christian Brueffer
05a1e019f3 Remove EOL whitespace.
Found with:	mandoc -Tlint
2014-12-21 10:04:26 +00:00
Peter Jeremy
b6e5ca4a88 Cross reference tap(4) and tun(4) and include a short explanation as
to how they differ.  This will assist users in selecting which interface
is more appropriate for their purposes.

Approved by:	grog (co-mentor)
MFC after:	2 week
2014-11-30 04:50:13 +00:00
Bruce M Simpson
6501ffa0c1 Typo.
(Oh well, I guess that's the danger of updating two three-letter-named
entities at the same time.)

Submitted by:	Simon L. Nielsen
MFC after:	4 weeks
2007-02-04 16:59:50 +00:00
Bruce M Simpson
cd83bbd2aa Implement ifnet cloning for tun(4)/tap(4).
Make devfs cloning a sysctl/tunable which defaults to on.

If devfs cloning is enabled, only the super-user may create
tun(4)/tap(4)/vmnet(4) instances. Devfs cloning is still enabled by
default; it may be disabled from the loader or via sysctl with
"net.link.tap.devfs_cloning" and "net.link.tun.devfs_cloning".

Disabling its use affects potentially all tun(4)/tap(4) consumers
including OpenSSH, OpenVPN and VMware.

PR:		105228 (potentially also 90413, 105570)
Submitted by:	Landon Fuller
Tested by:	Andrej Tobola
Approved by:	core (rwatson)
MFC after:	4 weeks
2007-02-04 16:32:46 +00:00
Tom Rhodes
5e28de260c Patch in previous commit should have bumped doc date.
Fix spelling of ioctl.
Note that previous commit was actually submitted by bz.  I'm not yet used
to the code boxes yet.

Noticed by:	ru
2006-10-09 19:53:00 +00:00
Tom Rhodes
a29721a8cb The SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
it in the tun.4 manual page.

PR:		98541
Submitted by:	David Gilbert
2006-10-09 19:20:53 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Simon L. B. Nielsen
ae4eb6f8e3 Correct the misuse of \- (mdoc(7) mathematical minus) when - (mdoc(7)
hyphen) is meant.

Mdoc(7) clue by:	ru
Reviewed by:		ru
2004-05-14 20:07:49 +00:00
Ruslan Ermilov
fe08efe680 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
Giorgos Keramidas
5eef84809c Delete MAKEDEV references and update the text about /dev/foo control
devices that return the next available device when opened.

PR:		50280, 50281, 50282, 50283
Submitted by:	Sergey A.Osokin <osa@FreeBSD.org.ru>
2003-03-25 14:49:02 +00:00
Brian Somers
1485129b09 Document that IFF_MULTICAST should be ORd with IFF_POINTOPOINT or
IFF_BROADCAST for the TUNSIFMODE ioctl.
2001-08-25 09:14:55 +00:00
Ruslan Ermilov
e8b02a428d mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
Ruslan Ermilov
1353fdc585 mdoc(7) police: fixed markup and spelling. 2001-07-05 11:45:37 +00:00
Brian Somers
72155f03b6 Talk a bit about how cloning works with devfs(5).
Make it clearer about what's going on with TUNSIFHEAD and TUNSLMODE.
Tidy up a little.
2001-06-05 14:26:17 +00:00
Jens Schweikhardt
ec09ef4ff8 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Assar Westerlund
9a6f618efe document TUNSIFINFO, TUNGIFINFO, TUNSIFPID, TUNSIFHEAD, TUNGIFHEAD 2000-12-13 13:40:42 +00:00
Ruslan Ermilov
4b66483fd8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
Sheldon Hearn
b2f6e44477 Add a missing "either".
Fix a parenthetic bogon.

Reported by:	"Alexander N. Kabaev" <kabaev@mail.ru>
Obtained from:	NetBSD
2000-03-06 07:08:14 +00:00
Sheldon Hearn
6d249eee27 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:50:24 +00:00
Jeroen Ruigrok van der Werven
1db583a0fc Remove ``count'' argument of the pseudo-devices that do not
use it anymore.
2000-01-17 14:17:28 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Matthew Hunt
b02c53d213 Correct a minor spacing error. 1998-05-31 04:53:30 +00:00
Philippe Charnier
aaf1f16e39 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs.
Use .An/.Aq.
1998-03-12 07:31:21 +00:00
Wolfram Schneider
bceb8aed9e Sort cross refereces in section SEE ALSO. 1997-09-29 10:11:02 +00:00
Joerg Wunsch
468d8299dd Wire tun(4) into the Makefile.
Slightly change the way how to credit NetBSD.
1997-09-07 12:29:55 +00:00
Joerg Wunsch
f15d3ed0f2 Import NetBSD's tun(4) man page.
Obtained from:	NetBSD
1997-09-07 11:27:08 +00:00