Bug 433846

Summary: vpnc hard-coded mtu in tun0 creation
Product: [Fedora] Fedora Reporter: Brian Long <brilong>
Component: vpncAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-03 08:42:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Long 2008-02-21 18:35:51 UTC
Description of problem:
/etc/vpnc/vpnc-script has a hard-coded MTU of 1412 used to bring up the tun0
interface.  This is an invalid MTU if the underlying Ethernet interface (i.e.
eth0) already has a lower-than-normal MTU of 1400.  vpnc-script should read the
existing MTU from the interface and subtract a certain number of bytes to
determine its MTU instead of hard-coding 1412.

Version-Release number of selected component (if applicable):
vpnc-0.5.1-2.fc8

How reproducible:
Always

Steps to Reproduce:
1. ifconfig eth0 mtu 1400
2. vpnc Config
3. ifconfig tun0 shows mtu 1412, greater than eth0.
4. scp large file over VPN connection and scp will stall
  
Actual results:
scp stalls

Expected results:
scp finishes

Additional info:
If I edit vpnc-script and replace 1412 with 1300, scp works fine when my eth0
mtu is 1400.

Comment 1 Tomas Mraz 2008-04-03 08:42:18 UTC
Fixed in rawhide.