Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PMTU discovery, was Re: rdp and Wi-Fi

19 views
Skip to first unread message

dario

unread,
Jan 29, 2004, 8:55:11 AM1/29/04
to
ann.ro...@home.se wrote:

> Sorry, wrong adress!! Check it
>
>
> ----- Original Message ----- From: "Dario Rizzoli"
> <dario....@iceinformatics.com>
> To: <ti...@nl.linux.org>
> Sent: Friday, January 09, 2004 1:03 PM
> Subject: R: PMTU discovery, was Re: rdp and Wi-Fi
>
>
>> Pardon for my late.
>>
>> I have tryed to make an ls in a small directory via ssh and all works
>> fine,
>> but when i make an ls in a large directory, like /etc , the
>> connection drop!
>>
>> Now the problem is the "santis adsl router". I'll try to change MTU
>> value
>> for
>> tinc interface and fri the wifi port.
>>
>> thanks dario
>>
>> -----Messaggio originale-----
>> Da: tinc-...@nl.linux.org [mailto:tinc-...@nl.linux.org]Per conto
>> di Guus Sliepen
>> Inviato: sabato 20 dicembre 2003 22.57
>> A: tinc
>> Cc: Dario Rizzoli
>> Oggetto: PMTU discovery, was Re: rdp and Wi-Fi
>>
>>
>> On Fri, Dec 19, 2003 at 01:37:20PM -0700, Jason wrote:
>>
>> > If it helps, I rdp through tinc all the time so it is most likely
>> not a
>> compatibility
>> > issue between the two. Does it start to connect but then kinda hangs
>> > displaying the login scrn? It might be an mtu issue... where large
>> packets
>> > are getting dropped. A friend is having a similar weird issue with rdp
>> > through another (non-tinc) vpn and I suspect an mtu issue for him
>> too..
>> Try
>> > setting the mtu of the network interface on the windows client
>> (either the
>> > ethernet/wifi port if tinc runs on another box or the tinc tap
>> interface
>> if
>> > tinc is running on your client) to something lower than 1500.. try
>> 1300 or
>> > 1400.
>>
>> You could try the current CVS version, which contains code to do Path
>> MTU Discovery. Basically, it tries to figure out the effective MTU by
>> sending a few test packets, and after a while enforces the discovered
>> MTU on the VPN by sending ICMP messages which tell the hosts on the VPN
>> when to fragment their packets. To enable this, add "PMTUDiscovery =
>> yes" to the host config files.
>>
>> --
>> Met vriendelijke groet / with kind regards,
>> Guus Sliepen <gu...@sliepen.eu.org>
>>
>>
>> Tinc: Discussion list about the tinc VPN daemon
>> Archive: http://mail.nl.linux.org/lists/
>> Tinc site: http://tinc.nl.linux.org/
>>
>>
>
>
> Tinc: Discussion list about the tinc VPN daemon
> Archive: http://mail.nl.linux.org/lists/
> Tinc site: http://tinc.nl.linux.org/
>
Sorry,
I have tried with the CVS version on Windows machine with :
PMTUDiscovery = yes

The server linux use the release 1.0.2.

The problem still occur.

Any one can help me?


Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/


Guus Sliepen

unread,
Jan 29, 2004, 9:12:05 AM1/29/04
to
On Thu, Jan 29, 2004 at 02:55:11PM +0100, dario wrote:

> Sorry,
> I have tried with the CVS version on Windows machine with :
> PMTUDiscovery = yes
>
> The server linux use the release 1.0.2.

Ah, you have to run the CVS version on the Linux machine as well.

signature.asc

dario

unread,
Jan 30, 2004, 6:55:05 AM1/30/04
to
Guus Sliepen wrote:

>On Thu, Jan 29, 2004 at 02:55:11PM +0100, dario wrote:
>
>
>
>>Sorry,
>> I have tried with the CVS version on Windows machine with :
>> PMTUDiscovery = yes
>>
>> The server linux use the release 1.0.2.
>>
>>
>
>Ah, you have to run the CVS version on the Linux machine as well.
>
>
>

