Re: [pfSense] Shell Logout time

2013-04-26 Thread Espen F. Johansen

Try turning on tcp-keepalive in your ssh client this fixes it for putty f.ex.

Espen F. Johansen


Sent with AquaMail for Android
http://www.aqua-mail.com


On 25. april 2013 21:57:23 Jerome Alet jerome.a...@univ-nc.nc wrote:

Hi,

On Thu, Apr 25, 2013 at 12:37:36PM -0400, Jim Pingle wrote:
 On 4/25/2013 11:20 AM, Odhiambo Washington wrote:
  Whenever I am logged into my pfSense box via SSH, I always get logged
  out within some time, even when I am running something. Where can I
  change that timeout value?

 As others have mentioned there is no timeout value. pfSense will leave
 active connections open, even if idle, for 24 hours at least. A WAN
 getting disconnected would flush its states, or there could be something
 else involved cutting them off.

I've noticed the very same problem when connecting through ssh directly
from my PC to our slave pfSense in our cluster of two : automatic
disconnect from the slave after maybe one minute or even less.

If I first connect to the master pfSense from my PC, then from there to
the slave, there's no disconnection.

I've never noticed such a problem when connecting to the master.

bye

--
Jérôme Alet - jerome.a...@univ-nc.nc - Direction du Système d'Information
  Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX
   Tél : +687 290081  Fax : +687 254829
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list



___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Shell Logout time

2013-04-26 Thread Seth Mos
On 26-4-2013 10:48, Odhiambo Washington wrote:
 I am using ShellGuard as the ssh client. My ssh sessions don't time
 out with other hosts except my pfSense box. My pfSense box is
 connected to the same switch as my workstation PC so I am lost as to
 what causes these timeouts. BTW, I think it's just with this 2.0.3 box
 i am seeing the timeouts.

If you have state killing actived and/or connecting to the external
address of the pfsense box this could cause it.

If you have nat reflection enabled and/or a nat forward you are
connecting through (interface set to any) could cause this too.

Cheers,
Seth
 
 On 26 April 2013 11:32, Espen F. Johansen pfse...@gmail.com wrote:
 Try turning on tcp-keepalive in your ssh client this fixes it for putty
 f.ex.

 Espen F. Johansen


 Sent with AquaMail for Android
 http://www.aqua-mail.com



 On 25. april 2013 21:57:23 Jerome Alet jerome.a...@univ-nc.nc wrote:

 Hi,

 On Thu, Apr 25, 2013 at 12:37:36PM -0400, Jim Pingle wrote:
 On 4/25/2013 11:20 AM, Odhiambo Washington wrote:
 Whenever I am logged into my pfSense box via SSH, I always get logged
 out within some time, even when I am running something. Where can I
 change that timeout value?

 As others have mentioned there is no timeout value. pfSense will leave
 active connections open, even if idle, for 24 hours at least. A WAN
 getting disconnected would flush its states, or there could be something
 else involved cutting them off.

 I've noticed the very same problem when connecting through ssh directly
 from my PC to our slave pfSense in our cluster of two : automatic
 disconnect from the slave after maybe one minute or even less.

 If I first connect to the master pfSense from my PC, then from there to
 the slave, there's no disconnection.

 I've never noticed such a problem when connecting to the master.

 bye

 --
 Jérôme Alet - jerome.a...@univ-nc.nc - Direction du Système
 d'Information
   Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX
Tél : +687 290081  Fax : +687 254829
 ___
 List mailing list
 List@lists.pfsense.org
 http://lists.pfsense.org/mailman/listinfo/list



 ___
 List mailing list
 List@lists.pfsense.org
 http://lists.pfsense.org/mailman/listinfo/list
 
 
 

___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


[pfSense] Shell Logout time

2013-04-25 Thread Odhiambo Washington
Whenever I am logged into my pfSense box via SSH, I always get logged
out within some time, even when I am running something. Where can I
change that timeout value?

I am tempted to ask (due to ignorance) why there is no perl package
for pfSense. I'd love to have that so that I can install my modules on
top.

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Shell Logout time

2013-04-25 Thread Chris Bagnall

On 25/4/13 4:20 pm, Odhiambo Washington wrote:

Whenever I am logged into my pfSense box via SSH, I always get logged
out within some time, even when I am running something. Where can I
change that timeout value?


I have pfSense SSH windows open at the moment which have been active for 
several days, so I suspect it's not pfSense that's logging out, but 
perhaps a connection going down/up from time to time?



I am tempted to ask (due to ignorance) why there is no perl package
for pfSense. I'd love to have that so that I can install my modules on
top.


Remember pfSense is a firewall/router, not an 'all-in-one' server 
appliance. Generally, non-firewall/router things are better done on 
other devices. It's also worth remembering that pfSense often runs on 
small, embedded platforms which often have significant constraints on 
both RAM and available disk storage.


I've always been very impressed that the pfSense team has managed to 
avoid the temptation of feature creep in this area, and long may it 
continue :-)


Kind regards,

Chris
--
This email is made from 100% recycled electrons
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Shell Logout time

2013-04-25 Thread Jim Pingle
On 4/25/2013 11:20 AM, Odhiambo Washington wrote:
 Whenever I am logged into my pfSense box via SSH, I always get logged
 out within some time, even when I am running something. Where can I
 change that timeout value?

As others have mentioned there is no timeout value. pfSense will leave
active connections open, even if idle, for 24 hours at least. A WAN
getting disconnected would flush its states, or there could be something
else involved cutting them off.

Some Linksys kit used to love cutting off idle connections after 10 minutes.

 I am tempted to ask (due to ignorance) why there is no perl package
 for pfSense. I'd love to have that so that I can install my modules on
 top.

We don't need it in the base system.

Some packages like squid will bring it in. You can always pkg_add -r
perl, or use a full URL to a specific version on FreeBSD's servers or
ours, from http://files.pfsense.org/packages/8/All/ or
http://files.pfsense.org/packages/amd64/8/All/

Careful doing that on NanoBSD though, some large packages can be
problematic there.

Jim
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Shell Logout time

2013-04-25 Thread Jerome Alet
Hi,

On Thu, Apr 25, 2013 at 12:37:36PM -0400, Jim Pingle wrote:
 On 4/25/2013 11:20 AM, Odhiambo Washington wrote:
  Whenever I am logged into my pfSense box via SSH, I always get logged
  out within some time, even when I am running something. Where can I
  change that timeout value?

 As others have mentioned there is no timeout value. pfSense will leave
 active connections open, even if idle, for 24 hours at least. A WAN
 getting disconnected would flush its states, or there could be something
 else involved cutting them off.

I've noticed the very same problem when connecting through ssh directly
from my PC to our slave pfSense in our cluster of two : automatic
disconnect from the slave after maybe one minute or even less.

If I first connect to the master pfSense from my PC, then from there to
the slave, there's no disconnection.

I've never noticed such a problem when connecting to the master.

bye

--
Jérôme Alet - jerome.a...@univ-nc.nc - Direction du Système d'Information
  Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX
   Tél : +687 290081  Fax : +687 254829
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list