Commit Graph

42 Commits

Author SHA1 Message Date
he
adb91b85f0 Get rid of an extranous .Ed request, and the warning about
unknown NetBSD version `A'.
2009-01-04 22:55:02 +00:00
wiz
5458c8ef0a Drop trailing whitespace. Remove unneeded Pp before Ss. 2009-01-04 16:30:17 +00:00
hubertf
b007c29b93 * in diagrams, name routers as such
* enhance formatting
 * add section headers for examples
2009-01-04 16:27:48 +00:00
martin
e033c388a9 normalize license (cosmetics only) 2008-05-10 09:33:31 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
dyoung
f5c27b7a80 Remove remarks that insinuate that gre(4) still supports the hack
that let us set a route over the tunnel to the tunnel's decapsulating
host.  Thanks, Andreas Wrede, for pointing it out.
2007-05-27 19:15:48 +00:00
wiz
aff4cf84af Remove superfluous Pp; use Nm instead of Xr to ourselves; bump date for v1.32. 2006-12-23 09:11:19 +00:00
wiz
2f68d00c69 Drop trailing whitespace. 2006-12-23 06:52:49 +00:00
dyoung
a2ab81c489 Change date to reflect today's change.
Try to get groff -mdoc to stop inserting extraneous linebreaks---no
luck!
2006-12-04 02:51:07 +00:00
dyoung
627864e36f Per discussion on tech-net@, discard the address-munging hack that
let one create a tunnel with equal inner and outer destination IP
numbers.  Update gre(4) documentation for this change.

Extract subroutine  gre_update_route() from gre_compute_route(),
and always call it in gre_output() to freshen the route for
tunnel-encapsulated packets.
2006-12-04 02:40:15 +00:00
dyoung
47be766fd3 Add a mode to gre(4) that sends GRE tunnel packets in UDP datagrams.
Fix MOBILE encapsulation.  Add many debugging printfs (mainly
concerning UDP mode).  Clean up the gre(4) code a bit.  Add the
capability to setup UDP tunnels to ifconfig.  Update documentation.

In UDP mode, gre(4) puts a GRE header onto transmitted packets,
and hands them to a UDP socket for transmission.  That is, the
encapsulation looks like this: IP+UDP+GRE+encapsulated packet.

There are two ways to set up a UDP tunnel.  One way is to tell the
source and destination IP+port to gre(4), and let gre(4) create
the socket.  The other way to create a UDP tunnel is for userland
to "delegate" a UDP socket to the kernel.
2006-08-31 17:46:16 +00:00
wiz
e0ed5c846b Bump date for previous. Remove trailing whitespace.
New sentence, new line. Fix some macro usage.
2005-03-30 18:53:33 +00:00
is
cfb674f4eb Extend EXAMPLES section for IPv6 over GRE. Contributed by Gert Doering. 2005-03-30 17:19:52 +00:00
wiz
4e61786770 Remove duplicate word in license.
Noted by jmc@openbsd, and approved by Heiko W. Rupp and board@.
2004-02-07 18:34:57 +00:00
itojun
bb0b85187b SIOCSIFADDR/IFDSTADDR destroys outer address settings, therefore, we need to
do "ifconfig tunnel C D" after "ifconfig A B".  i believe the behavir is weird
and non-intuitive, and should be fixex.
2002-06-10 02:49:35 +00:00
wiz
c39fdd3f85 While we're rototilling the man page: Use more markup; grammar fixes;
remove another reference to unsupported AppleTalk; update .Dd.
2002-06-09 20:05:55 +00:00
itojun
4d660387a6 gre(4) supports IPv4/AppleTalk/NS over IPv4, not just IPv4 over IPv4. 2002-06-09 19:47:03 +00:00
itojun
7864ca478f deprecate IFF_LINK2, !IFF_LINK0 is enough.
no need to manipulate IFF_LINK1 with IFF_LINK0.
remove reference to greconfig(8).
2002-06-09 19:17:43 +00:00
martin
a990d7ac62 Oops, typos in the new example.
Also note that the new example is a good example for LINK1 useage, so add
that as well.
2002-06-09 12:19:39 +00:00
martin
79e1630f17 Improve a bit, add another example, remove a bogus BUGS entry, add a note
for MTU adjustment.
2002-06-09 10:44:57 +00:00
wiz
eb8cde8c28 Whitespace nit. 2002-03-04 15:27:57 +00:00
sommerfeld
bf79729e2e More ipip references 2002-03-04 15:14:22 +00:00
martin
8fa52d5f5c Traceroute works now. 2002-02-24 17:24:21 +00:00
ross
4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
ross
c711939949 English 2001-11-29 23:06:14 +00:00
darrenr
cbf13ec8c8 update man page to mention that you need to do "ifconfig greN create" before
using greN even if config'd into the kernel.
2001-11-24 14:27:03 +00:00
wiz
f71c56504c Sort SEE ALSO, sort sections, drop some .Pp, improve markup. 2001-09-19 01:03:43 +00:00
wiz
d4f5b1e0bf Use standard section headers; uppercase .Sh argument; remove quotes in
.Sh arguments.
2001-09-11 00:08:25 +00:00
wiz
7babccce18 Fix date and punctuation. 2001-04-11 18:31:23 +00:00
wiz
a3d2c74ab7 Improve markup slightly (still enough to do here); sort SEE ALSO.
Whitespace fixes.
2001-04-04 10:02:20 +00:00
thorpej
a369ac6aad Upate for the cloning nature of gre(4). 2000-07-05 18:14:40 +00:00
mycroft
1f2cf096b8 GC spurious blank lines. 2000-05-13 15:22:15 +00:00
kleink
b715b1fca9 Use a fixed-width font for network topology illustrations. 1999-12-22 14:55:49 +00:00
abs
0ace4398df Misc small fixes to try to standardise the format to make it easier
to parse by an automated script (say one that just might want to
generate webpage summaries of available drivers :)
1999-12-15 22:07:30 +00:00
msaitoh
0fcbe067c6 s/ the the / the / 1999-10-08 20:13:42 +00:00
explorer
0bdd9ecae7 document link1 1999-06-28 07:56:56 +00:00
garbled
c1d21e28ed More and more of .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-16 01:19:14 +00:00
hwr
53a99685bd The gre pseudo-interface no longer suppports IPIP, this is done by the ipip
driver now.
1999-01-26 21:25:47 +00:00
hwr
45da488560 Fix some Typos. 1998-10-31 12:37:59 +00:00
hwr
e728f48852 Add for IPPROTO_MOBILE. 1998-09-30 06:13:27 +00:00
hwr
d6a39aadd6 s/tun/gre/ 1998-09-25 08:35:20 +00:00
hwr
43688c8702 Manpage for gre network interface. 1998-09-13 20:39:35 +00:00