summaryrefslogtreecommitdiff
path: root/doc/manpage.d/ipsec_klipsdebug.5.html
blob: 9643292565ccb581764d667cf20b4c914c4bba36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
Content-type: text/html

<HTML><HEAD><TITLE>Manpage of IPSEC_KLIPSDEBUG</TITLE>
</HEAD><BODY>
<H1>IPSEC_KLIPSDEBUG</H1>
Section: File Formats (5)<BR>Updated: 26 Jun 2000<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>




<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

ipsec_klipsdebug - list KLIPS (kernel IPSEC support) debug features and level
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>ipsec</B>

<B>klipsdebug</B>

<P>

<B>cat</B>

<B>/proc/net/ipsec_klipsdebug</B>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<I>/proc/net/ipsec_klipsdebug</I>

lists flags that control various parts of the debugging output of Klips
(the kernel portion of FreeS/WAN IPSEC).
At this point it is a read-only file.
<P>

A table entry consists of:
<DL COMPACT>
<DT>+<DD>
a KLIPS debug variable
<DT>+<DD>
a '=' separator for visual and automated parsing between the variable
name and its current value
<DT>+<DD>
hexadecimal bitmap of variable's flags.
</DL>
<P>

The variable names roughly describe the scope of the debugging variable.
Currently, no flags are documented or individually accessible yet except
tunnel-xmit.

<P>

The variable names are:
<DL COMPACT>
<DT><B>tunnel</B>

<DD>
tunnelling code
<DT><B>netlink</B>

<DD>
userspace communication code (obsolete)
<DT><B>xform</B>

<DD>
transform selection and manipulation code
<DT><B>eroute</B>

<DD>
eroute table manipulation code
<DT><B>spi</B>

<DD>
SA table manipulation code
<DT><B>radij</B>

<DD>
radij tree manipulation code
<DT><B>esp</B>

<DD>
encryptions transforms code
<DT><B>ah</B>

<DD>
authentication transforms code
<DT><B>rcv</B>

<DD>
receive code
<DT><B>ipcomp</B>

<DD>
ip compression transforms code
<DT><B>verbose</B>

<DD>
give even more information, beware this will probably trample the 4k kernel printk buffer giving inaccurate output
</DL>
<P>

All KLIPS debug output appears as
<B>kernel.info</B>

messages to
<I><A HREF="syslogd.8.html">syslogd</A></I>(8).

Most systems are set up
to log these messages to
<I>/var/log/messages</I>.

<P>

<A NAME="lbAE">&nbsp;</A>
<H2>EXAMPLES</H2>

<P>

<B>debug_tunnel=00000010.</B>

<BR>

<B>debug_netlink=00000000.</B>

<BR>

<B>debug_xform=00000000.</B>

<BR>

<B>debug_eroute=00000000.</B>

<BR>

<B>debug_spi=00000000.</B>

<BR>

<B>debug_radij=00000000.</B>

<BR>

<B>debug_esp=00000000.</B>

<BR>

<B>debug_ah=00000000.</B>

<BR>

<B>debug_rcv=00000000.</B>

<BR>

<B>debug_pfkey=ffffffff.</B>

<P>

means that one
<B>tunnel</B>

flag has been set (tunnel-xmit),
full
<B>pfkey</B>

sockets debugging has been set and everything else is not set.
<P>

<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>

/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="ipsec.8.html">ipsec</A>(8), <A HREF="ipsec_manual.8.html">ipsec_manual</A>(8), <A HREF="ipsec_tncfg.8.html">ipsec_tncfg</A>(8), <A HREF="ipsec_eroute.8.html">ipsec_eroute</A>(8),
<A HREF="ipsec_spi.8.html">ipsec_spi</A>(8), <A HREF="ipsec_spigrp.8.html">ipsec_spigrp</A>(8), <A HREF="ipsec_klipsdebug.5.html">ipsec_klipsdebug</A>(5), <A HREF="ipsec_version.5.html">ipsec_version</A>(5),
<A HREF="ipsec_pf_key.5.html">ipsec_pf_key</A>(5)
<A NAME="lbAH">&nbsp;</A>
<H2>HISTORY</H2>

Written for the Linux FreeS/WAN project
&lt;<A HREF="http://www.freeswan.org/">http://www.freeswan.org/</A>&gt;
by Richard Guy Briggs.





















<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">EXAMPLES</A><DD>
<DT><A HREF="#lbAF">FILES</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
<DT><A HREF="#lbAH">HISTORY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 21:40:18 GMT, November 11, 2003
</BODY>
</HTML>