summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2012-02-07 12:11:44 +0000
committerlum <lum@cvs.openbsd.org>2012-02-07 12:11:44 +0000
commit8440faa73861e7ae01fdca0ea5e830d49f7a2318 (patch)
tree83c95f1dc7dd90014da42deeb346635dc92e7410
parent4d389622cf3977db58f4e83afcab9f4c15ae7e6e (diff)
Expand the CAVEAT section to more fully describe the behaviour of
the -uz combination. This diff stems from a diff by brynet@ sent to tech@ help from jmc@ regarding wording.
-rw-r--r--usr.bin/nc/nc.119
1 files changed, 13 insertions, 6 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1
index d249aa18b11..75d1437580a 100644
--- a/usr.bin/nc/nc.1
+++ b/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nc.1,v 1.59 2011/10/04 08:34:34 fgsch Exp $
+.\" $OpenBSD: nc.1,v 1.60 2012/02/07 12:11:43 lum Exp $
.\"
.\" Copyright (c) 1996 David Sacerdote
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 4 2011 $
+.Dd $Mdocdate: February 7 2012 $
.Dt NC 1
.Os
.Sh NAME
@@ -449,8 +449,15 @@ Original implementation by *Hobbit*
Rewritten with IPv6 support by
.An Eric Jackson Aq ericj@monkey.org .
.Sh CAVEATS
-UDP port scans will always succeed
-(i.e. report the port as open),
-rendering the
+UDP port scans using the
.Fl uz
-combination of flags relatively useless.
+combination of flags will always report success irrespective of
+the target machine's state.
+However,
+in conjunction with a traffic sniffer either on the target machine
+or an intermediary device,
+the
+.Fl uz
+combination could be useful for communications diagnostics.
+Note that the amount of UDP traffic generated may be limited either
+due to hardware resources and/or configuration settings.