diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2006-03-07 18:34:18 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2006-03-07 18:34:18 +0000 |
commit | c0f081220294c4db5c445e463f7f4ada78657e88 (patch) | |
tree | 862c962ef5c87e843fa002b61aa783861b5ed074 /contrib/netcat | |
parent | 999b97c5e78322d8d92961822dcfafe082e90008 (diff) | |
download | src-c0f081220294c4db5c445e463f7f4ada78657e88.tar.gz src-c0f081220294c4db5c445e463f7f4ada78657e88.zip |
Notes
Diffstat (limited to 'contrib/netcat')
-rw-r--r-- | contrib/netcat/nc.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1 index 42bd791f7aa3..c3fcb5059153 100644 --- a/contrib/netcat/nc.1 +++ b/contrib/netcat/nc.1 @@ -389,17 +389,17 @@ Open a UDP connection to port 53 of hostname: Open a TCP connection to port 42 of example.host using 10.1.2.3 as the IP for the local end of the connection: .Pp -.Dl "nc -E example.host 42" +.Dl $ nc -s 10.1.2.3 example.host 42 .Pp Open a TCP connection to port 42 of example.host using IPsec ESP for incoming and outgoing traffic. .Pp -.Dl "nc -e 'out ipsec esp/transport//require' example.host 42" +.Dl $ nc -E example.host 42 .Pp Open a TCP connection to port 42 of example.host using IPsec ESP for outgoing traffic only. .Pp -.Dl $ nc -s 10.1.2.3 example.host 42 +.Dl $ nc -e 'out ipsec esp/transport//require' example.host 42 .Pp Send UDP packets to ports 20-30 of example.host, and report which ones responded with an ICMP packet after three seconds: |