Re: ssh login lag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are blocking any incoming DNS packets by blocking udp. I believe
sshd tries to lookup the hostname of the ipaddress, it times out in few
seconds, this causes the lag. This can also happen if
your /etc/resolv.conf is pointing to unresponsive servers.

Following are the following fixes.

-> make "UseDNS no" in sshd_config

-> allow DNS from iptables AND verify /etc/resolv.conf

HTH
Arun

On Thu, 2006-05-25 at 00:37 -0700, atomi wrote:
> I've got a pretty bare bones system. Headless Fedora Core 5
> My problem occurs when I login via putty through SSH,
> after I've entered my password there is an ugly lag...
> 
> here here is my IPTABLES:
> 
> *filter 
> :OUTPUT ACCEPT [0:0]
> :FORWARD ACCEPT [0:0]
> :FIREWALL-INPUT - [0:0]
> :INPUT ACCEPT [0:0]
> -A INPUT -j FIREWALL-INPUT
> 
> -A FIREWALL-INPUT -p tcp --dport ssh -j ACCEPT
> -A FIREWALL-INPUT -p tcp -m tcp -j REJECT 
> -A FIREWALL-INPUT -p udp -m udp -j REJECT
> COMMIT
> 
> so, alright, pretty simple huh; anyone know why the lag monster
> appears?
> ANY insight i think would help.
> Thanks guys,
> atomi.
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux