Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server application that does not remove idle connections (resulting from for example client or communication failures). Is it possible to configure iptables to monitor activity on sockets and close connections haven't had any activity for a specified amount of time?

share|improve this question

migrated from stackoverflow.com Mar 9 '10 at 4:47

This question came from our site for professional and enthusiast programmers.

2 Answers 2

I don't believe there is anything iptables can do about this. Iptables generally just operates on packets being pass through the kernel.

share|improve this answer

I think you can use tcpkill to kill connections. On debian you can find it on the dsniff package.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.