From df9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 9 Aug 2023 17:21:20 +0200 Subject: use DNS to lookup addresses, add -4/-6 Put host and port into two arguments, as separation by : complicates IPv6 usage. --- README | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index c13b2a9..b24f3c8 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ NAME listening – check if a TCP server is listening SYNOPSIS - listening [-t connect-timeout] [-w wait-timeout] [host:]port + listening [-46] [-t connect-timeout] [-w wait-timeout] [host] port DESCRIPTION The listening utility performs a TCP scan against the given host @@ -15,6 +15,10 @@ DESCRIPTION The options are as follows: + -4 Force use of IPv4. + + -6 Force use of IPv6. + -t connect-timeout Wait at most connect-timeout seconds per connection attempt (default: 0.2s, decimal fractions are allowed). @@ -22,7 +26,7 @@ DESCRIPTION -w wait-timeout Wait at most wait-timeout seconds total (decimal fractions are allowed), and keep trying to connecting when connection has been - refused. + refused (default: only try once). DETAILS listening implements a TCP SYN scan (half-open scan), which has several -- cgit 1.4.1