Re: jerks in net connections

2013-05-06 Thread Andrei POPESCU
On Du, 05 mai 13, 14:15:22, andrey.ry...@bilkent.edu.tr wrote:
 
 no. it does not help. the problem is not for sshd itself. Same phenomena i
 see with browser on this computer. this problem is not specific for ssh
 but for network connection generally.

It might still be DNS related though. Some SOHO routers have buggy 
firmware and such delays may happen. See if using 8.8.8.8 as DNS server 
in resolv.conf helps.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: jerks in net connections

2013-05-05 Thread andrey . rybak


 You'll need to add UseDNS no on the server /etc/ssh/sshd_config to do
 it.


no. it does not help. the problem is not for sshd itself. Same phenomena i
see with browser on this computer. this problem is not specific for ssh
but for network connection generally.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/09b339a76b6e05e3631114357eca92c5.squir...@newmail.bilkent.edu.tr



Re: jerks in net connections

2013-05-05 Thread Chris Davies
andrey.ry...@bilkent.edu.tr wrote:
 no. it does not help. the problem is not for sshd itself. Same phenomena
 i see with browser on this computer. this problem is not specific for
 ssh but for network connection generally.

Take a read on TCP Slow Start [1] and Nagle's algorithm [2].
Chris


[1] http://en.wikipedia.org/wiki/Slow-start
[2] http://en.wikipedia.org/wiki/Nagle%27s_algorithm


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/gsai5ax3d1@news.roaima.co.uk



jerks in net connections

2013-05-04 Thread andrey . rybak
hi all!
Some time ago i get next problem.
Net connections start work byby jerks. In case of ssh session it look
like this: i can put my command in bash shell but some time (from 10 to 20
seconds) screen is frozen. After that: input and output of the session for
some time work as usual.
I have no idea how i can diagnose this problem. What i should check?
Top utility show that there are no process that takes resources. Loading
on processor is not high. Netstat -lpn doesnt show any load to ethernet
card.
ifconfig doesnt show lost packets on the card. How i can find what the
problem i have?
i use debian testing.
Thanks in advance.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/c929b93515fd40e3bb9dba6e97d31a25.squir...@newmail.bilkent.edu.tr



Re: jerks in net connections

2013-05-04 Thread Andrei POPESCU
On Sb, 04 mai 13, 19:15:43, andrey.ry...@bilkent.edu.tr wrote:
 hi all!
 Some time ago i get next problem.
 Net connections start work byby jerks. In case of ssh session it look
 like this: i can put my command in bash shell but some time (from 10 to 20
 seconds) screen is frozen. After that: input and output of the session for
 some time work as usual.
 I have no idea how i can diagnose this problem. What i should check?

DNS. As far as I remember there was quite recently a problem just like 
yours discussed here on debian-users, you could search the archives (if 
you haven't already).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: jerks in net connections

2013-05-04 Thread Guido Martínez
On Sat, May 4, 2013 at 4:37 PM, Andrei POPESCU andreimpope...@gmail.com wrote:
 On Sb, 04 mai 13, 19:15:43, andrey.ry...@bilkent.edu.tr wrote:
 hi all!
 Some time ago i get next problem.
 Net connections start work byby jerks. In case of ssh session it look
 like this: i can put my command in bash shell but some time (from 10 to 20
 seconds) screen is frozen. After that: input and output of the session for
 some time work as usual.
 I have no idea how i can diagnose this problem. What i should check?

 DNS. As far as I remember there was quite recently a problem just like
 yours discussed here on debian-users, you could search the archives (if
 you haven't already).

Indeed, the sshd daemon is configured to do a reverse DNS query for
each connection request. Since you're using local IP's and have no
reverse DNS setup (I assume...) those queries time out.

It's not really necessary to do a reverse DNS search to authenticate a
client, since in an untrusted network, the DNS server could be
compromised too (someone correct me if I'm wrong), and you'll do
public key challenges or ask for a password anyway so you can safely
disable this.

You'll need to add UseDNS no on the server /etc/ssh/sshd_config to do it.

Guido


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca++dqumrcw4aktokqzodweokg+pbjz+dpwptmorhjlyeb8u...@mail.gmail.com