aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/gre.4
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit fa9896e082a1)
* gre(4): Mention sysctl for nesting gre tunnelsGordon Bergling2020-08-211-1/+10
| | | | | | | | | | | | PR: 228465 Submitted by: Sergey Akhmatov <sergey at akhmatov dot ru> Reviewed by: bcr Approved by: bcr MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26097 Notes: svn path=/head/; revision=364450
* gre(4): Add a STANDARDS sectionGordon Bergling2020-06-291-2/+38
| | | | | | | | | | | | | | | Expand the mentioned RFC in the SEE ALSO section and reference RFC1701 and RFC1702. PR: 240250 Reviewed by: bcr (mentor) Approved by: bcr (mentor) Obtained from: OpenBSD MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D25504 Notes: svn path=/head/; revision=362779
* Add GRE-in-UDP encapsulation support as defined in RFC8086.Andrey V. Elsukov2019-04-241-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This GRE-in-UDP encapsulation allows the UDP source port field to be used as an entropy field for load-balancing of GRE traffic in transit networks. Also most of multiqueue network cards are able distribute incoming UDP datagrams to different NIC queues, while very little are able do this for GRE packets. When an administrator enables UDP encapsulation with command `ifconfig gre0 udpencap`, the driver creates kernel socket, that binds to tunnel source address and after udp_set_kernel_tunneling() starts receiving of all UDP packets destined to 4754 port. Each kernel socket maintains list of tunnels with different destination addresses. Thus when several tunnels use the same source address, they all handled by single socket. The IP[V6]_BINDANY socket option is used to be able bind socket to source address even if it is not yet available in the system. This may happen on system boot, when gre(4) interface is created before source address become available. The encapsulation and sending of packets is done directly from gre(4) into ip[6]_output() without using sockets. Reviewed by: eugen MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D19921 Notes: svn path=/head/; revision=346630
* Fix mandoc warnings/errors.Christian Brueffer2015-08-121-1/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=286663
* Add example howto configure gre(4) tunnel with the same inner andAndrey V. Elsukov2015-06-021-1/+39
| | | | | | | | | outer addresses using multiple FIBs. X-MFC after: r282809 Notes: svn path=/head/; revision=283897
* Misc mdoc fixes:Joel Dahl2014-11-231-2/+0
| | | | | | | | | | | - Remove superfluous paragraph macros. - Remove/fix empty or incorrect macros. - Sort sections into conventional order. - Terminate quoted strings properly. - Remove EOL whitespace. Notes: svn path=/head/; revision=274925
* Overhaul if_gre(4).Andrey V. Elsukov2014-11-071-198/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split it into two modules: if_gre(4) for GRE encapsulation and if_me(4) for minimal encapsulation within IP. gre(4) changes: * convert to if_transmit; * rework locking: protect access to softc with rmlock, protect from concurrent ioctls with sx lock; * correct interface accounting for outgoing datagramms (count only payload size); * implement generic support for using IPv6 as delivery header; * make implementation conform to the RFC 2784 and partially to RFC 2890; * add support for GRE checksums - calculate for outgoing datagramms and check for inconming datagramms; * add support for sending sequence number in GRE header; * remove support of cached routes. This fixes problem, when gre(4) doesn't work at system startup. But this also removes support for having tunnels with the same addresses for inner and outer header. * deprecate support for various GREXXX ioctls, that doesn't used in FreeBSD. Use our standard ioctls for tunnels. me(4): * implementation conform to RFC 2004; * use if_transmit; * use the same locking model as gre(4); PR: 164475 Differential Revision: D1023 No objections from: net@ Relnotes: yes Sponsored by: Yandex LLC Notes: svn path=/head/; revision=274246
* use .Mt to mark up email addresses consistently (final part)Baptiste Daroussin2014-06-261-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267938
* Remove AppleTalk support.Gleb Smirnoff2014-03-141-4/+2
| | | | | | | | | | | | | AppleTalk was a network transport protocol for Apple Macintosh devices in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was a legacy protocol and primary networking protocol is TCP/IP. The last Mac OS X release to support AppleTalk happened in 2009. The same year routing equipment vendors (namely Cisco) end their support. Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263152
* mdoc: Avoid playing tricks with Ns: If Nm is present in the SYNOPSIS section,Joel Dahl2012-05-141-4/+2
| | | | | | | | it will be output on its own line. Ns cancels this effect however. This change is also consistent with the rest of our manual pages. Notes: svn path=/head/; revision=235450
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Fix typos and spelling mistakes.Joel Dahl2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210933
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromJoel Dahl2010-03-021-7/+0
| | | | | | | | | their software. Obtained from: NetBSD Notes: svn path=/head/; revision=204605
* Add support for the optional key in the GRE header.Andrew Thompson2008-06-201-2/+14
| | | | | | | | PR: kern/114714 Submitted by: Cristian KLEIN Notes: svn path=/head/; revision=179894
* - convert to the current style of section 4 man pagesDaniel Gerzo2006-10-191-1/+15
| | | | | | | | | | | - s/ip.forwarding/net.inet.ip.forwarding/ to match reality [1] Approved by: keramida (mentor), trhodes (mentor) MFC after: 5 days Submitted by: Tom McLaughlin via #bsddocs Notes: svn path=/head/; revision=163500
* s/ifconfig tunnel greN/ifconfig greN tunnel/Brad Davis2006-03-191-1/+1
| | | | | | | | Submitted by: ankon@#bsddocs Approved by: ceri@ Notes: svn path=/head/; revision=156868
* Mechanically kill hard sentence breaks and double whitespaces.Ruslan Ermilov2004-07-031-3/+3
| | | | Notes: svn path=/head/; revision=131530
* Assorted markup, spelling, and grammar fixes.Ruslan Ermilov2004-06-161-1/+1
| | | | Notes: svn path=/head/; revision=130582
* Add support for WCCPv2. It should be enablem manually using link2Maxim Sobolev2004-01-261-0/+10
| | | | | | | | | | | ifconfig(8) flag since header for version 2 is the same but IP payload is prepended with additional 4-bytes field. Inspired by: Roman Synyuk <roman@univ.kiev.ua> MFC after: 2 weeks Notes: svn path=/head/; revision=125024
* mdoc(7) police: overhaul (including adoptation to FreeBSD).Ruslan Ermilov2002-12-101-106/+138
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107726
* Add a new gre(4) driver, which could be used to create GRE (RFC1701)Maxim Sobolev2002-09-061-0/+279
and MOBILE (RFC2004) IP tunnels. Obrained from: NetBSD Notes: svn path=/head/; revision=103026