[Bug 240059] Min MTU for a interface GIF interface is to high

2022-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240059

Maurice Walker  changed:

   What|Removed |Added

 CC||maurice@walker.earth

--- Comment #2 from Maurice Walker  ---
I'm also affected by this and consider it to be a bug. A minimum MTU of 1280
should only apply to 6in4 and 6in6 gif tunnels. For 4in6 and 4in4, a lower MTU
should be allowed inside the tunnel.

Can we reopen this or should I create a new issue?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 240059] Min MTU for a interface GIF interface is to high

2019-08-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240059

--- Comment #1 from Sir l33tname  ---
it's according to the ipv6 rfc 8200

IPv6 requires that every link in the internet have an MTU of 1280 octets or
greater.  On any link that cannot convey a 1280-octet packet in one piece,
link-specific fragmentation and reassembly must be provided at a layer below
IPv6.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 240059] Min MTU for a interface GIF interface is to high

2019-08-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240059

Sir l33tname  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Not A Bug

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 240059] Min MTU for a interface GIF interface is to high

2019-08-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240059

Bug ID: 240059
   Summary: Min MTU for a interface GIF interface is to high
   Product: Base System
   Version: 12.0-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: sirl33tn...@gmail.com

The Min MTU for a GIF interface is 1280.
See: 
https://github.com/freebsd/freebsd/blob/c4ed3acb9f59d3498905e95d5d445c5046fdfdb6/sys/net/if_gif.h#L80-L82
#define GIF_MTU_MIN (1280) /* Minimum MTU */

There are some cases where this is still to high. 
And to quote the man page:

If the outer protocol is IPv6, path MTU discovery for encapsulated
packets may affect communication over the interface.  The first bigger-
than-pmtu packet may be lost.  To avoid the problem, you may want to set
the interface MTU for gif to 1240 or smaller, when the outer header is
IPv6 and the inner header is IPv4.

So I would expect that it is possible to set the MTU for a GIF interface lower
than 1280.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"