Idle Session Disconnection

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Idle Session Disconnection

Postby johnd » Mar 17 04 8:07 am

Hi Folks.

I've noticed that connections through NAT - specifically connections to a remote SQL Server database - appear to be closed by the proxy if they remain idle for about 4 minutes.

Is this intended, and is there any way to modify this behaviour, or extend the timeout?

We are running 5.2.3.
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Re: Idle Session Disconnection

Postby Pascal » Mar 17 04 11:04 am

johnd wrote:Is this intended, and is there any way to modify this behaviour, or extend the timeout?


Hi,

It is intended. Any session which does not have traffic will be disconnected after the timeout period. There are two ways to work around this. The best way is if your client application has some way of sending keep-alives. The second way is to add a port security action from the LAN to the Internet on the port(s) that the application will connect to. You can set the action to "Allow packet" and then control the timeout that way. There are three options, "Use Default", "Never Timeout" and a user specified timeout. I'd recommend using the user specified timeout, with what you would consider to be the optimal time.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby johnd » Mar 17 04 11:37 pm

OK, thanks Pascal.
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby johnd » Mar 21 04 1:32 am

I've now tried this, but it doesn't appear to have any effect.

LAN connections to Internet
Protocol : TCP
Port : 1433
Allow Packet
Custom timeout after 7200 seconds

Have I missed anything?
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby johnd » Mar 25 04 3:19 am

Hi,

Any ideas on this?
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby Pascal » Mar 27 04 4:42 pm

I'll have to run it past QA. Double check that the port is actually 1433 (Can check that when a session is active), that the session is going through WinGate, and that it's not the remote server closing the connection.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby johnd » Mar 27 04 10:40 pm

Definitely the right port. I also get the same behaviour with MSN Messenger, and it's always in the region of 250 seconds, which makes me think the common factor is the proxy.

Now, this may not be relevant, but I'll mention it just in case. I exchanged some correspondence with your colleague Gene Soudlenkov regarding a problem we had with the Wingate firewall. There's something about our internet connection that confused it, and I'm currently running a version of the executable with an interim fix, that isn't yet in the official release. So, is it possible that whatever confused the firewall is also affecting the timeout behaviour?
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby Pascal » Mar 28 04 12:05 am

That may be likely. Was this the problem with the strange route entries ? (USB Modem ?)
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby johnd » Mar 28 04 12:19 am

Yes, that's the one.
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby johnd » Apr 04 04 4:24 am

Do you have any thoughts or feedback on this yet?
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby Pascal » Apr 05 04 4:28 pm

Not yet, sorry. We're getting things setup in the QA lab, which might take until tomorrow or so.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby johnd » Apr 05 04 8:56 pm

OK, thanks Pascal.
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am

Postby johnd » May 23 04 11:23 am

Are you still progressing this Pascal?
Cheers
John
johnd
 
Posts: 17
Joined: Feb 29 04 4:42 am


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 6 guests

cron