Hi Ivan
Sorry for the delayed answer.
I have looked through the code now and it looks like these two options
are not part of the pptp-linux functions. The MTU is checked only for GRE
(which I assume you are using), but this is only checking the socket and
not the config file. So it never sets it.
o...@quartz:~/build/debian/pptp-linux/pptp-linux-1.7.2$ grep -ri mtu *
pptp_gre.c: warn("transmitted GRE packet triggered an ICMP destination
unreachable, fragmentation needed, or exceeds the MTU of the network
interface");
pptp_gre.c:#define IP_MTU 14
pptp_gre.c: if(getsockopt(fd, IPPROTO_IP, IP_MTU, &optval, &optlen) < 0)
pptp_gre.c: warn("getsockopt: IP_MTU: %d\n", optval);
And MRU I can not see how it can be useful to set at all, really.
o...@quartz:~/build/debian/pptp-linux/pptp-linux-1.7.2$ grep -ri mru *
I have also checked the source for 1.7.0-2 version in old stable. It is
the same there.
As you state that this bug dates back to the etch release and 1.7.0-2 is
for etch, I can not tell whether this dates back from the original source
before etch. I simply do not have that source available.
So there are a few options as I see it
1) If you are using GRE and you think this function should be available for GRE
then I can make this a wishlist bug.
2) If this function is available for other ppp tunnels but not this type,
I suggest we forward the bug to the ppp pakage.
3) We close the bug stating that these options are not supported and thus this
is not a bug, and that this should be done using iptables. Just as you have
done.
4) Set it to minor severity so that this can be documented in a README file.
I suggest 3, but you may have other opinions.
// Ola
On Sun, Mar 28, 2010 at 12:24:48AM +0300, Ivan Yudin wrote:
> Package: pptp-linux
> Version: 1.7.2-4
>
> When I get my pptp up, mru and mtu does not change even if i type
> "mtu 1492
> mru 1492"
> in a config.
> This line helps only:
> "
> iptables -o $INET -A FORWARD -p tcp --tcp-flags SYN,RST SYN -m tcpmss
> --mss 800:1536 -j TCPMSS --clamp-mss-to-pmtu
>
> "
>
>
> I am using Debian GNU/Linux 2.6.32-trunk-amd64
>
> This bug dates back from Etch release.
>
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ [email protected] Annebergsslingan 37 \
| [email protected] 654 65 KARLSTAD |
| http://inguza.com/ +46 (0)70-332 1551 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]