Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

linux-ipsec: uses of SA specifiers

From: Henry Spencer <henry(at)spsystems.net>
Date: Tue Sep 29 1998 - 19:06:03 EDT


Some musings, inspired by private correspondence, on how the new SA-specifier syntax might be used...

Where one currently says:

	ipsec eroute --add --edst 10.0.0.2 --spi 200 --src 10.0.2.0/24 \
	--dst 10.0.1.0/24

that could become (with the --add option changed to take a value, the SA; this sort of simplification is the real payoff of having it all in one package):

        ipsec eroute --add esp200@10.0.0.2 --src 10.0.2.0/24 --dst 10.0.1.0/24

Deleting an SA becomes syntactically almost trivial:

        ipsec spi --del esp200@10.0.0.2

Spigrp's syntax also gets simpler, one argument per SA:

	ipsec spigrp 10.0.0.2 0x1000 10.0.0.2 0x1002       # old
	ipsec spigrp esp0x1000@10.0.0.2 ah0x1002@10.0.0.2  # new
	ipsec spigrp esp4096@10.0.0.2 ah4098@10.0.0.2      # new decimal

Things in /proc should change accordingly, e.g. /proc/net/ipsec_spigrp becomes something like:

Do you need help?X

SPIGRP:
(esp203@10.0.0.1, 3DES-MD5-96 Encryption)

(tun200@10.0.0.2, IPv4 Simple Encapsulation)
(esp202@10.0.0.2, 3DES-MD5-96 Encryption)

                                                          Henry Spencer
                                                       henry@spsystems.net
                                                     (henry@zoo.toronto.edu)
Received on Tue Sep 29 19:39:17 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:26 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library