Networking Forums

Networking Forums > Computer Networking > Linux Networking > Need to write (or find) a network proxy

Reply
Thread Tools Display Modes

Need to write (or find) a network proxy

 
 
Graham Nicholls
Guest
Posts: n/a

 
      09-08-2005, 09:27 AM
I have a server, running on a linux system (its a database, as it happens).
The clients are windows machines. I want to close the connection after a
certain amount of idle time (yes, I AM aware of issues with rollback &
integrity!). The server doesn't have such an option. I reckon a proxy for
the server, listening on the same port, and forwarding to a new port that
the server will listen on, could be written to handle the connections, but
maintain an idle time. What do you think - good idea, bad (please no
comments on the database integrity !) possible, not, how difficult, and is
there something which I could adapt to the purpose?

Thanks

Graham Nicholls
--
Rock Computer Consultancy: Problems solved.


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Pat Heuvel
Guest
Posts: n/a

 
      09-08-2005, 01:35 PM
Graham Nicholls wrote:
> I have a server, running on a linux system (its a database, as it happens).
> The clients are windows machines. I want to close the connection after a
> certain amount of idle time (yes, I AM aware of issues with rollback &
> integrity!). The server doesn't have such an option. I reckon a proxy for
> the server, listening on the same port, and forwarding to a new port that
> the server will listen on, could be written to handle the connections, but
> maintain an idle time. What do you think - good idea, bad (please no
> comments on the database integrity !) possible, not, how difficult, and is
> there something which I could adapt to the purpose?
>
> Thanks
>
> Graham Nicholls


Gday Graham,

If you're using a fair dinkum database server (and not just a shared
file), you should be able to specify a connection timeout value when you
create the connection to the database server.

For example, in PostgreSQL, the "PQconnectdb" function creates a
connection from the client to the server, and "conect_timeout" is the
parameter controlling the connection timeout.

Controlling your timeout in this way should cause the DBMS server to
rollback any incomplete transactions on closing a connection, assuring
your data integrity!

HTH,
Pat
 
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Network Service" account is UNABLE to write to a network shared folder Speech Lover Windows Networking 1 04-19-2007 03:53 AM
Help, i had to find the best proxy to use at work Leo Linux Networking 2 03-20-2007 03:31 PM
Lost data on network write Greydude Windows Networking 3 01-20-2006 04:45 AM
Sharing CD Rom Write drives on XP Wireless Network Andy Wireless Networks 1 09-09-2004 04:21 AM
Write behind caching and network drives Simon Windows Networking 2 05-21-2004 12:00 PM



1 2 3 4 5 6 7 8 9 10 11