Networking Forums

Networking Forums > Computer Networking > Linux Networking > VPN woes: telnet OK, ftp put OK, ftp get hangs

Reply
Thread Tools Display Modes

VPN woes: telnet OK, ftp put OK, ftp get hangs

 
 
LinuxOnly
Guest
Posts: n/a

 
      04-22-2005, 05:01 AM
Hello All:

My Nortel VPN connection from my home PC (Redhat 9.0) to to my employer
has stopped working OK after I messed with the networking settings, and
I don't know what I changed anymore - OK, that was stupid. But to make
it clear: It was working fine in all respects until a little while
ago.

Symptoms now:
- Connection gets established OK
- telnet to my work machine works OK
- ftp to my work machine connects OK, put works but get or even just
dir hangs forever
- I can connect to my VNC server at work, but it hangs after creating
the window at home, never paints any window contents
- the system log shows the VPN getting started and stopped with no
warnings or errors
- the VPN log shows no problems

I have scoured /etc for files that have changed or look wrong, and
found nothing.
I don't have any iptables rules because I have a firewalled DSL modem.
Since the VPN connection gets established OK, I suspect some
authorization or permission problem on my PC - does that make sense?

Where should I look?
I was told to reinstall the Redhat networking - how do I do that
without reinstalling everything?

Thanks for any pointers.

 
Reply With Quote
 
 
 
 
Steve Horsley
Guest
Posts: n/a

 
      04-22-2005, 07:07 PM
LinuxOnly wrote:
> Hello All:
>
> My Nortel VPN connection from my home PC (Redhat 9.0) to to my employer
> has stopped working OK after I messed with the networking settings, and
> I don't know what I changed anymore - OK, that was stupid. But to make
> it clear: It was working fine in all respects until a little while
> ago.
>
> Symptoms now:
> - Connection gets established OK
> - telnet to my work machine works OK
> - ftp to my work machine connects OK, put works but get or even just
> dir hangs forever
> - I can connect to my VNC server at work, but it hangs after creating
> the window at home, never paints any window contents
> - the system log shows the VPN getting started and stopped with no
> warnings or errors
> - the VPN log shows no problems
>
> I have scoured /etc for files that have changed or look wrong, and
> found nothing.
> I don't have any iptables rules because I have a firewalled DSL modem.
> Since the VPN connection gets established OK, I suspect some
> authorization or permission problem on my PC - does that make sense?
>
> Where should I look?
> I was told to reinstall the Redhat networking - how do I do that
> without reinstalling everything?
>
> Thanks for any pointers.
>


I know it's not much help, but I suspect it's a problem with your
MTU - Maximum Transmittion Unit - the max packet size under IP. I
suspect that whenever your work sends you a full-sized packet, it
is being lost or not handled properly your end, although smaller
packets get through OK.

I have no idea where you might look to fix this though.

Steve
 
Reply With Quote
 
LinuxOnly
Guest
Posts: n/a

 
      04-23-2005, 05:20 AM
Ifconfig says eth0 has MTU:1500, lo has MTU:16436 - is either of them
bad?

Thanks for thinking about it.

GSt

 
Reply With Quote
 
LinuxOnly
Guest
Posts: n/a

 
      04-23-2005, 05:52 AM
OK, after reading "man ifconfig" I tried MTU settings 1400 and 1200,
with no change in behavior.
But I think you have a point. I tried ftp to an anonymous ftp server
at work, and I get "dir" listings of small directories, but not of
'pub' which presumably has more entries.

BTW, when the VPN is active, ifconfig shows a new interface nlv0 with
MTU:1438.

Any other suggestions?

GSt

 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      04-23-2005, 05:57 AM
On 2005-04-23, LinuxOnly <(E-Mail Removed)> wrote:
> BTW, when the VPN is active, ifconfig shows a new interface nlv0 with
> MTU:1438.


And the _end_ point of the VPN, the 'other side', what MTU has?
Davide

--
I will never trust someone called GATES that sells WINDOWS.
-- Federico Román
 
Reply With Quote
 
LinuxOnly
Guest
Posts: n/a

 
      04-23-2005, 07:32 PM
Right. I tried to check that last night, but my workstation at the
other end runs HP-UX, and its ifconfig does not report the MTU. Would
it even matter, since the VPN software runs on some other corporate
gateway server to which I don't have telnet access? I assume the
gateway that does the encryption reassembles all packets.

So how do I find the size of incoming packets? I guess I can't measure
those that don't make it into my machine.

Thanks for thinking about it.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      04-23-2005, 07:34 PM
LinuxOnly wrote:

> Ifconfig says eth0 has MTU:1500, lo has MTU:16436 - is either of them
> bad?
>


No. The MTU is used to specify the largest packets size. Different layer 2
protocols support different sizes.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      04-23-2005, 07:36 PM
LinuxOnly wrote:

> OK, after reading "man ifconfig" I tried MTU settings 1400 and 1200,
> with no change in behavior.
> But I think you have a point.**I*tried*ftp*to*an*anonymous*ftp*server
> at work, and I get "dir" listings of small directories, but not of
> 'pub' which presumably has more entries.
>


If you watch your network connection, with an analyzer, such as ethereal,
you'll see more, smaller packets. MTU size is normally transparent to the
user.

> BTW, when the VPN is active, ifconfig shows a new interface nlv0 with
> MTU:1438.


When using a VPN, the data must fit in an encapsulation packet, which in
turn must fit within the MTU. So the difference reflects the encapsulation
header.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable root access to telnet with krb5-telnet Phoe6 Linux Networking 2 06-08-2007 11:00 AM
NetBEUI hangs! NG User Windows Networking 1 03-25-2006 02:42 PM
FTP hangs Dave Sill Linux Networking 0 08-24-2005 08:03 PM
intermittent dsl hangs Don Tveter Linux Networking 3 06-09-2005 05:44 PM
Hangs on boot with ICS Peet Windows Networking 3 08-11-2003 08:02 PM



1 2 3 4 5 6 7 8 9 10 11