LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2008, 06:38 AM   #1
saf
LQ Newbie
 
Registered: Mar 2004
Location: Bucharest
Distribution: Slackware 10.2
Posts: 26

Rep: Reputation: 15
Telnet connection lags when routed


Hello all,

I have several clients that use telnet to connect to an application server. If the clients are on the same subnet as the server, everything is ok. If I move the clients to a different subnet and route them through a Linux server (different network cards or same network card with virtual eth's, it makes no different), there are intermittent hick-ups, when the cursor seems to stall for a quarter or a half of second. The situation is not singular to one server, we use this setup in many headquarters and it's always the same. The servers are Slackware, but vary from 10.2 to 12.1, iptables varies from 1.3.5 to 1.4.0 and iproute2 varies from ss050330 to ss060323, with different hardware configurations.
For example, if I connect and then keep a key pressed (let's say "a"), it outputs: 15 a's, half second pause, 20 a's, quarter second pause, 10 a's, half second pause, a.s.o.
I really don't know how to handle this problem or even where to start with it. Any pointers would really be appreciated.

This situation might happen with other connection types, not only telnet, but this is where it's most pressing and easy to verify.

Thanks
 
Old 10-07-2008, 04:39 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Have you tried using secure shell, aka ssh ? Telnet is very unsecure!
 
Old 10-07-2008, 05:38 PM   #3
saf
LQ Newbie
 
Registered: Mar 2004
Location: Bucharest
Distribution: Slackware 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
What does that have to do with my question? I gave telnet as an example, because it's easier to check. This is an application which actually uses telnet. It's not my choice, it's the builder's.

Last edited by saf; 10-07-2008 at 05:40 PM.
 
Old 10-09-2008, 01:29 AM   #4
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi saf,

Quote:
This situation might happen with other connection types, not only telnet, but this is where it's most pressing and easy to verify.
were these an intranet over WAN connections?
do you have any PBR/traffic classification implemented - because i saw that you have those iproute2 policies - perhaps on your core router or something?
 
Old 10-09-2008, 01:59 AM   #5
saf
LQ Newbie
 
Registered: Mar 2004
Location: Bucharest
Distribution: Slackware 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rossonieri#1 View Post
hi saf,

were these an intranet over WAN connections?
do you have any PBR/traffic classification implemented - because i saw that you have those iproute2 policies - perhaps on your core router or something?
Not at all, everything happens over the LAN and no prioritization is made on any packet/connection. I'm starting to think I should investigate CPU/IRQ utilization on the router, but this is happening in all locations that I tested and no two hardware configurations are the same.
Can you suggest any other test I could run to try to find the probable cause?

Thanks
 
Old 10-09-2008, 02:27 AM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
When I read your post last night, I was to tired to respond, but I thought of compression, MTU mismatches, packet reassembly or other buffering issues on the routing station.

Run tcpdump and capture some telnet traffic to see if any obvious anomalies appear at the packet level.
 
Old 10-09-2008, 02:57 AM   #7
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi saf,

OK then. a high port utilization (netstat) or CPU bottleneck (top) could be a problem. PING or pathping could measure how fast an information can be processed/gathered by any network devices. and do check remote target (like remote servers or any remote subnet that traverse the router/firewall).

or perhaps you have any firewall --limit implemented? routing alone is not a heavy application - but firewalling is - so it can saturate your network traffic flow.

and duplex? speed?

Last edited by rossonieri#1; 10-09-2008 at 02:59 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet, connection refused rsmereka Linux - Security 4 03-25-2005 02:14 PM
telnet connection refused turbo_acura Linux - Networking 8 11-21-2004 09:07 AM
SSH connection lags within network eam Linux - General 3 08-02-2004 10:17 AM
connection freezes/lags periodically gravybt Linux - Wireless Networking 0 01-30-2004 10:19 PM
Telnet connection error brabard Linux - General 4 03-27-2003 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration