Advertisement
Guest User

Untitled

a guest
Sep 5th, 2012
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.24 KB | None | 0 0
  1. FreeRADIUS Version 2.1.12, for host i386-redhat-linux-gnu, built on Jun 22 2012 at 11:10:43
  2. Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
  3. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  4. PARTICULAR PURPOSE.
  5. You may redistribute copies of FreeRADIUS under the terms of the
  6. GNU General Public License v2.
  7. Starting - reading configuration files ...
  8. including configuration file /etc/raddb/radiusd.conf
  9. including configuration file /etc/raddb/proxy.conf
  10. including configuration file /etc/raddb/clients.conf
  11. including files in directory /etc/raddb/modules/
  12. including configuration file /etc/raddb/modules/mac2vlan
  13. including configuration file /etc/raddb/modules/pam
  14. including configuration file /etc/raddb/modules/chap
  15. including configuration file /etc/raddb/modules/detail.log
  16. including configuration file /etc/raddb/modules/etc_group
  17. including configuration file /etc/raddb/modules/opendirectory
  18. including configuration file /etc/raddb/modules/redis
  19. including configuration file /etc/raddb/modules/policy
  20. including configuration file /etc/raddb/modules/realm
  21. including configuration file /etc/raddb/modules/attr_rewrite
  22. including configuration file /etc/raddb/modules/attr_filter
  23. including configuration file /etc/raddb/modules/counter
  24. including configuration file /etc/raddb/modules/cui
  25. including configuration file /etc/raddb/modules/inner-eap
  26. including configuration file /etc/raddb/modules/mac2ip
  27. including configuration file /etc/raddb/modules/dynamic_clients
  28. including configuration file /etc/raddb/modules/files
  29. including configuration file /etc/raddb/modules/detail.example.com
  30. including configuration file /etc/raddb/modules/smbpasswd
  31. including configuration file /etc/raddb/modules/unix
  32. including configuration file /etc/raddb/modules/checkval
  33. including configuration file /etc/raddb/modules/detail
  34. including configuration file /etc/raddb/modules/expiration
  35. including configuration file /etc/raddb/modules/rediswho
  36. including configuration file /etc/raddb/modules/exec
  37. including configuration file /etc/raddb/modules/mschap
  38. including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
  39. including configuration file /etc/raddb/modules/pap
  40. including configuration file /etc/raddb/modules/linelog
  41. including configuration file /etc/raddb/modules/wimax
  42. including configuration file /etc/raddb/modules/ippool
  43. including configuration file /etc/raddb/modules/preprocess
  44. including configuration file /etc/raddb/modules/echo
  45. including configuration file /etc/raddb/modules/radutmp
  46. including configuration file /etc/raddb/modules/replicate
  47. including configuration file /etc/raddb/modules/acct_unique
  48. including configuration file /etc/raddb/modules/ntlm_auth
  49. including configuration file /etc/raddb/modules/expr
  50. including configuration file /etc/raddb/modules/sradutmp
  51. including configuration file /etc/raddb/modules/digest
  52. including configuration file /etc/raddb/modules/perl
  53. including configuration file /etc/raddb/modules/passwd
  54. including configuration file /etc/raddb/modules/logintime
  55. including configuration file /etc/raddb/modules/soh
  56. including configuration file /etc/raddb/modules/smsotp
  57. including configuration file /etc/raddb/modules/always
  58. including configuration file /etc/raddb/modules/otp
  59. including configuration file /etc/raddb/modules/sql_log
  60. including configuration file /etc/raddb/eap.conf
  61. including configuration file /etc/raddb/policy.conf
  62. including files in directory /etc/raddb/sites-enabled/
  63. including configuration file /etc/raddb/sites-enabled/inner-tunnel
  64. including configuration file /etc/raddb/sites-enabled/default
  65. including configuration file /etc/raddb/sites-enabled/control-socket
  66. main {
  67. user = "radiusd"
  68. group = "radiusd"
  69. allow_core_dumps = no
  70. }
  71. including dictionary file /etc/raddb/dictionary
  72. main {
  73. name = "radiusd"
  74. prefix = "/usr"
  75. localstatedir = "/var"
  76. sbindir = "/usr/sbin"
  77. logdir = "/var/log/radius"
  78. run_dir = "/var/run/radiusd"
  79. libdir = "/usr/lib/freeradius"
  80. radacctdir = "/var/log/radius/radacct"
  81. hostname_lookups = no
  82. max_request_time = 30
  83. cleanup_delay = 5
  84. max_requests = 1024
  85. pidfile = "/var/run/radiusd/radiusd.pid"
  86. checkrad = "/usr/sbin/checkrad"
  87. debug_level = 0
  88. proxy_requests = yes
  89. log {
  90. stripped_names = no
  91. auth = no
  92. auth_badpass = no
  93. auth_goodpass = no
  94. }
  95. security {
  96. max_attributes = 200
  97. reject_delay = 1
  98. status_server = yes
  99. }
  100. }
  101. radiusd: #### Loading Realms and Home Servers ####
  102. proxy server {
  103. retry_delay = 5
  104. retry_count = 3
  105. default_fallback = no
  106. dead_time = 120
  107. wake_all_if_all_dead = no
  108. }
  109. home_server localhost {
  110. ipaddr = 127.0.0.1
  111. port = 1812
  112. type = "auth"
  113. secret = "testing123"
  114. response_window = 20
  115. max_outstanding = 65536
  116. require_message_authenticator = yes
  117. zombie_period = 40
  118. status_check = "status-server"
  119. ping_interval = 30
  120. check_interval = 30
  121. num_answers_to_alive = 3
  122. num_pings_to_alive = 3
  123. revive_interval = 120
  124. status_check_timeout = 4
  125. coa {
  126. irt = 2
  127. mrt = 16
  128. mrc = 5
  129. mrd = 30
  130. }
  131. }
  132. home_server_pool my_auth_failover {
  133. type = fail-over
  134. home_server = localhost
  135. }
  136. realm example.com {
  137. auth_pool = my_auth_failover
  138. }
  139. realm LOCAL {
  140. }
  141. radiusd: #### Loading Clients ####
  142. client localhost {
  143. ipaddr = 127.0.0.1
  144. require_message_authenticator = no
  145. secret = "zzzzz123"
  146. nastype = "other"
  147. }
  148. radiusd: #### Instantiating modules ####
  149. instantiate {
  150. Module: Linked to module rlm_exec
  151. Module: Instantiating module "exec" from file /etc/raddb/modules/exec
  152. exec {
  153. wait = no
  154. input_pairs = "request"
  155. shell_escape = yes
  156. }
  157. Module: Linked to module rlm_expr
  158. Module: Instantiating module "expr" from file /etc/raddb/modules/expr
  159. Module: Linked to module rlm_expiration
  160. Module: Instantiating module "expiration" from file /etc/raddb/modules/expiration
  161. expiration {
  162. reply-message = "Password Has Expired "
  163. }
  164. Module: Linked to module rlm_logintime
  165. Module: Instantiating module "logintime" from file /etc/raddb/modules/logintime
  166. logintime {
  167. reply-message = "You are calling outside your allowed timespan "
  168. minimum-timeout = 60
  169. }
  170. }
  171. radiusd: #### Loading Virtual Servers ####
  172. server { # from file /etc/raddb/radiusd.conf
  173. modules {
  174. Module: Creating Auth-Type = digest
  175. Module: Creating Post-Auth-Type = REJECT
  176. Module: Checking authenticate {...} for more modules to load
  177. Module: Linked to module rlm_pap
  178. Module: Instantiating module "pap" from file /etc/raddb/modules/pap
  179. pap {
  180. encryption_scheme = "auto"
  181. auto_header = no
  182. }
  183. Module: Linked to module rlm_chap
  184. Module: Instantiating module "chap" from file /etc/raddb/modules/chap
  185. Module: Linked to module rlm_mschap
  186. Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap
  187. mschap {
  188. use_mppe = yes
  189. require_encryption = no
  190. require_strong = no
  191. with_ntdomain_hack = no
  192. allow_retry = yes
  193. }
  194. Module: Linked to module rlm_digest
  195. Module: Instantiating module "digest" from file /etc/raddb/modules/digest
  196. Module: Linked to module rlm_unix
  197. Module: Instantiating module "unix" from file /etc/raddb/modules/unix
  198. unix {
  199. radwtmp = "/var/log/radius/radwtmp"
  200. }
  201. Module: Linked to module rlm_eap
  202. Module: Instantiating module "eap" from file /etc/raddb/eap.conf
  203. eap {
  204. default_eap_type = "md5"
  205. timer_expire = 60
  206. ignore_unknown_eap_types = no
  207. cisco_accounting_username_bug = no
  208. max_sessions = 4096
  209. }
  210. Module: Linked to sub-module rlm_eap_md5
  211. Module: Instantiating eap-md5
  212. Module: Linked to sub-module rlm_eap_leap
  213. Module: Instantiating eap-leap
  214. Module: Linked to sub-module rlm_eap_gtc
  215. Module: Instantiating eap-gtc
  216. gtc {
  217. challenge = "Password: "
  218. auth_type = "PAP"
  219. }
  220. Module: Linked to sub-module rlm_eap_tls
  221. Module: Instantiating eap-tls
  222. tls {
  223. rsa_key_exchange = no
  224. dh_key_exchange = yes
  225. rsa_key_length = 512
  226. dh_key_length = 512
  227. verify_depth = 0
  228. CA_path = "/etc/raddb/certs"
  229. pem_file_type = yes
  230. private_key_file = "/etc/raddb/certs/server.pem"
  231. certificate_file = "/etc/raddb/certs/server.pem"
  232. CA_file = "/etc/raddb/certs/ca.pem"
  233. private_key_password = "whatever"
  234. dh_file = "/etc/raddb/certs/dh"
  235. random_file = "/etc/raddb/certs/random"
  236. fragment_size = 1024
  237. include_length = yes
  238. check_crl = no
  239. cipher_list = "DEFAULT"
  240. cache {
  241. enable = no
  242. lifetime = 24
  243. max_entries = 255
  244. }
  245. verify {
  246. }
  247. ocsp {
  248. enable = no
  249. override_cert_url = yes
  250. url = "http://127.0.0.1/ocsp/"
  251. }
  252. }
  253. Module: Linked to sub-module rlm_eap_ttls
  254. Module: Instantiating eap-ttls
  255. ttls {
  256. default_eap_type = "md5"
  257. copy_request_to_tunnel = no
  258. use_tunneled_reply = no
  259. virtual_server = "inner-tunnel"
  260. include_length = yes
  261. }
  262. Module: Linked to sub-module rlm_eap_peap
  263. Module: Instantiating eap-peap
  264. peap {
  265. default_eap_type = "mschapv2"
  266. copy_request_to_tunnel = no
  267. use_tunneled_reply = no
  268. proxy_tunneled_request_as_eap = yes
  269. virtual_server = "inner-tunnel"
  270. soh = no
  271. }
  272. Module: Linked to sub-module rlm_eap_mschapv2
  273. Module: Instantiating eap-mschapv2
  274. mschapv2 {
  275. with_ntdomain_hack = no
  276. send_error = no
  277. }
  278. Module: Checking authorize {...} for more modules to load
  279. Module: Linked to module rlm_preprocess
  280. Module: Instantiating module "preprocess" from file /etc/raddb/modules/preprocess
  281. preprocess {
  282. huntgroups = "/etc/raddb/huntgroups"
  283. hints = "/etc/raddb/hints"
  284. with_ascend_hack = no
  285. ascend_channels_per_line = 23
  286. with_ntdomain_hack = no
  287. with_specialix_jetstream_hack = no
  288. with_cisco_vsa_hack = no
  289. with_alvarion_vsa_hack = no
  290. }
  291. Module: Linked to module rlm_detail
  292. Module: Instantiating module "auth_log" from file /etc/raddb/modules/detail.log
  293. detail auth_log {
  294. detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
  295. header = "%t"
  296. detailperm = 384
  297. dirperm = 493
  298. locking = no
  299. log_packet_header = no
  300. }
  301. Module: Linked to module rlm_realm
  302. Module: Instantiating module "suffix" from file /etc/raddb/modules/realm
  303. realm suffix {
  304. format = "suffix"
  305. delimiter = "@"
  306. ignore_default = no
  307. ignore_null = no
  308. }
  309. Module: Linked to module rlm_checkval
  310. Module: Instantiating module "checkval" from file /etc/raddb/modules/checkval
  311. checkval {
  312. item-name = "Calling-Station-Id"
  313. check-name = "Calling-Station-Id"
  314. data-type = "string"
  315. notfound-reject = yes
  316. }
  317. rlm_checkval: Registered name Calling-Station-Id for attribute 31
  318. Module: Linked to module rlm_files
  319. Module: Instantiating module "files" from file /etc/raddb/modules/files
  320. files {
  321. usersfile = "/etc/raddb/users"
  322. acctusersfile = "/etc/raddb/acct_users"
  323. preproxy_usersfile = "/etc/raddb/preproxy_users"
  324. compat = "no"
  325. }
  326. Module: Checking preacct {...} for more modules to load
  327. Module: Linked to module rlm_acct_unique
  328. Module: Instantiating module "acct_unique" from file /etc/raddb/modules/acct_unique
  329. acct_unique {
  330. key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  331. }
  332. Module: Checking accounting {...} for more modules to load
  333. Module: Instantiating module "detail" from file /etc/raddb/modules/detail
  334. detail {
  335. detailfile = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
  336. header = "%t"
  337. detailperm = 384
  338. dirperm = 493
  339. locking = no
  340. log_packet_header = no
  341. }
  342. Module: Linked to module rlm_radutmp
  343. Module: Instantiating module "radutmp" from file /etc/raddb/modules/radutmp
  344. radutmp {
  345. filename = "/var/log/radius/radutmp"
  346. username = "%{User-Name}"
  347. case_sensitive = yes
  348. check_with_nas = yes
  349. perm = 384
  350. callerid = yes
  351. }
  352. Module: Linked to module rlm_attr_filter
  353. Module: Instantiating module "attr_filter.accounting_response" from file /etc/raddb/modules/attr_filter
  354. attr_filter attr_filter.accounting_response {
  355. attrsfile = "/etc/raddb/attrs.accounting_response"
  356. key = "%{User-Name}"
  357. relaxed = no
  358. }
  359. Module: Checking session {...} for more modules to load
  360. Module: Checking post-proxy {...} for more modules to load
  361. Module: Checking post-auth {...} for more modules to load
  362. Module: Instantiating module "attr_filter.access_reject" from file /etc/raddb/modules/attr_filter
  363. attr_filter attr_filter.access_reject {
  364. attrsfile = "/etc/raddb/attrs.access_reject"
  365. key = "%{User-Name}"
  366. relaxed = no
  367. }
  368. } # modules
  369. } # server
  370. server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
  371. modules {
  372. Module: Checking authenticate {...} for more modules to load
  373. Module: Checking authorize {...} for more modules to load
  374. Module: Checking session {...} for more modules to load
  375. Module: Checking post-proxy {...} for more modules to load
  376. Module: Checking post-auth {...} for more modules to load
  377. } # modules
  378. } # server
  379. radiusd: #### Opening IP addresses and Ports ####
  380. listen {
  381. type = "auth"
  382. ipaddr = *
  383. port = 0
  384. }
  385. listen {
  386. type = "acct"
  387. ipaddr = *
  388. port = 0
  389. }
  390. listen {
  391. type = "control"
  392. listen {
  393. socket = "/var/run/radiusd/radiusd.sock"
  394. }
  395. }
  396. listen {
  397. type = "auth"
  398. ipaddr = 127.0.0.1
  399. port = 18120
  400. }
  401. ... adding new socket proxy address * port 46149
  402. Listening on authentication address * port 1812
  403. Listening on accounting address * port 1813
  404. Listening on command file /var/run/radiusd/radiusd.sock
  405. Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
  406. Listening on proxy address * port 1814
  407. Ready to process requests.
  408. rad_recv: Access-Request packet from host 127.0.0.1 port 44250, id=149, length=175
  409. Calling-Station-Id = "test"
  410. Called-Station-Id = "100"
  411. Service-Type = IAPP-Register
  412. Cisco-AVPair = "h323-session-protocol=sipv2"
  413. NAS-Identifier = "IPPBX"
  414. h323-remote-address = "h323-remote-address=10.10.10.10"
  415. h323-conf-id = "h323-conf-id=BAD810CA 0B947B51 93D772C6 FFBE6346"
  416. # Executing section authorize from file /etc/raddb/sites-enabled/default
  417. +- entering group authorize {...}
  418. ++[preprocess] returns ok
  419. [auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/127.0.0.1/auth-detail-20120905
  420. [auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20120905
  421. [auth_log] expand: %t -> Wed Sep 5 21:30:57 2012
  422. ++[auth_log] returns ok
  423. ++[chap] returns noop
  424. ++[mschap] returns noop
  425. ++[digest] returns noop
  426. [suffix] Proxy reply, or no User-Name. Ignoring.
  427. ++[suffix] returns ok
  428. [eap] No EAP-Message, not doing EAP
  429. ++[eap] returns noop
  430. rlm_checkval: Item Name: Calling-Station-Id, Value: test
  431. rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs
  432. ++[checkval] returns notfound
  433. ++[files] returns noop
  434. ++[expiration] returns noop
  435. ++[logintime] returns noop
  436. [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
  437. ++[pap] returns noop
  438. ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user
  439. Failed to authenticate the user.
  440. Using Post-Auth-Type Reject
  441. # Executing group from file /etc/raddb/sites-enabled/default
  442. +- entering group REJECT {...}
  443. [attr_filter.access_reject] expand: %{User-Name} ->
  444. ++[attr_filter.access_reject] returns noop
  445. Delaying reject of request 0 for 1 seconds
  446. Going to the next request
  447. Waking up in 0.9 seconds.
  448. Sending delayed reject for request 0
  449. Sending Access-Reject of id 149 to 127.0.0.1 port 44250
  450. Waking up in 4.9 seconds.
  451. Cleaning up request 0 ID 149 with timestamp +5
  452. Ready to process requests.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement