[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing TCP timeout



On Tue, 2004-08-10 at 14:27, Adam Bender wrote:
> I'm running a scan on a local network, and when I try to connect
> to a host that has a firewall running, it has to wait until the TCP
> connection times out before it continues.  Is there a way to 
> lower the TCP timeout in the kernel, or with a syscall or something?
> If it's in the kernel, where should I look for it?

that really should be implemented in the scanner you're using.  as an
example; with nmap, you can set the following parameters to tune your
scan:

        --host_timeout <milliseconds>
        
        --max_rtt_timeout <milliseconds>
        
        --min_rtt_timeout <milliseconds>
        
        --initial_rtt_timeout <milliseconds>
        
-j

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
My friend has a baby. I'm writing down all the noises he makes so later
I can ask him what he meant. -- Steven Wright
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~