Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

segmentation fault after HUP
Tuesday, April 17th, 2007 at 1:45:31pm UTC 

  1. ==29440== Memcheck, a memory error detector.
  2. ==29440== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
  3. ==29440== Using LibVEX rev 1732, a library for dynamic binary translation.
  4. ==29440== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
  5. ==29440== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
  6. ==29440== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
  7. ==29440== For more details, rerun with: -v
  8. ==29440==
  9. Config:   including file: /etc/freeradius/radiusd.conf
  10. Config:   including file: /etc/freeradius/proxy.conf
  11. Config:   including file: /etc/freeradius/clients.conf
  12. Config:   including file: /etc/freeradius/snmp.conf
  13. Config:   including file: /etc/freeradius/eap.conf
  14. Config:   including file: /etc/freeradius/sql.conf
  15. Config:   including file: /etc/freeradius/sql/mysql-dialup.conf
  16. Config:   including file: /etc/freeradius/sqlcounter.conf
  17. Config:   including file: /etc/freeradius/perl.conf
  18. FreeRADIUS Version 2.0.0-pre0, for host i386-pc-linux-gnu, built on Apr 17 2007 at 13:10:36
  19. Starting - reading configuration files ...
  20. read_config_files:  reading dictionary
  21.  main: prefix = "/usr"
  22.  main: localstatedir = "/var"
  23.  main: logdir = "/var/log/freeradius"
  24.  main: libdir = "/usr/lib/freeradius"
  25.  main: radacctdir = "/var/log/freeradius/radacct"
  26.  main: hostname_lookups = no
  27.  main: snmp = yes
  28.  main: max_request_time = 30
  29.  main: cleanup_delay = 5
  30.  main: max_requests = 65536
  31.  main: allow_core_dumps = no
  32.  main: log_stripped_names = no
  33.  main: log_file = "/var/log/freeradius/radius.log"
  34.  main: log_auth = yes
  35.  main: log_auth_badpass = yes
  36.  main: log_auth_goodpass = yes
  37.  main: pidfile = "/var/run/freeradius/freeradius.pid"
  38.  main: user = "freerad"
  39.  main: group = "freerad"
  40.  main: checkrad = "/usr/sbin/checkrad"
  41.  main: debug_level = 0
  42.  main: proxy_requests = yes
  43.  log: syslog_facility = "daemon"
  44.  proxy server: retry_delay = 5
  45.  proxy server: retry_count = 3
  46.  proxy server: default_fallback = no
  47.  proxy server: dead_time = 120
  48.  proxy server: wake_all_if_all_dead = no
  49.  security: max_attributes = 200
  50.  security: reject_delay = 1
  51.  security: status_server = no
  52.  server_pool my_auth_failover: type = fail-over
  53.  home_server localhost: ipaddr = 127.0.0.1 IP address [127.0.0.1]
  54.  home_server localhost: port = 1812
  55.  home_server localhost: type = "auth"
  56.  home_server localhost: secret = "testing123"
  57.  home_server localhost: response_window = 20
  58.  home_server localhost: max_outstanding = 65536
  59.  home_server localhost: zombie_period = 40
  60.  home_server localhost: ping_check = "status-server"
  61.  home_server localhost: ping_interval = 30
  62.  home_server localhost: num_pings_to_alive = 3
  63.  home_server localhost: revive_interval = 120
  64.  server_pool my_auth_failover: home_server = localhost
  65.  realm example.com: auth_pool = my_auth_failover
  66.   realm LOCAL: ldflag = fail_over
  67.  main: port = 1812
  68.  listen: type = "auth"
  69.  listen: ipaddr = *
  70.  listen: port = 0
  71.  listen: type = "acct"
  72.  listen: ipaddr = *
  73.  listen: port = 0
  74.  main: smux_password = "verysecret"
  75.  main: snmp_write_access = yes
  76. SMUX connect try 1
  77. SMUX SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
  78. SMUX open progname: radiusd
  79. SMUX open password: verysecret
  80. SMUX SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
  81. SMUX register priority: -1
  82. SMUX register operation: 2
  83.  client 127.0.0.1: secret = "testing123"
  84.  client 127.0.0.1: shortname = "localhost"
  85.  client 127.0.0.1: nastype = "other"
  86. radiusd:  entering modules setup
  87. Module: Library search path is /usr/lib/freeradius
  88. Module: Loaded exec
  89.  exec: wait = yes
  90.  exec: input_pairs = "request"
  91.  exec: shell_escape = yes
  92. rlm_exec: wait=yes but no output defined. Did you mean output=none?
  93. Module: Instantiated exec (exec)
  94. Module: Loaded expr
  95. Module: Instantiated expr (expr)
  96. Module: Loaded expiration
  97.  expiration: reply-message = "Password Has Expired  "
  98. Module: Instantiated expiration (expiration)
  99. Module: Loaded logintime
  100.  logintime: reply-message = "You are calling outside your allowed timespan  "
  101.  logintime: minimum-timeout = 60
  102. Module: Instantiated logintime (logintime)
  103. Module: Loaded PAP
  104.  pap: encryption_scheme = "auto"
  105.  pap: auto_header = no
  106. Module: Instantiated pap (pap)
  107. Module: Loaded perl
  108.  perl: module = "/etc/freeradius/perl_module.pm"
  109.  perl: func_authorize = "NULL"
  110.  perl: func_authenticate = "authenticate"
  111.  perl: func_accounting = "NULL"
  112.  perl: func_preacct = "preacct"
  113.  perl: func_checksimul = "NULL"
  114.  perl: func_detach = "NULL"
  115.  perl: func_xlat = "NULL"
  116.  perl: func_pre_proxy = "NULL"
  117.  perl: func_post_proxy = "NULL"
  118.  perl: func_post_auth = "NULL"
  119. Module: Instantiated perl (perl)
  120.  exec mymetro: wait = yes
  121.  exec mymetro: program = "/etc/freeradius/acct %{Calling-Station-Id:-unknown} %{User-Name:-unknown} %{Connect-Info:-unknown} %{Called-Station-Id:-unknown} %{NAS-IP-Address:-unknown} %{NAS-Port:-unknown} %{Vendor-Specific:-unknown} %{Class:-unknown}"
  122.  exec mymetro: input_pairs = "request"
  123.  exec mymetro: output_pairs = "reply"
  124.  exec mymetro: shell_escape = yes
  125. Module: Instantiated exec (mymetro)
  126. Module: Loaded CHAP
  127. Module: Instantiated chap (chap)
  128. Module: Loaded MS-CHAP
  129.  mschap: use_mppe = yes
  130.  mschap: require_encryption = no
  131.  mschap: require_strong = no
  132.  mschap: with_ntdomain_hack = no
  133. Module: Instantiated mschap (mschap)
  134. Module: Loaded eap
  135.  eap: default_eap_type = "md5"
  136.  eap: timer_expire = 60
  137.  eap: ignore_unknown_eap_types = no
  138.  eap: cisco_accounting_username_bug = no
  139. rlm_eap: Loaded and initialized type md5
  140. rlm_eap: Loaded and initialized type leap
  141.  gtc: challenge = "Password: "
  142.  gtc: auth_type = "PAP"
  143. rlm_eap: Loaded and initialized type gtc
  144.  mschapv2: with_ntdomain_hack = no
  145. rlm_eap: Loaded and initialized type mschapv2
  146. Module: Instantiated eap (eap)
  147. Module: Loaded preprocess
  148.  preprocess: huntgroups = "/etc/freeradius/huntgroups"
  149.  preprocess: hints = "/etc/freeradius/hints"
  150.  preprocess: with_ascend_hack = no
  151.  preprocess: ascend_channels_per_line = 23
  152.  preprocess: with_ntdomain_hack = no
  153.  preprocess: with_specialix_jetstream_hack = no
  154.  preprocess: with_cisco_vsa_hack = no
  155.  preprocess: with_alvarion_vsa_hack = no
  156. Module: Instantiated preprocess (preprocess)
  157. Module: Loaded detail
  158.  detail auth_log: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
  159.  detail auth_log: header = "%t"
  160.  detail auth_log: detailperm = 384
  161.  detail auth_log: dirperm = 493
  162.  detail auth_log: locking = no
  163.  detail auth_log: log_packet_header = no
  164. Module: Instantiated detail (auth_log)
  165. Module: Loaded realm
  166.  realm IPASS: format = "prefix"
  167.  realm IPASS: delimiter = "/"
  168.  realm IPASS: ignore_default = no
  169.  realm IPASS: ignore_null = no
  170. Module: Instantiated realm (IPASS)
  171.  realm suffix: format = "suffix"
  172.  realm suffix: delimiter = "@"
  173.  realm suffix: ignore_default = no
  174.  realm suffix: ignore_null = no
  175. Module: Instantiated realm (suffix)
  176. Module: Loaded files
  177.  files: usersfile = "/etc/freeradius/users"
  178.  files: acctusersfile = "/etc/freeradius/acct_users"
  179.  files: preproxy_usersfile = "/etc/freeradius/preproxy_users"
  180.  files: compat = "no"
  181. [/etc/freeradius/acct_users]:27 WARNING! Check item "acct_start_action"         found in reply item list for user "DEFAULT".    This attribute MUST go on the first line with the other check items
  182. [/etc/freeradius/acct_users]:27 WARNING! Check item "session_count"     found in reply item list for user "DEFAULT".        This attribute MUST go on the first line with the other check items
  183. Module: Instantiated files (files)
  184. Module: Loaded SQL
  185.  sql: driver = "rlm_sql_mysql"
  186.  sql: server = "localhost"
  187.  sql: port = ""
  188.  sql: login = "radius"
  189.  sql: password = "<REMOVED>"
  190.  sql: radius_db = "radius"
  191.  sql: sqltrace = no
  192.  sql: sqltracefile = "/var/log/freeradius/sqltrace.sql"
  193.  sql: readclients = yes
  194.  sql: read_groups = yes
  195.  sql: deletestalesessions = yes
  196.  sql: num_sql_socks = 5
  197.  sql: sql_user_name = "%{User-Name}"
  198.  sql: default_user_profile = ""
  199.  sql: nas_query = "SELECT id, nasname, shortname, type, secret FROM nas group by nasname"
  200.  sql: authorize_check_query = "SELECT id, UserName, Attribute, Value, op           FROM radcheck           WHERE Username = '%{SQL-User-Name}'           ORDER BY id"
  201.  sql: authorize_reply_query = "SELECT id, UserName, Attribute, Value, op           FROM radreply           WHERE Username = '%{SQL-User-Name}'           ORDER BY id"
  202.  sql: authorize_group_check_query = "SELECT id, GroupName, Attribute, Value, op           FROM radgroupcheck           WHERE GroupName = '%{Sql-Group}'           ORDER BY id"
  203.  sql: authorize_group_reply_query = "SELECT id, GroupName, Attribute, Value, op           FROM radgroupreply           WHERE GroupName = '%{Sql-Group}'           ORDER BY id"
  204.  sql: accounting_onoff_query = "UPDATE radacct SET AcctStopTime='%S', AcctSessionTime=unix_timestamp('%S') - unix_timestamp(AcctStartTime), AcctTerminateCause='%{Acct-Terminate-Cause}', AcctStopDelay = %{Acct-Delay-Time:-0} WHERE AcctSessionTime=0 AND AcctStopTime=0 AND NASIPAddress= '%{NAS-IP-Address}' AND AcctStartTime <= '%S'"
  205.  sql: accounting_update_query = "UPDATE radacct           SET FramedIPAddress = '%{Framed-IP-Address}',           AcctSessionTime = '%{Acct-Session-Time}',           AcctInputOctets = '%{Acct-Input-Octets}',           AcctOutputOctets = '%{Acct-Output-Octets}'           WHERE AcctSessionId = '%{Acct-Session-Id}'           AND UserName = '%{SQL-User-Name}'           AND NASIPAddress= '%{NAS-IP-Address}'"
  206.  sql: accounting_update_query_alt = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S',INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0')"
  207.  sql: accounting_start_query = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', '0', '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Acct-Delay-Time:-0}', '0')"
  208.  sql: accounting_start_query_alt = "UPDATE radacct SET AcctStartTime = '%S', AcctStartDelay = '%{Acct-Delay-Time:-0}', ConnectInfo_start = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"
  209.  sql: accounting_stop_query = "UPDATE radacct SET AcctStopTime = '%S', AcctSessionTime = '%{Acct-Session-Time}', AcctInputOctets = '%{Acct-Input-Octets}', AcctOutputOctets = '%{Acct-Output-Octets}', AcctTerminateCause = '%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time:-0}', ConnectInfo_stop = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"
  210.  sql: accounting_stop_query_alt = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%S', '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Connect-Info}', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Acct-Terminate-Cause}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{Acct-Delay-Time:-0}')"
  211.  sql: group_membership_query = "SELECT GroupName           FROM usergroup           WHERE UserName = '%{SQL-User-Name}'           ORDER BY priority"
  212.  sql: connect_failure_retry_delay = 60
  213.  sql: simul_count_query = "SELECT COUNT(*) FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
  214.  sql: simul_verify_query = ""
  215.  sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', '%S')"
  216.  sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
  217. rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
  218. rlm_sql (sql): Attempting to connect to [email protected]:/radius
  219. rlm_sql (sql): starting 0
  220. rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
  221. rlm_sql_mysql: Starting connect to MySQL server for #0
  222. rlm_sql (sql): Connected new DB handle, #0
  223. rlm_sql (sql): starting 1
  224. rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
  225. rlm_sql_mysql: Starting connect to MySQL server for #1
  226. rlm_sql (sql): Connected new DB handle, #1
  227. rlm_sql (sql): starting 2
  228. rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
  229. rlm_sql_mysql: Starting connect to MySQL server for #2
  230. rlm_sql (sql): Connected new DB handle, #2
  231. rlm_sql (sql): starting 3
  232. rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
  233. rlm_sql_mysql: Starting connect to MySQL server for #3
  234. rlm_sql (sql): Connected new DB handle, #3
  235. rlm_sql (sql): starting 4
  236. rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
  237. rlm_sql_mysql: Starting connect to MySQL server for #4
  238. rlm_sql (sql): Connected new DB handle, #4
  239. rlm_sql (sql): Processing generate_sql_clients
  240. rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret FROM nas group by nasname
  241. rlm_sql (sql): Reserving sql socket id: 4
  242. rlm_sql (sql): Read entry nasname=<REMOVED>,shortname=wlan-gw29,secret=<REMOVED>
  243. rlm_sql (sql): Adding client <REMOVED> (wlan-gw29) to clients list
  244. <2 above lines repeated for another 64 NASes...>
  245. rlm_sql (sql): Released sql socket id: 4
  246. Module: Instantiated sql (sql)
  247. Module: Loaded SQL Counter
  248.  sqlcounter noresetcounter: counter-name = "Max-All-Session-Time"
  249.  sqlcounter noresetcounter: check-name = "Max-All-Session"
  250.  sqlcounter noresetcounter: key = "User-Name"
  251.  sqlcounter noresetcounter: sqlmod-inst = "sql"
  252.  sqlcounter noresetcounter: query = "SELECT SUM(CASE WHEN AcctSessionTime > %{check:minimal_session_length} THEN %{check:minimal_session_length} + CEILING((AcctSessionTime-%{check:minimal_session_length})/%{check:minimal_charge_unit})*%{check:minimal_charge_unit} ELSE %{check:minimal_session_length} END) FROM radacct WHERE UserName='%{%k}'"
  253.  sqlcounter noresetcounter: reset = "never"
  254.  sqlcounter noresetcounter: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
  255. rlm_sqlcounter: Reply attribute set to Session-Timeout.
  256. rlm_sqlcounter: Counter attribute Max-All-Session-Time is number 3102
  257. rlm_sqlcounter: Check attribute Max-All-Session is number 3103
  258. rlm_sqlcounter: Current Time: 1176816203 [2007-04-17 15:23:23], Next reset 0 [2007-04-17 15:00:00]
  259. rlm_sqlcounter: Current Time: 1176816203 [2007-04-17 15:23:23], Prev reset 0 [2007-04-17 15:00:00]
  260. Module: Instantiated sqlcounter (noresetcounter)
  261. Module: Loaded attr_rewrite
  262.  attr_rewrite fix_sqlcounter_reply: attribute = "Reply-Message"
  263.  attr_rewrite fix_sqlcounter_reply: searchfor = "Your maximum never usage time has been reached"
  264.  attr_rewrite fix_sqlcounter_reply: searchin = "reply"
  265.  attr_rewrite fix_sqlcounter_reply: replacewith = "LoginNoCreditX"
  266.  attr_rewrite fix_sqlcounter_reply: append = no
  267.  attr_rewrite fix_sqlcounter_reply: ignore_case = no
  268.  attr_rewrite fix_sqlcounter_reply: new_attribute = no
  269.  attr_rewrite fix_sqlcounter_reply: max_matches = 1
  270. Module: Instantiated attr_rewrite (fix_sqlcounter_reply)
  271.  sqlcounter noresetcounterflat: counter-name = "Max-All-Session-Time-Flat"
  272.  sqlcounter noresetcounterflat: check-name = "Max-All-Session-Flat"
  273.  sqlcounter noresetcounterflat: key = "User-Name"
  274.  sqlcounter noresetcounterflat: sqlmod-inst = "sql"
  275.  sqlcounter noresetcounterflat: query = "SELECT UNIX_TIMESTAMP()-UNIX_TIMESTAMP(AcctStartTime) FROM radacct WHERE username='%{%k}' ORDER BY radacctid limit 1"
  276.  sqlcounter noresetcounterflat: reset = "never"
  277.  sqlcounter noresetcounterflat: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
  278. rlm_sqlcounter: Reply attribute set to Session-Timeout.
  279. rlm_sqlcounter: Counter attribute Max-All-Session-Time-Flat is number 3104
  280. rlm_sqlcounter: Check attribute Max-All-Session-Flat is number 3105
  281. rlm_sqlcounter: Current Time: 1176816203 [2007-04-17 15:23:23], Next reset 0 [2007-04-17 15:00:00]
  282. rlm_sqlcounter: Current Time: 1176816203 [2007-04-17 15:23:23], Prev reset 0 [2007-04-17 15:00:00]
  283. Module: Instantiated sqlcounter (noresetcounterflat)
  284. Module: Loaded Acct-Unique-Session-Id
  285.  acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  286. Module: Instantiated acct_unique (acct_unique)
  287.  detail: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
  288.  detail: header = "%t"
  289.  detail: detailperm = 384
  290.  detail: dirperm = 493
  291.  detail: locking = no
  292.  detail: log_packet_header = no
  293. Module: Instantiated detail (detail)
  294. Module: Loaded System
  295.  unix: radwtmp = "/var/log/freeradius/radwtmp"
  296. Module: Instantiated unix (unix)
  297. Module: Loaded radutmp
  298.  radutmp: filename = "/var/log/freeradius/radutmp"
  299.  radutmp: username = "%{User-Name}"
  300.  radutmp: case_sensitive = yes
  301.  radutmp: check_with_nas = yes
  302.  radutmp: perm = 384
  303.  radutmp: callerid = yes
  304. Module: Instantiated radutmp (radutmp)
  305. Module: Loaded sql_log
  306.  sql_log: path = "/var/log/freeradius/radacct/sql-relay"
  307.  sql_log: Post-Auth = "INSERT INTO radpostauth                      (user, pass, reply, date) VALUES                           ('%{User-Name}', '%{User-Password:-Chap-Password}',                  '%{reply:Packet-Type}', '%S');"
  308.  sql_log: sql_user_name = ""
  309.  sql_log: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
  310. Module: Instantiated sql_log (sql_log)
  311. Module: Loaded attr_filter
  312.  attr_filter attr_filter.accounting_response: attrsfile = "/etc/freeradius/attrs.accounting_response"
  313.  attr_filter attr_filter.accounting_response: key = "%{User-Name}"
  314. Module: Instantiated attr_filter (attr_filter.accounting_response)
  315.  detail pre_proxy_log: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d"
  316.  detail pre_proxy_log: header = "%t"
  317.  detail pre_proxy_log: detailperm = 384
  318.  detail pre_proxy_log: dirperm = 493
  319.  detail pre_proxy_log: locking = no
  320.  detail pre_proxy_log: log_packet_header = no
  321. Module: Instantiated detail (pre_proxy_log)
  322.  detail post_proxy_log: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d"
  323.  detail post_proxy_log: header = "%t"
  324.  detail post_proxy_log: detailperm = 384
  325.  detail post_proxy_log: dirperm = 493
  326.  detail post_proxy_log: locking = no
  327.  detail post_proxy_log: log_packet_header = no
  328. Module: Instantiated detail (post_proxy_log)
  329.  detail reply_log: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d"
  330.  detail reply_log: header = "%t"
  331.  detail reply_log: detailperm = 384
  332.  detail reply_log: dirperm = 493
  333.  detail reply_log: locking = no
  334.  detail reply_log: log_packet_header = no
  335. Module: Instantiated detail (reply_log)
  336.  attr_filter attr_filter.access_reject: attrsfile = "/etc/freeradius/attrs.access_reject"
  337.  attr_filter attr_filter.access_reject: key = "%{User-Name}"
  338. Module: Instantiated attr_filter (attr_filter.access_reject)
  339. Initializing the thread pool...
  340. Listening on authentication address * port 1812
  341. Listening on accounting address * port 1813
  342. Listening on proxy address * port 1814
  343. Listening on SNMP SMUX with OID .1.3.6.1.4.1.3317.1.3.1
  344. Ready to process requests.
  345. Nothing to do.  Sleeping until we see a request.
  346. SMUX message received type: 67 rest len: 4
  347. Nothing to do.  Sleeping until we see a request.
  348. Config:   including file: /etc/freeradius/radiusd.conf
  349. Config:   including file: /etc/freeradius/proxy.conf
  350. Config:   including file: /etc/freeradius/clients.conf
  351. Config:   including file: /etc/freeradius/snmp.conf
  352. Config:   including file: /etc/freeradius/eap.conf
  353. Config:   including file: /etc/freeradius/sql.conf
  354. Config:   including file: /etc/freeradius/sql/mysql-dialup.conf
  355. Config:   including file: /etc/freeradius/sqlcounter.conf
  356. Config:   including file: /etc/freeradius/perl.conf
  357. FreeRADIUS Version 2.0.0-pre0, for host i386-pc-linux-gnu, built on Apr 17 2007 at 13:10:36
  358. Reloading - reading configuration files...
  359. read_config_files:  reading dictionary
  360.  main: prefix = "/usr"
  361.  main: localstatedir = "/var"
  362.  main: logdir = "/var/log/freeradius"
  363.  main: libdir = "/usr/lib/freeradius"
  364.  main: radacctdir = "/var/log/freeradius/radacct"
  365.  main: hostname_lookups = no
  366.  main: snmp = yes
  367.  main: max_request_time = 30
  368.  main: cleanup_delay = 5
  369.  main: max_requests = 65536
  370.  main: allow_core_dumps = no
  371.  main: log_stripped_names = no
  372.  main: log_file = "/var/log/freeradius/radius.log"
  373.  main: log_auth = yes
  374.  main: log_auth_badpass = yes
  375.  main: log_auth_goodpass = yes
  376.  main: pidfile = "/var/run/freeradius/freeradius.pid"
  377.  main: user = "freerad"
  378.  main: group = "freerad"
  379.  main: checkrad = "/usr/sbin/checkrad"
  380.  main: debug_level = 0
  381.  main: proxy_requests = yes
  382.  log: syslog_facility = "daemon"
  383.  proxy server: retry_delay = 5
  384.  proxy server: retry_count = 3
  385.  proxy server: default_fallback = no
  386.  proxy server: dead_time = 120
  387.  proxy server: wake_all_if_all_dead = no
  388.  security: max_attributes = 200
  389.  security: reject_delay = 1
  390.  security: status_server = no
  391. ==29440== Invalid free() / delete / delete[]
  392. ==29440==    at 0x40194EA: free (m_replacemalloc/vg_replace_malloc.c:233)
  393. ==29440==    by 0x804F081: (within /usr/sbin/freeradius)
  394. ==29440==    by 0x804F0E8: cf_section_free (in /usr/sbin/freeradius)
  395. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  396. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  397. ==29440==    by 0x80558C3: read_mainconfig (in /usr/sbin/freeradius)
  398. ==29440==    by 0x8058EE1: main (in /usr/sbin/freeradius)
  399. ==29440==  Address 0x4907910 is 0 bytes inside a block of size 6 free'd
  400. ==29440==    at 0x40194EA: free (m_replacemalloc/vg_replace_malloc.c:233)
  401. ==29440==    by 0x4B5AFBE: ???
  402. ==29440==    by 0x8056220: find_module_instance (in /usr/sbin/freeradius)
  403. ==29440==    by 0x8057D32: (within /usr/sbin/freeradius)
  404. ==29440==    by 0x8058441: (within /usr/sbin/freeradius)
  405. ==29440==    by 0x80582C0: (within /usr/sbin/freeradius)
  406. ==29440==    by 0x8058347: compile_modsingle (in /usr/sbin/freeradius)
  407. ==29440==    by 0x8056759: (within /usr/sbin/freeradius)
  408. ==29440==    by 0x8056BFF: setup_modules (in /usr/sbin/freeradius)
  409. ==29440==    by 0x8055AA0: read_mainconfig (in /usr/sbin/freeradius)
  410. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  411. rlm_sql (sql): Closing sqlsocket 4
  412. rlm_sql (sql): Closing sqlsocket 3
  413. rlm_sql (sql): Closing sqlsocket 2
  414. rlm_sql (sql): Closing sqlsocket 1
  415. rlm_sql (sql): Closing sqlsocket 0
  416. ==29440==
  417. ==29440== Invalid read of size 1
  418. ==29440==    at 0x475B5DD: ???
  419. ==29440==    by 0x4756346: ???
  420. ==29440==    by 0x47564B5: ???
  421. ==29440==    by 0x473302F: ???
  422. ==29440==    by 0x8055E11: (within /usr/sbin/freeradius)
  423. ==29440==    by 0x804EEC4: (within /usr/sbin/freeradius)
  424. ==29440==    by 0x804F1FB: cf_section_free (in /usr/sbin/freeradius)
  425. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  426. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  427. ==29440==    by 0x80558C3: read_mainconfig (in /usr/sbin/freeradius)
  428. ==29440==    by 0x8058EE1: main (in /usr/sbin/freeradius)
  429. ==29440==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
  430. ==29440==
  431. ==29440== Process terminating with default action of signal 11 (SIGSEGV)
  432. ==29440==  Access not within mapped region at address 0x0
  433. ==29440==    at 0x475B5DD: ???
  434. ==29440==    by 0x4756346: ???
  435. ==29440==    by 0x47564B5: ???
  436. ==29440==    by 0x473302F: ???
  437. ==29440==    by 0x8055E11: (within /usr/sbin/freeradius)
  438. ==29440==    by 0x804EEC4: (within /usr/sbin/freeradius)
  439. ==29440==    by 0x804F1FB: cf_section_free (in /usr/sbin/freeradius)
  440. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  441. ==29440==    by 0x804F21A: cf_section_free (in /usr/sbin/freeradius)
  442. ==29440==    by 0x80558C3: read_mainconfig (in /usr/sbin/freeradius)
  443. ==29440==    by 0x8058EE1: main (in /usr/sbin/freeradius)
  444. ==29440==
  445. ==29440== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 9 from 2)
  446. ==29440== malloc/free: in use at exit: 1,230,005 bytes in 39,433 blocks.
  447. ==29440== malloc/free: 49,588 allocs, 10,156 frees, 1,875,081 bytes allocated.
  448. ==29440== For counts of detected errors, rerun with: -v
  449. ==29440== searching for pointers to 39,433 not-freed blocks.
  450. ==29440== checked 2,616,412 bytes.
  451. ==29440==
  452. ==29440==
  453. ==29440== 4 bytes in 1 blocks are definitely lost in loss record 2 of 45
  454. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  455. ==29440==    by 0x4004BFC: _dl_map_object_from_fd (in /lib/ld-2.2.5.so)
  456. ==29440==    by 0x4005C20: _dl_map_object (in /lib/ld-2.2.5.so)
  457. ==29440==    by 0x40089D3: openaux (in /lib/ld-2.2.5.so)
  458. ==29440==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  459. ==29440==    by 0x4008D0A: _dl_map_object_deps (in /lib/ld-2.2.5.so)
  460. ==29440==    by 0x432CAC5: (within /lib/libc-2.2.5.so)
  461. ==29440==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  462. ==29440==    by 0x432CE46: _dl_open (in /lib/libc-2.2.5.so)
  463. ==29440==    by 0x432DAA0: (within /lib/libc-2.2.5.so)
  464. ==29440==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  465. ==29440==    by 0x432DA4F: (within /lib/libc-2.2.5.so)
  466. ==29440==
  467. ==29440==
  468. ==29440== 22 bytes in 1 blocks are definitely lost in loss record 9 of 45
  469. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  470. ==29440==    by 0x4666A98: ???
  471. ==29440==    by 0x4666B30: ???
  472. ==29440==    by 0x466758D: ???
  473. ==29440==    by 0x42D4B1F: (within /lib/libc-2.2.5.so)
  474. ==29440==    by 0x42D4C7D: initgroups (in /lib/libc-2.2.5.so)
  475. ==29440==    by 0x80552DC: (within /usr/sbin/freeradius)
  476. ==29440==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  477. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  478. ==29440==
  479. ==29440==
  480. ==29440== 22 bytes in 1 blocks are definitely lost in loss record 10 of 45
  481. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  482. ==29440==    by 0x4660790: ???
  483. ==29440==    by 0x4660816: ???
  484. ==29440==    by 0x46616A3: ???
  485. ==29440==    by 0x42D570E: getgrnam_r (in /lib/libc-2.2.5.so)
  486. ==29440==    by 0x42D50BC: getgrnam (in /lib/libc-2.2.5.so)
  487. ==29440==    by 0x8055279: (within /usr/sbin/freeradius)
  488. ==29440==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  489. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  490. ==29440==
  491. ==29440==
  492. ==29440== 23 bytes in 1 blocks are definitely lost in loss record 11 of 45
  493. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  494. ==29440==    by 0x466242A: ???
  495. ==29440==    by 0x4663FF3: ???
  496. ==29440==    by 0x42D641E: getpwnam_r (in /lib/libc-2.2.5.so)
  497. ==29440==    by 0x42D5F0C: getpwnam (in /lib/libc-2.2.5.so)
  498. ==29440==    by 0x80552B7: (within /usr/sbin/freeradius)
  499. ==29440==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  500. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  501. ==29440==
  502. ==29440==
  503. ==29440== 104 bytes in 4 blocks are definitely lost in loss record 14 of 45
  504. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  505. ==29440==    by 0x46FF66B: ???
  506. ==29440==    by 0x46FF535: ???
  507. ==29440==    by 0x46D0FAE: ???
  508. ==29440==    by 0x46C834E: ???
  509. ==29440==    by 0x466D90C: ???
  510. ==29440==    by 0x466D9DF: ???
  511. ==29440==    by 0x466D11D: ???
  512. ==29440==    by 0x466D3B2: ???
  513. ==29440==    by 0x4316A82: getservbyname_r (in /lib/libc-2.2.5.so)
  514. ==29440==    by 0x4316930: getservbyname (in /lib/libc-2.2.5.so)
  515. ==29440==    by 0x8053EF1: (within /usr/sbin/freeradius)
  516. ==29440==
  517. ==29440==
  518. ==29440== 108 bytes in 3 blocks are definitely lost in loss record 15 of 45
  519. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  520. ==29440==    by 0x4312A31: (within /lib/libc-2.2.5.so)
  521. ==29440==    by 0x4312018: __nss_database_lookup (in /lib/libc-2.2.5.so)
  522. ==29440==    by 0x4660739: ???
  523. ==29440==    by 0x4660816: ???
  524. ==29440==    by 0x46616A3: ???
  525. ==29440==    by 0x42D570E: getgrnam_r (in /lib/libc-2.2.5.so)
  526. ==29440==    by 0x42D50BC: getgrnam (in /lib/libc-2.2.5.so)
  527. ==29440==    by 0x8055279: (within /usr/sbin/freeradius)
  528. ==29440==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  529. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  530. ==29440==
  531. ==29440==
  532. ==29440== 389 bytes in 26 blocks are definitely lost in loss record 21 of 45
  533. ==29440==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  534. ==29440==    by 0x410D7ED: (within /usr/lib/libltdl.so.3.1.0)
  535. ==29440==    by 0x410E31E: (within /usr/lib/libltdl.so.3.1.0)
  536. ==29440==    by 0x410EAB2: (within /usr/lib/libltdl.so.3.1.0)
  537. ==29440==    by 0x410F4BE: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)
  538. ==29440==    by 0x8055F2E: (within /usr/sbin/freeradius)
  539. ==29440==    by 0x80561F0: find_module_instance (in /usr/sbin/freeradius)
  540. ==29440==    by 0x8056C39: setup_modules (in /usr/sbin/freeradius)
  541. ==29440==    by 0x8055AA0: read_mainconfig (in /usr/sbin/freeradius)
  542. ==29440==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  543. ==29440==
  544. ==29440== LEAK SUMMARY:
  545. ==29440==    definitely lost: 672 bytes in 37 blocks.
  546. ==29440==      possibly lost: 0 bytes in 0 blocks.
  547. ==29440==    still reachable: 1,229,333 bytes in 39,396 blocks.
  548. ==29440==         suppressed: 0 bytes in 0 blocks.
  549. ==29440== Reachable blocks (those to which a pointer was found) are not shown.
  550. ==29440== To see them, rerun with: --leak-check=full --show-reachable=yes

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus