Mailinglist Archive: opensuse-bugs (6406 mails)
| < Previous | Next > |
[Bug 259712] establish ssh session takes 50 seconds
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 4 Apr 2007 10:46:54 -0600 (MDT)
- Message-id: <20070404164654.6626AFE7@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=259712
anicka@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
------- Comment #10 from anicka@xxxxxxxxxx 2007-04-04 10:46 MST -------
The strace is an answer to your problem, sshd is not to blame in this case. You
have two possible fixes I am aware of, one of them is to configure sshd not to
use IPv6, the other is to disable multicast DNS.
And what actually happens in your strace...
sshd asks for IPv6 address first (default behavior). It tries absolute name
first (exactly as you describe), unfortunately gets weird answer (with
authoritative name server only). So it tries to add suffixes... and it goes
still the same. Then it tries multicast and waits till the timeout (this is the
slowest thing). And then, finally (it should be somewhere in deleted strace
lines) asks for IPv4 address and gets answer.
When you strike similar problem next time, it will help to add raw packet data
from tcpdump, decoding them from strace is a bit time consuming ;)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
anicka@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
------- Comment #10 from anicka@xxxxxxxxxx 2007-04-04 10:46 MST -------
The strace is an answer to your problem, sshd is not to blame in this case. You
have two possible fixes I am aware of, one of them is to configure sshd not to
use IPv6, the other is to disable multicast DNS.
And what actually happens in your strace...
sshd asks for IPv6 address first (default behavior). It tries absolute name
first (exactly as you describe), unfortunately gets weird answer (with
authoritative name server only). So it tries to add suffixes... and it goes
still the same. Then it tries multicast and waits till the timeout (this is the
slowest thing). And then, finally (it should be somewhere in deleted strace
lines) asks for IPv4 address and gets answer.
When you strike similar problem next time, it will help to add raw packet data
from tcpdump, decoding them from strace is a bit time consuming ;)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |