Guest User

bino/freeradius-debug

a guest
Aug 29th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.92 KB | None | 0 0
  1. Mon Aug 29 03:52:59 2016 : Debug: (22) Received Access-Request Id 218 from 127.0.0.1:38782 to 127.0.0.1:1812 length 76
  2. Mon Aug 29 03:52:59 2016 : Debug: (22) User-Name = "myName"
  3. Mon Aug 29 03:52:59 2016 : Debug: (22) User-Password = "myPassword"
  4. Mon Aug 29 03:52:59 2016 : Debug: (22) NAS-IP-Address = 127.0.1.1
  5. Mon Aug 29 03:52:59 2016 : Debug: (22) NAS-Port = 1
  6. Mon Aug 29 03:52:59 2016 : Debug: (22) Message-Authenticator = 0xa2452f846577653d6ba0711ef3430307
  7. Mon Aug 29 03:52:59 2016 : Debug: (22) session-state: No State attribute
  8. Mon Aug 29 03:52:59 2016 : Debug: (22) # Executing section authorize from file /etc/freeradius/sites-enabled/default
  9. Mon Aug 29 03:52:59 2016 : Debug: (22) authorize {
  10. Mon Aug 29 03:52:59 2016 : Debug: (22) policy filter_username {
  11. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name) {
  12. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name) -> TRUE
  13. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name) {
  14. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ / /) {
  15. Mon Aug 29 03:52:59 2016 : Debug: No matches
  16. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ / /) -> FALSE
  17. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /@[^@]*@/ ) {
  18. Mon Aug 29 03:52:59 2016 : Debug: No matches
  19. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
  20. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /\.\./ ) {
  21. Mon Aug 29 03:52:59 2016 : Debug: No matches
  22. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /\.\./ ) -> FALSE
  23. Mon Aug 29 03:52:59 2016 : Debug: (22) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
  24. Mon Aug 29 03:52:59 2016 : Debug: No matches
  25. Mon Aug 29 03:52:59 2016 : Debug: (22) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
  26. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /\.$/) {
  27. Mon Aug 29 03:52:59 2016 : Debug: No matches
  28. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /\.$/) -> FALSE
  29. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /@\./) {
  30. Mon Aug 29 03:52:59 2016 : Debug: No matches
  31. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&User-Name =~ /@\./) -> FALSE
  32. Mon Aug 29 03:52:59 2016 : Debug: (22) } # if (&User-Name) = notfound
  33. Mon Aug 29 03:52:59 2016 : Debug: (22) } # policy filter_username = notfound
  34. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling preprocess (rlm_preprocess) for request 22
  35. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from preprocess (rlm_preprocess) for request 22
  36. Mon Aug 29 03:52:59 2016 : Debug: (22) [preprocess] = ok
  37. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling rest (rlm_rest) for request 22
  38. Mon Aug 29 03:52:59 2016 : Info: rlm_rest (rest): Closing connection (16): Hit idle_timeout, was idle for 94 seconds
  39. Mon Aug 29 03:52:59 2016 : Debug: rlm_rest (rest): 0 of 0 connections in use. You may need to increase "spare"
  40. Mon Aug 29 03:52:59 2016 : Info: rlm_rest (rest): Opening additional connection (17), 1 of 32 pending slots used
  41. Mon Aug 29 03:52:59 2016 : Debug: rlm_rest (rest): Connecting to "http://10.10.255.2:5000/"
  42. Mon Aug 29 03:52:59 2016 : Debug: rlm_rest (rest): Reserved connection (17)
  43. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Expanding URI components
  44. Mon Aug 29 03:52:59 2016 : Debug: http://10.10.255.2:5000
  45. Mon Aug 29 03:52:59 2016 : Debug: Parsed xlat tree:
  46. Mon Aug 29 03:52:59 2016 : Debug: literal --> http://10.10.255.2:5000
  47. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: EXPAND http://10.10.255.2:5000
  48. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: --> http://10.10.255.2:5000
  49. Mon Aug 29 03:52:59 2016 : Debug: /
  50. Mon Aug 29 03:52:59 2016 : Debug: Parsed xlat tree:
  51. Mon Aug 29 03:52:59 2016 : Debug: literal --> /
  52. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: EXPAND /
  53. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: --> /
  54. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Sending HTTP POST to "http://10.10.255.2:5000/"
  55. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Adding custom headers:
  56. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: X-FreeRADIUS-Section: authorize
  57. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: X-FreeRADIUS-Server: default
  58. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Request body content-type will be "application/json"
  59. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "User-Name"
  60. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : string
  61. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 6
  62. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : "myName"
  63. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "User-Password"
  64. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : string
  65. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 10
  66. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : "myPassword"
  67. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "NAS-IP-Address"
  68. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : ipaddr
  69. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 9
  70. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : "127.0.1.1"
  71. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "NAS-Port"
  72. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : integer
  73. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 1
  74. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : 1
  75. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "Event-Timestamp"
  76. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : date
  77. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 24
  78. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : "Aug 29 2016 03:52:59 UTC"
  79. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Encoding attribute "Message-Authenticator"
  80. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : octets
  81. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Length : 34
  82. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Value : "0xa2452f846577653d6ba0711ef3430307"
  83. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: JSON Data: {"User-Name":{"type":"string","value":["myName"]},"User-Password":{"type":"string","value":["myPassword"]},"NAS-IP-Address":{"type":"ipaddr","value":["127.0.1.1"]},"NAS-Port":{"type":"integer","value":[1]},"Event-Timestamp":{"type":"date","value":["Aug 29 2016 03:52:59 UTC"]},"Message-Authenticator":{"type":"octets","value":["0xa2452f846577653d6ba0711ef3430307"]}}
  84. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Returning 366 bytes of JSON data
  85. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Processing response header
  86. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Status : 200 (OK)
  87. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Type : json (application/json)
  88. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Parsing attribute "control"
  89. Mon Aug 29 03:52:59 2016 : WARNING: (22) rest: Value key missing, skipping...
  90. Mon Aug 29 03:52:59 2016 : Debug: (22) rest: Parsing attribute "reply"
  91. Mon Aug 29 03:52:59 2016 : WARNING: (22) rest: Value key missing, skipping...
  92. Mon Aug 29 03:52:59 2016 : Debug: rlm_rest (rest): Released connection (17)
  93. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from rest (rlm_rest) for request 22
  94. Mon Aug 29 03:52:59 2016 : Debug: (22) [rest] = ok
  95. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling chap (rlm_chap) for request 22
  96. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from chap (rlm_chap) for request 22
  97. Mon Aug 29 03:52:59 2016 : Debug: (22) [chap] = noop
  98. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling mschap (rlm_mschap) for request 22
  99. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from mschap (rlm_mschap) for request 22
  100. Mon Aug 29 03:52:59 2016 : Debug: (22) [mschap] = noop
  101. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling digest (rlm_digest) for request 22
  102. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from digest (rlm_digest) for request 22
  103. Mon Aug 29 03:52:59 2016 : Debug: (22) [digest] = noop
  104. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling suffix (rlm_realm) for request 22
  105. Mon Aug 29 03:52:59 2016 : Debug: (22) suffix: Checking for suffix after "@"
  106. Mon Aug 29 03:52:59 2016 : Debug: (22) suffix: No '@' in User-Name = "myName", looking up realm NULL
  107. Mon Aug 29 03:52:59 2016 : Debug: (22) suffix: No such realm "NULL"
  108. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from suffix (rlm_realm) for request 22
  109. Mon Aug 29 03:52:59 2016 : Debug: (22) [suffix] = noop
  110. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling eap (rlm_eap) for request 22
  111. Mon Aug 29 03:52:59 2016 : Debug: (22) eap: No EAP-Message, not doing EAP
  112. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from eap (rlm_eap) for request 22
  113. Mon Aug 29 03:52:59 2016 : Debug: (22) [eap] = noop
  114. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling files (rlm_files) for request 22
  115. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from files (rlm_files) for request 22
  116. Mon Aug 29 03:52:59 2016 : Debug: (22) [files] = noop
  117. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling expiration (rlm_expiration) for request 22
  118. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from expiration (rlm_expiration) for request 22
  119. Mon Aug 29 03:52:59 2016 : Debug: (22) [expiration] = noop
  120. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling logintime (rlm_logintime) for request 22
  121. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from logintime (rlm_logintime) for request 22
  122. Mon Aug 29 03:52:59 2016 : Debug: (22) [logintime] = noop
  123. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: calling pap (rlm_pap) for request 22
  124. Mon Aug 29 03:52:59 2016 : WARNING: (22) pap: No "known good" password found for the user. Not setting Auth-Type
  125. Mon Aug 29 03:52:59 2016 : WARNING: (22) pap: Authentication will fail unless a "known good" password is available
  126. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[authorize]: returned from pap (rlm_pap) for request 22
  127. Mon Aug 29 03:52:59 2016 : Debug: (22) [pap] = noop
  128. Mon Aug 29 03:52:59 2016 : Debug: (22) } # authorize = ok
  129. Mon Aug 29 03:52:59 2016 : ERROR: (22) No Auth-Type found: rejecting the user via Post-Auth-Type = Reject
  130. Mon Aug 29 03:52:59 2016 : Debug: (22) Failed to authenticate the user
  131. Mon Aug 29 03:52:59 2016 : Debug: (22) Using Post-Auth-Type Reject
  132. Mon Aug 29 03:52:59 2016 : Debug: (22) # Executing group from file /etc/freeradius/sites-enabled/default
  133. Mon Aug 29 03:52:59 2016 : Debug: (22) Post-Auth-Type REJECT {
  134. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: calling attr_filter.access_reject (rlm_attr_filter) for request 22
  135. Mon Aug 29 03:52:59 2016 : Debug: %{User-Name}
  136. Mon Aug 29 03:52:59 2016 : Debug: Parsed xlat tree:
  137. Mon Aug 29 03:52:59 2016 : Debug: attribute --> User-Name
  138. Mon Aug 29 03:52:59 2016 : Debug: (22) attr_filter.access_reject: EXPAND %{User-Name}
  139. Mon Aug 29 03:52:59 2016 : Debug: (22) attr_filter.access_reject: --> myName
  140. Mon Aug 29 03:52:59 2016 : Debug: (22) attr_filter.access_reject: Matched entry DEFAULT at line 11
  141. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: returned from attr_filter.access_reject (rlm_attr_filter) for request 22
  142. Mon Aug 29 03:52:59 2016 : Debug: (22) [attr_filter.access_reject] = updated
  143. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: calling eap (rlm_eap) for request 22
  144. Mon Aug 29 03:52:59 2016 : Debug: (22) eap: Request didn't contain an EAP-Message, not inserting EAP-Failure
  145. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: returned from eap (rlm_eap) for request 22
  146. Mon Aug 29 03:52:59 2016 : Debug: (22) [eap] = noop
  147. Mon Aug 29 03:52:59 2016 : Debug: (22) policy remove_reply_message_if_eap {
  148. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&reply:EAP-Message && &reply:Reply-Message) {
  149. Mon Aug 29 03:52:59 2016 : Debug: (22) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
  150. Mon Aug 29 03:52:59 2016 : Debug: (22) else {
  151. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: calling noop (rlm_always) for request 22
  152. Mon Aug 29 03:52:59 2016 : Debug: (22) modsingle[post-auth]: returned from noop (rlm_always) for request 22
  153. Mon Aug 29 03:52:59 2016 : Debug: (22) [noop] = noop
  154. Mon Aug 29 03:52:59 2016 : Debug: (22) } # else = noop
  155. Mon Aug 29 03:52:59 2016 : Debug: (22) } # policy remove_reply_message_if_eap = noop
  156. Mon Aug 29 03:52:59 2016 : Debug: (22) } # Post-Auth-Type REJECT = updated
  157. Mon Aug 29 03:52:59 2016 : Debug: (22) Delaying response for 1.000000 seconds
  158. Mon Aug 29 03:52:59 2016 : Debug: Waking up in 0.2 seconds.
  159. Mon Aug 29 03:52:59 2016 : Debug: Waking up in 0.7 seconds.
  160. Mon Aug 29 03:53:00 2016 : Debug: (22) Sending delayed response
  161. Mon Aug 29 03:53:00 2016 : Debug: (22) Sent Access-Reject Id 218 from 127.0.0.1:1812 to 127.0.0.1:38782 length 20
  162. Mon Aug 29 03:53:00 2016 : Debug: Waking up in 3.9 seconds.
  163. Mon Aug 29 03:53:04 2016 : Debug: (22) Cleaning up request packet ID 218 with timestamp +4279
  164. Mon Aug 29 03:53:04 2016 : Info: Ready to process requests
Add Comment
Please, Sign In to add comment