1IPSEC_TNCFG(5)                Executable programs               IPSEC_TNCFG(5)
2
3
4

NAME

6       ipsec_tncfg - lists IPSEC virtual interfaces attached to real
7       interfaces
8

SYNOPSIS

10       ipsec tncfg
11             cat/proc/net/ipsec_tncfg
12

KLIPS

14       Note that tncfg is only supported on the KLIPS stack which uses ipsecX
15       interfaces bound to physical interfaces
16

DESCRIPTION

18       /proc/net/ipsec_tncfg is a read-only file that lists which IPSEC
19       virtual interfaces are attached to which real interfaces, through which
20       packets will be forwarded once processed by IPSEC.
21
22       Each line lists one ipsec I/F. A table entry consists of:
23
24       +
25           an ipsec virtual I/F name
26
27       +
28           a visual and machine parsable separator '->', separating the
29           virtual I/F and the physical I/F,
30
31       +
32           a physical I/F name, to which the ipsec virtual I/F is attached or
33           NULL if it is not attached,
34
35       +
36           the keyword mtu=,
37
38       +
39           the MTU of the ipsec virtual I/F,
40
41       +
42           the automatically adjusted effective MTU for PMTU discovery, in
43           brackets,
44
45       +
46           a visual and machine parsable separator '->', separating the
47           virtual I/F MTU and the physical I/F MTU,
48
49       +
50           the MTU of the attached physical I/F.
51

EXAMPLES

53       ipsec2 -> eth3 mtu=16260(1443) -> 1500
54
55       shows that virtual device ipsec2 with an MTU of 16260 is connected to
56       physical device eth3 with an MTU of 1500 and that the effective MTU as
57       a result of PMTU discovery has been automatically set to 1443.
58
59       ipsec0 -> wvlan0 mtu=1400(16260) -> 1500
60
61       shows that virtual device ipsec0 with an MTU of 1400 is connected to
62       physical device wvlan0 with an MTU of 1500 and no PMTU packets have
63       gotten far enough to bump down the effective MTU from its default of
64       16260.
65
66       ipsec3 -> NULL mtu=0(0) -> 0
67
68       shows that virtual device ipsec3 is not connected to any physical
69       device.
70

FILES

72       /proc/net/ipsec_tncfg, /usr/local/bin/ipsec
73

SEE ALSO

75       ipsec(8), ipsec_eroute(5), ipsec_spi(5), ipsec_spigrp(5),
76       ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_version(5), ipsec_pf_key(5)
77

HISTORY

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

AUTHOR

83       Paul Wouters
84           placeholder to suppress warning
85
86
87
88libreswan                         02/01/2019                    IPSEC_TNCFG(5)
Impressum