I have some problem to compile the CVS version on the linux box.
I get the autogen.sh file from branch 1.0.2, and it works when i compile
for MinGW. When i try

[root@kuiper tinc-CABAL]# ./autogen.sh
--with-openssl=/home/administrator/Programs/openssl-0.9.7c/
--with-lzo=/home/administrator/Programs/lzo-1.08

under linux i get the following errors:

.....
automake: configure.in: installing `./config.sub'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
configure.in: 9: required file `./[config.h].in' not found
Makefile.am:5: AM_GNU_GETTEXT in `configure.in' but `intl' not in SUBDIRS
src/Makefile.am:12: invalid unused variable name: `nodist_tincd_SOURCES'
doc/Makefile.am:3: installing `doc/texinfo.tex'
Running autoconf ...
Running /home/administrator/src/vpn/Server-Linux/tinc-CABAL/configure
--enable-maintainer-mode --enable-compile-warnings
--with-openssl=/home/administrator/Programs/openssl-0.9.7c/
--with-lzo=/home/administrator/Programs/lzo-1.08 ...
...
config.status: creating doc/tincd.8
config.status: creating doc/tinc.conf.5
config.status: creating doc/tincinclude.texi
config.status: creating lib/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating config.h
config.status: error: cannot find input file: config.h.in


can anyone help me?

Thanks dario

dario

unread,
Jan 30, 2004, 7:24:54 AM1/30/04
to
dario wrote:

Sorry, wrong installation of Autoconf 2.59

dario

unread,
Feb 4, 2004, 3:24:25 AM2/4/04
to
I have tried the CVS version on both machines with the following options:
first

PMTUDiscovery = yes

and then
PMTU = 1000

(same configuration on both machines)

But not work. For test i send ping packets with the following results:

ping -n 2 -l 1500 192.168.1.100 (time out)
ping -n 2 -l 1000 192.168.1.100 (OK)

Anyone can help me?

Guus Sliepen

unread,
Feb 4, 2004, 3:50:33 AM2/4/04
to
On Wed, Feb 04, 2004 at 09:24:25AM +0100, dario wrote:

> I have tried the CVS version on both machines with the following options:
> first
>
> PMTUDiscovery = yes
>
> and then
> PMTU = 1000
>
> (same configuration on both machines)

Did you put those options in the config files in the hosts/ directory or
did you put them in tincd.conf? It should be put in the former. If it
was in the right place, could you send me a copy of the output when
running tinc with -d5 -D?

signature.asc

dario

unread,
Feb 9, 2004, 2:58:21 AM2/9/04
to
Guus Sliepen wrote:

>On Wed, Feb 04, 2004 at 09:24:25AM +0100, dario wrote:
>
>
>
>>I have tried the CVS version on both machines with the following options:
>>first
>>
>>PMTUDiscovery = yes
>>
>>and then
>>PMTU = 1000
>>
>>(same configuration on both machines)
>>
>>
>
>Did you put those options in the config files in the hosts/ directory or
>did you put them in tincd.conf? It should be put in the former. If it
>was in the right place, could you send me a copy of the output when
>running tinc with -d5 -D?
>
>
>

It Works!!!
I wrong the configuration file.

Thanks a lot!

Guus Sliepen

unread,
Feb 9, 2004, 12:50:14 PM2/9/04
to
On Mon, Feb 09, 2004 at 08:58:21AM +0100, dario wrote:

> It Works!!!
> I wrong the configuration file.

Did it work with only PMTUDiscovery = yes, and no explicit PMTU options?

signature.asc

dario

unread,
Feb 12, 2004, 6:42:57 AM2/12/04
to
Guus Sliepen wrote:

>On Mon, Feb 09, 2004 at 08:58:21AM +0100, dario wrote:
>
>
>
>>It Works!!!
>>I wrong the configuration file.
>>
>>
>
>Did it work with only PMTUDiscovery = yes, and no explicit PMTU options?
>
>
>

I have tried only with PMTUDiscovery option.

0 new messages