xfrm_proc.txt 2.0 KB

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