OpenBSD CVS

CVS log for src/share/man/man4/tun.4


[BACK] Up to [local] / src / share / man / man4

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Thu Jan 9 09:25:16 2020 UTC (4 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, HEAD
Changes since 1.44: +14 -22 lines
Diff to previous 1.44 (colored)

Cleanup ioctl(2) list. FIONBIO, FIOASYNC and FIONREAD are not defined
in <net/if_tun.h> also there is no need to document them again. Instead
reference to ioctl(2) that has all the info. Also remove TIOCSPGRP and
TIOCGPGRP and replace them with FIOSETOWN and FIOGETOWN.  Users should
use those ioctl(2) to set the process / process group to be signaled
when FIOASYNC is set.
OK visa@

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 6 18:32:34 2019 UTC (5 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

mention that tun is a point-to-point interface so that we know what
word to search for in ifconfig(4).
from claudio

Revision 1.43 / (download) - annotate - [select for diffs], Fri Oct 23 16:45:51 2015 UTC (8 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

From jmc@ "the exclusive open propery" does not make sense. Try with 'an'.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 23 15:17:24 2015 UTC (8 years, 7 months ago) by claudio
Branch: MAIN
Changes since 1.41: +6 -40 lines
Diff to previous 1.41 (colored)

Adjust tun(4) and tap(4) after the split.
Note: "pseudo-device tun" is used by both devices this is not a typo
OK dlg@ mpi@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Sep 14 17:09:26 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

convert .Fd #include to .In

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 21 03:15:46 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

obvious .Pa fixes; found with mandocdb(8)

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 2 11:14:11 2011 UTC (13 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

no need to escape `|'; as discussed with schwartze

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 23 01:24:32 2010 UTC (13 years, 8 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

Eliminate mention of EPERM error condition from tun(4) man page.  We
just use the filesystem permissions now.

Pointed out by stsp@.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 26 14:04:46 2010 UTC (13 years, 9 months ago) by claudio
Branch: MAIN
Changes since 1.36: +15 -7 lines
Diff to previous 1.36 (colored)

Try to be a bit more specific about what happens when link0 is used.
link0 will reset the interface and all configuration is lost (e.g. -inet6 or
rdomain settings) so use link0 as first command without any other arguments
to get a deterministic behaviour.
With a lot of help by jmc@ (actually commiting his version because it is much
nicer, as ususal).

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 31 19:19:52 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

convert to new .Dd format;

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 21 15:01:28 2007 UTC (17 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.34: +24 -18 lines
Diff to previous 1.34 (colored)

Sync with reality. Initial diff by Ingo Schwarze additional help by jmc@

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 9 19:03:04 2006 UTC (18 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

no need to specify a "count" argument: ifconfig(8) handles these
"on demand";

from jan niemann;
ok deraadt

Revision 1.33 / (download) - annotate - [select for diffs], Thu Sep 2 12:55:22 2004 UTC (19 years, 9 months ago) by jaredy
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.32: +27 -20 lines
Diff to previous 1.32 (colored)

minor mdoc fixes
consistency in wording
fix ioctl listing

ok jmc

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 17 23:58:36 2004 UTC (19 years, 9 months ago) by jaredy
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

keep all "ifconfig <cloneable> create" examples the same

ok jmc

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 28 21:46:04 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.30: +10 -4 lines
Diff to previous 1.30 (colored)

hostname.tun can be used to set link0, so add standard hostname.if(5)/
netstart(8) blurb; spotted by Alexey E. Suslikov;

also, add hostname.if(5) and netstart(8) to SEE ALSO;

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jun 26 12:24:28 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

- hyphenate 4-byte (adjectival)
- uppercase `e' in ethernet
- kill whitespace

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 25 04:12:52 2004 UTC (19 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

typo noticed by theo.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 25 04:09:02 2004 UTC (19 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.27: +23 -7 lines
Diff to previous 1.27 (colored)

Add tap aka layer 2 tunneling support to tun(4). It can be enabled by setting
the link0 flag via ifconfig(8). OK markus@, canacar@ also tested by ish@

Revision 1.27 / (download) - annotate - [select for diffs], Mon Dec 8 10:03:43 2003 UTC (20 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored)

mention ifconfig create; sync synopsis like (Op Ar count). with jmc, deraadt

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 6 10:29:41 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)

- section reorder
- some macro fixes
- kill whitespace at EOL

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 11 07:54:01 2003 UTC (21 years, 3 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

date is supposed to be written formally
ok jmc@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 10 02:37:34 2003 UTC (21 years, 3 months ago) by mdw
Branch: MAIN
Changes since 1.23: +13 -13 lines
Diff to previous 1.23 (colored)

Fixed some small typos & formatting following suggestions from jmc

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 9 18:51:36 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +183 -389 lines
Diff to previous 1.22 (colored)

start of replacement tun page; from mdw

Revision 1.22, Sun Mar 9 01:19:34 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +1 -1 lines
FILE REMOVED

der Mouse, ie. "Mike Parker", adamantly refuses to let us put his real
name on a copyright notice, therefore legally this file is not free
software.  Mike thinks I am rude for saying that a non-legal license
is not free software.  Well, I am sorry, but legally we *must* remove
it.  I can't believe how IRC some people are...
Anyone want to step up and write a free replacement for this page?  If
you can write a free replacement in a day or so, that would be awesome.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 18 07:54:53 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.20: +31 -1 lines
Diff to previous 1.20 (colored)

copyrights added;

ac97(4): Constantine Sapuntzakis
scsi(4): Julian Elischer
tun(4): der Mouse (thanks mickey@ for help with this one)
vlan(4): Jason R. Thorpe

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 5 14:45:53 2001 UTC (22 years, 8 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.19: +78 -62 lines
Diff to previous 1.19 (colored)

Powered by @mantoya:
o) start new sentence on a new line;
o) minor mdoc fixes;
millert@ ok

Tip of the day:   www.mpechismazohist.com

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 22 12:15:47 2001 UTC (22 years, 11 months ago) by mpech
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

o) remove unnecessary .Pp;
o) remove unnecessary .Nm args;
o) closes .Bl;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) sort SEE ALSO;
o) better -mdoc style;
o) typos;

aaron@ ok.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 5 04:01:21 2001 UTC (23 years, 3 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Rename TUNSMODE to TUNSIFMODE

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 9 18:01:03 2001 UTC (23 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Typo: 'eg.' -> 'e.g.'

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 21 21:01:21 2000 UTC (23 years, 5 months ago) by aaron
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Various repairs, $Id$ tags added, etc.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 17 00:53:35 2000 UTC (23 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

Zap some unwanted trailing whitespace.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 23 05:04:37 2000 UTC (24 years ago) by deraadt
Branch: MAIN
Changes since 1.13: +12 -5 lines
Diff to previous 1.13 (colored)

doc actual tun behaviour; jon@spock.org

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 15 11:45:51 2000 UTC (24 years, 1 month ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 16 06:45:31 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Xr inet6 4

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 23 04:12:05 1999 UTC (24 years, 8 months ago) by alex
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Typo fixes.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 5 13:18:33 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

more .Os cleanup, remove some trailing whitespace, cleanse some .Nm

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 16 19:56:40 1999 UTC (25 years ago) by alex
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Cleanup xrefs under SEE ALSO.  Specifically:

  - Sort xrefs by section, and then alphabetically.
  - Add missing commas between xref items.
  - Remove commas from the last xref entry.
  - Remove duplicate entries.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 1 05:41:13 1999 UTC (25 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

currect -> current; d@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 4 16:45:57 1998 UTC (25 years, 7 months ago) by mickey
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6 (colored)

kill bogus sentence, probably scribbled by me. noticed by espie@

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 31 23:17:42 1998 UTC (25 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Fix netintro/intro muck-up.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 6 22:23:20 1998 UTC (25 years, 9 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

More man page fixes. Spelling, grammar, some typos. Lots of double-word
occurrences squashed as well.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 7 18:30:03 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

neat typo

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 2 09:56:25 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +13 -6 lines
Diff to previous 1.2 (colored)

pass address family as host-byte-order u_int32_t. this fixes bpf.  add a
note to the bottom of tun.4 to indicate that this is a binary
incompatibility with older versions, and describe all 3 revisions this
has gone through. everyone -- recompile your code that uses tun.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 16 16:08:52 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.1: +3 -12 lines
Diff to previous 1.1 (colored)

fix .Nm stuff so that man -k works

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 14 12:47:02 1996 UTC (27 years, 7 months ago) by mickey
Branch: MAIN

add tun pseudo-device interface manual.
from der mouse Net's PR, if i didn't missed my memory...
it was lost in my tree a long ago (:

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.