blob: 2eae619ab67b05c29ae95438906ef21e94fe0506 [file] [log] [blame]
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -08001XFRM proc - /proc/net/xfrm_* files
2==================================
3Masahide NAKAMURA <nakam@linux-ipv6.org>
4
5
6Transformation Statistics
7-------------------------
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -08008
Shannon Nelson1a4bb1d2017-12-21 14:26:18 -08009The xfrm_proc code is a set of statistics showing numbers of packets
10dropped by the transformation code and why. These counters are defined
11as part of the linux private MIB. These counters can be viewed in
12/proc/net/xfrm_stat.
13
14
15Inbound errors
16~~~~~~~~~~~~~~
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -080017XfrmInError:
18 All errors which is not matched others
19XfrmInBufferError:
20 No buffer is left
21XfrmInHdrError:
22 Header error
23XfrmInNoStates:
24 No state is found
25 i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong
26XfrmInStateProtoError:
27 Transformation protocol specific error
28 e.g. SA key is wrong
29XfrmInStateModeError:
30 Transformation mode specific error
Masahide NAKAMURA9472c9e2008-01-31 17:14:58 -080031XfrmInStateSeqError:
32 Sequence error
33 i.e. Sequence number is out of window
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -080034XfrmInStateExpired:
35 State is expired
36XfrmInStateMismatch:
37 State has mismatch option
38 e.g. UDP encapsulation type is mismatch
39XfrmInStateInvalid:
40 State is invalid
41XfrmInTmplMismatch:
42 No matching template for states
43 e.g. Inbound SAs are correct but SP rule is wrong
44XfrmInNoPols:
45 No policy is found for states
46 e.g. Inbound SAs are correct but no SP is found
47XfrmInPolBlock:
48 Policy discards
49XfrmInPolError:
50 Policy error
Shannon Nelson1a4bb1d2017-12-21 14:26:18 -080051XfrmAcquireError:
52 State hasn't been fully acquired before use
53XfrmFwdHdrError:
54 Forward routing of a packet is not allowed
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -080055
56Outbound errors
57~~~~~~~~~~~~~~~
58XfrmOutError:
59 All errors which is not matched others
60XfrmOutBundleGenError:
61 Bundle generation error
62XfrmOutBundleCheckError:
63 Bundle check error
64XfrmOutNoStates:
65 No state is found
66XfrmOutStateProtoError:
67 Transformation protocol specific error
68XfrmOutStateModeError:
69 Transformation mode specific error
Masahide NAKAMURA9472c9e2008-01-31 17:14:58 -080070XfrmOutStateSeqError:
71 Sequence error
72 i.e. Sequence number overflow
Masahide NAKAMURA558f82e2007-12-20 20:42:57 -080073XfrmOutStateExpired:
74 State is expired
75XfrmOutPolBlock:
76 Policy discards
77XfrmOutPolDead:
78 Policy is dead
79XfrmOutPolError:
80 Policy error
Shannon Nelson1a4bb1d2017-12-21 14:26:18 -080081XfrmOutStateInvalid:
82 State is invalid, perhaps expired