value of TCP_TIMEOUT_INIT based on interface ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




  Hi, lately I've run into a situation where I am doing a VPN over an
"occasionally slow but reliable" link, in particular the physical media
has relatively big packet loss (which causes the "occasionally slow"
behavior), but I am running the VPN in a TCP (which carries encrypted PPP
stream), which guarantees me the (almost) 100% reliability.

  Question :

  How do I tell the PPP interface "you are running on a very reliable but
slow link (that's the TCP link), so please apply a 3 minute timeout to TCP
packet retransmission". (As opposed to current 3 second timeout.)

 (related question: how do I tell kernel that interface eth0 has big
packet loss, and therefore TCP connections made over eth0 should have
retransmit timeout halved ?)

   Thanx,

        JV


-- Gospel of Jesus is the saving power of God for all who believe --
               ## To some, nothing is impossible. ##
                     http://Honza.Vicherek.com/

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux