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

[no subject]



Jim Popovitch wrote:

| On Fri, 2005-04-22 at 01:37 -0400, Bob Toxen wrote:
|
|>First, try doing:
|>
|>  cat /proc/sys/net/ipv4/tcp_keepalive_time
|>
|>to see what your TCP keepalive time is under each kernel.  If it is much
|>longer under your 2.6 kernel, try adding:
|>
|>  # Bob: Shorten for SSH through finicky firewalls (default is 7200 secs):
|>  echo "Set TCP keepalive time to 180 seconds"
|>  echo 180 > /proc/sys/net/ipv4/tcp_keepalive_time
|>
|>to your /etc/rc.d/rc.local file and rebooting.
|>
|>Please let me know if that is the problem.
|
|
| Hey, thanks Bob.  I don't know if this helped Michael, but it sure
| helped me.  I've been noticing all sorts of dropped connections (SSH,
| AIM Chats, Xwin, etc) from home that I don't see at other locations.
| Shortening my keepalive eliminated the problems.  This certainly has
| something to do with my Linksys AP.  What is the reasoning behind
| dropping so low to 180 (from 7200)?  Can their be any side affects?
|

I won't know if this helped me just yet.  I haven't had the time to fool
around with it, as some crazy things have been going on with work.
*shrugs*.

When I do know, I will throw it up here.

And just out of curiosity:  Environment variables are all set
independant of the kernel, aren't they?

And just FYI as well, the behavior is 100% reproducable if you install
Slackware 10.1 which installs with a 2.4.29 kernel, and then compile a
2.6 kernel (to date I've only tried 2.6.11.x kernels).

	- Mike

- --
Michael B. Trausch                               <fd0man at gmail.com>
Website: <a  rel="nofollow" href="http://fd0man.chadeux.net/";>http://fd0man.chadeux.net/</a>     Jabber: mtrausch at jabber.com
Phone: +1-(678)-522-7934              FAX (US Only): 1-866-806-4647
===================================================================
Do you have PGP or GPG?  Key at pgp.mit.edu, Please Encrypt E-Mail!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - <a  rel="nofollow" href="http://enigmail.mozdev.org";>http://enigmail.mozdev.org</a>

iD8DBQFCaX3KPXInbkqM7nwRAxySAJ9ELkEG2nCCHRAsC8FCXCyk6J3G/QCfWYsu
8M0iNRFIb+O1l5hFUrMxqAI=
=TQ+w
-----END PGP SIGNATURE-----


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00495" href="msg00495.html">[ale] SSH Woes</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael B. Trausch)</li></ul></li>
<li><strong><a name="00540" href="msg00540.html">[ale] SSH Woes</a></strong>
<ul><li><em>From:</em> transam at verysecurelinux.com (Bob Toxen)</li></ul></li>
<li><strong><a name="00567" href="msg00567.html">[ale] SSH Woes</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00568.html">[ale] Monitors</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00570.html">[ale] Defective BIOS?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00567.html">[ale] SSH Woes</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00625.html">[ale] SSH Woes</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00569"><strong>Date</strong></a></li>
<li><a href="threads.html#00569"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>