Project

General

Profile

Bug #3927

Unable to set gif MTU

Added by Chris Buechler about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
10/10/2014
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.2
Affected Architecture:

Description

If you set MTU on interfaces.php for a gif interface, it's not actually changed. For instance, see 22vpntest (info in lastpass shared-dev), interface "HEtunnel". Trying set it via ifconfig results in:

# ifconfig gif0 mtu 1234
ifconfig: ioctl (set mtu): Invalid argument

Associated revisions

Revision 1c764a3a (diff)
Added by Renato Botelho about 4 years ago

GIF interfaces MTU must be something between 1280 and 8192, make the correct check. It fixes #3927

History

#1 Updated by Renato Botelho about 4 years ago

  • Status changed from New to Rejected

According src code https://github.com/freebsd/freebsd/blob/releng/10.1/sys/net/if_gif.h#L91 minimum valid MTU for gif is 1280.

#2 Updated by Renato Botelho about 4 years ago

  • Status changed from Rejected to New

Back to new, we should provide a validation on GUI

#3 Updated by Renato Botelho about 4 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#4 Updated by Chris Buechler about 4 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF