Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Netcat Keep alive

Add tcp keepalive parameters for netcat.

The following new switches are provided to config keepalive parameters:

-K Turn on TCP Keepalive

-O secs TCP keepalive timeout

-I secs TCP keepalive interval

-P count TCP keepalive probe count

If any of "-O" "-I" "-P" not specified when -K is on, it will use kernel parameters by default. On linux for example, it will use:

sysctl -a | grep keepalive

net.ipv4.tcp_keepalive_time = 7200

net.ipv4.tcp_keepalive_probes = 9

net.ipv4.tcp_keepalive_intvl = 75

COMPILE FROM SOURCE

COMPILATION

make [platform_name]. For example:

make linux

About

Classic netcat with tcp keepalive switches.

Resources

Releases

No releases published

Packages

No packages published