Content-type: text/html Manpage of IPSEC_EROUTE

IPSEC_EROUTE

Section: File Formats (5)
Updated: 26 Jun 2000
Index Return to Main Contents
 

NAME

ipsec_eroute - list of existing eroutes  

SYNOPSIS

ipsec eroute

cat /proc/net/ipsec_eroute  

DESCRIPTION

/proc/net/ipsec_eroute lists the IPSEC extended routing tables, which control what (if any) processing is applied to non-encrypted packets arriving for IPSEC processing and forwarding. At this point it is a read-only file.

A table entry consists of:

+
source address with mask,
+
a '->' separator for visual and automated parsing between src and dst
+
destination address with mask
+
a '=>' separator for visual and automated parsing between selection criteria and SAID to use
+
SAID (Security Association IDentifier), comprised of:
+
protocol (proto),
+
Security Parameters Index (SPI),
+
effective destination (edst), where the packet should be forwarded after processing (normally the other security gateway) together indicate which Security Association should be used to process the packet

Addresses are written as IPv4 dotted quads, protocol is one of "ah", "esp" or "tun" and SPIs are '0x'-prefixed hexadecimal numbers

SAIDs are written as "proto0xSPI@edst".
 

EXAMPLES

172.31.252.0/24 -> 0.0.0.0/0 => tun0x130@192.168.43.1

means that an eroute has been set up to protect traffic between the subnet 172.31.252.0 with a subnet mask of 24 bits and the default address/mask represented by an address of 0.0.0.0 with a subnet mask of 0 bits using the local machine as a security gateway on this end of the tunnel and the machine 192.168.43.1 on the other end of the tunnel with a Security Association IDentifier of tun0x130@192.168.43.1 which means that it is a tunnel mode connection (4, IPPROTO_IPIP) with a Security Parameters Index of 130 in hexadecimal.

192.168.6.0/24 -> 192.168.7.0/24 => %passthrough

means that an eroute has been set up to pass the traffic from the subnet 192.168.6.0 with a subnet mask of 24 bits and to subnet 192.168.7.0 with a subnet mask of 24 bits without any IPSEC processing.

192.168.2.110/32 -> 192.168.2.120/32 =>
esp0xe6de@192.168.2.120

means that an eroute has been set up to protect traffic between the host 192.168.2.110 and the host 192.168.2.120 using 192.168.2.110 as a security gateway on this end of the connection and the machine 192.168.2.120 on the other end of the connection with a Security Association IDentifier of esp0xe6de@192.168.2.120 which means that it is a transport mode connection with a Security Parameters Index of e6de in hexadecimal using Encapsuation Security Payload protocol (50, IPPROTO_ESP).  

FILES

/proc/net/ipsec_eroute, /usr/local/bin/ipsec  

SEE ALSO

ipsec(8), ipsec_manual(8), ipsec_tncfg(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_eroute(8), ipsec_version(5), ipsec_pf_key(5)  

HISTORY

Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 02:46:47 GMT, July 02, 2000