On Sun, Apr 07, 2002 at 04:00:21PM +0300, Erez Doron wrote: > hi > > I am trying to open a tcp port to a server, did it and it works. > > now i blocked the server via firewall. > > trying to connect just hangs. > > how do i make 'connect' timeout ?
In this case, you make your firewall REJECT the packet, instead of DROPing it. In the general case, the duratoin until the connection time outs is a property of the TCP/IP stack, and can probably be changed using an ioctl or a proc file. I seem to recall Stevens discussing it, but I dont have the book near by at the moment. I'm sure choo, or someone else, will correct me if I'm wrong ;) -- The ill-formed Orange Fails to satisfy the eye: http://vipe.technion.ac.il/~mulix/ Segmentation fault. http://syscalltrack.sf.net/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
