IPSEC_SPIGRPSection: Maintenance Commands (8)
Updated: 30 Nov 1998
Index Return to Main Contents
NAMEipsec spigrp - group/ungroup IPSEC Security Associations
SYNOPSISipsec spigrp dst1 spi1 proto1 [ dst2 spi2 proto2 [ dst3 spi3 proto3 [ dst4 spi4 proto4 ] ] ]
DESCRIPTIONSpigrp groups IPSEC Security Associations (SAs) together or ungroups previously grouped SAs. An entry in the IPSEC extended routing table can only point (via a destination address, a Security Parameters Index (SPI) and a protocol identifier) to one SA. If more than one transform must be applied to a given type of packet, this can be accomplished by setting up several SAs with the same destination address but potentially different SPIs and protocols, and grouping them with spigrp.
The SAs to be grouped, specified by destination address (DNS name lookup or IPv4 dotted quad), SPI ('0x'-prefixed hexadecimal number) and protocol ("ah", "esp" or "tun"), are listed from the inside transform to the outside; in other words, the transforms are applied in the order of the command line and removed in the reverse order. The resulting SA group is referred to by its first SA (by dst1, spi1 and proto1).
The SAs must already exist and must not already be part of a group.
SEE ALSOipsec_tncfg(8), ipsec_eroute(8), ipsec_spi(8), ipsec_klipsdebug(8)
HISTORYWritten for the Linux FreeS/WAN project <http://www.xs4all.nl/~freeswan/> by Richard Guy Briggs.
BUGSYes, it really is limited to a maximum of four SAs, although admittedly it's hard to see why you would need more.
This document was created by man2html, using the manual pages.
Time: 21:22:50 GMT, February 08, 2000