Changeset View
Changeset View
Standalone View
Standalone View
sbin/setkey/setkey.8
- This file was copied to sbin/setkey/setkey.8.orig.
Show All 23 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd June 4, 2020 | .Dd September 10, 2022 | ||||
.Dt SETKEY 8 | .Dt SETKEY 8 | ||||
.Os | .Os | ||||
.\" | .\" | ||||
.Sh NAME | .Sh NAME | ||||
.Nm setkey | .Nm setkey | ||||
.Nd "manually manipulate the IPsec SA/SP database" | .Nd "manually manipulate the IPsec SA/SP database" | ||||
.\" | .\" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 408 Lines • ▼ Show 20 Lines | |||||
.It Fl P Ar direction Li none | .It Fl P Ar direction Li none | ||||
.It Xo Fl P Ar direction Li ipsec | .It Xo Fl P Ar direction Li ipsec | ||||
.Ar protocol/mode/src-dst/level Op ... | .Ar protocol/mode/src-dst/level Op ... | ||||
.Xc | .Xc | ||||
.El | .El | ||||
.Pp | .Pp | ||||
The direction of a policy must be specified as | The direction of a policy must be specified as | ||||
one of: | one of: | ||||
.Li out , | .Li out | ||||
.Li in , | or | ||||
.Li in . | |||||
The direction is followed by one of the following policy levels: | |||||
.Li discard , | .Li discard , | ||||
.Li none , | .Li none , | ||||
or | or | ||||
.Li ipsec . | .Li ipsec . | ||||
The | The | ||||
.Li discard | .Li discard | ||||
direction | policy level | ||||
means that packets matching the supplied indices will be discarded | means that packets matching the supplied indices will be discarded | ||||
while | while | ||||
.Li none | .Li none | ||||
means that IPsec operations will not take place on the packet and | means that IPsec operations will not take place on the packet and | ||||
.Li ipsec | .Li ipsec | ||||
means that IPsec operation will take place onto the packet. | means that IPsec operation will take place onto the packet. | ||||
The | The | ||||
.Ar protocol/mode/src-dst/level | .Ar protocol/mode/src-dst/level | ||||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |