Re: keep port alive?

This is a discussion on Re: keep port alive? within the Linux Networking forums, part of the Linux Forums category; ivo welch wrote: > Unfortunately, my cable provider [comcast] seems to close open tcp/ip > ports after about a ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
redhat_devel
 
Posts: n/a
Default Re: keep port alive?



ivo welch wrote:
> Unfortunately, my cable provider [comcast] seems to close open tcp/ip
> ports after about a minute of lack of use. This is not so bad for
> some ports, e.g., for httpd; but it is quite a pain for ssh, sftp,
> smtp, and imap connections. Their port dropper seems to work by port,
> not by host. So, even if I use ssh to the destination, the sftp link
> would expire.
>
> Is there a program that I can run in the background (presumably as su,
> since it would have to intercede in my user's port affairs), which
> sends a ping-like request to any open tcp port with host x, with the
> sole purpose of keeping it alive, but not to interfere with it
> otherwise?
>
> help appreciated.
>
> /iaw


run CIPE VPN between both boxes. The tunnel has keepalives. You can
then route any IP traffic you desire to you through that tunnel.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/FcOQi6NlI+CoSzsRAmfWAJ41nd3rZErGyM1B/S7ywVKuVGCvhgCgmWWE
aEgTA8A+5Bw5FG9+3HNQVqs=
=l9ME
-----END PGP SIGNATURE-----

Reply With Quote
  #2 (permalink)  
Old 07-16-2003
Ken Kauffman
 
Posts: n/a
Default Re: keep port alive?


"redhat_devel" <spam@spam.org> wrote in message
news:s2g4fb.665.ln@leafnode.linux.adelphia.net...

in /etc/ssh/sshd_config there is an option:

KeepAlive yes

see if this will work. dont' forget to restart the ssh process:

/etc/init.d/sshd restart

ken k


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0