Fix incorrect command line examples.
Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp) PR: docs/94158 MFC after: 2 days
This commit is contained in:
parent
6223247e90
commit
2c3115e88f
@ -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
|
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:
|
IP for the local end of the connection:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl "nc -E example.host 42"
|
.Dl $ nc -s 10.1.2.3 example.host 42
|
||||||
.Pp
|
.Pp
|
||||||
Open a TCP connection to port 42 of example.host using IPsec ESP for
|
Open a TCP connection to port 42 of example.host using IPsec ESP for
|
||||||
incoming and outgoing traffic.
|
incoming and outgoing traffic.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl "nc -e 'out ipsec esp/transport//require' example.host 42"
|
.Dl $ nc -E example.host 42
|
||||||
.Pp
|
.Pp
|
||||||
Open a TCP connection to port 42 of example.host using IPsec ESP for
|
Open a TCP connection to port 42 of example.host using IPsec ESP for
|
||||||
outgoing traffic only.
|
outgoing traffic only.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl $ nc -s 10.1.2.3 example.host 42
|
.Dl $ nc -e 'out ipsec esp/transport//require' example.host 42
|
||||||
.Pp
|
.Pp
|
||||||
Send UDP packets to ports 20-30 of example.host, and report which ones
|
Send UDP packets to ports 20-30 of example.host, and report which ones
|
||||||
responded with an ICMP packet after three seconds:
|
responded with an ICMP packet after three seconds:
|
||||||
|
Loading…
Reference in New Issue
Block a user