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

Advertising

segmentation fault after request
Tuesday, April 17th, 2007 at 1:47:06pm UTC 

  1. ==29469== Memcheck, a memory error detector.
  2. ==29469== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
  3. ==29469== Using LibVEX rev 1732, a library for dynamic binary translation.
  4. ==29469== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
  5. ==29469== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
  6. ==29469== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
  7. ==29469== For more details, rerun with: -v
  8. ==29469==
  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: 1176816870 [2007-04-17 15:34:30], Next reset 0 [2007-04-17 15:00:00]
  259. rlm_sqlcounter: Current Time: 1176816870 [2007-04-17 15:34:30], 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: 1176816870 [2007-04-17 15:34:30], Next reset 0 [2007-04-17 15:00:00]
  282. rlm_sqlcounter: Current Time: 1176816870 [2007-04-17 15:34:30], 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. ==29469== Invalid read of size 4
  347. ==29469==    at 0x80529AB: (within /usr/sbin/freeradius)
  348. ==29469==    by 0x8059072: main (in /usr/sbin/freeradius)
  349. ==29469==  Address 0x4 is not stack'd, malloc'd or (recently) free'd
  350. ==29469==
  351. ==29469== Process terminating with default action of signal 11 (SIGSEGV)
  352. ==29469==  Access not within mapped region at address 0x4
  353. ==29469==    at 0x80529AB: (within /usr/sbin/freeradius)
  354. ==29469==    by 0x8059072: main (in /usr/sbin/freeradius)
  355. rad_recv: Access-Request packet from host <SOME_IP_DEFINED_IN_NAS_TABLE> port 42979, id=93, length=46
  356. ==29469==
  357. ==29469== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 9 from 2)
  358. ==29469== malloc/free: in use at exit: 1,305,888 bytes in 39,536 blocks.
  359. ==29469== malloc/free: 47,860 allocs, 8,324 frees, 1,832,161 bytes allocated.
  360. ==29469== For counts of detected errors, rerun with: -v
  361. ==29469== searching for pointers to 39,536 not-freed blocks.
  362. ==29469== checked 2,667,196 bytes.
  363. ==29469==
  364. ==29469==
  365. ==29469== 4 bytes in 1 blocks are definitely lost in loss record 3 of 56
  366. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  367. ==29469==    by 0x4004BFC: _dl_map_object_from_fd (in /lib/ld-2.2.5.so)
  368. ==29469==    by 0x4005C20: _dl_map_object (in /lib/ld-2.2.5.so)
  369. ==29469==    by 0x40089D3: openaux (in /lib/ld-2.2.5.so)
  370. ==29469==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  371. ==29469==    by 0x4008D0A: _dl_map_object_deps (in /lib/ld-2.2.5.so)
  372. ==29469==    by 0x432CAC5: (within /lib/libc-2.2.5.so)
  373. ==29469==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  374. ==29469==    by 0x432CE46: _dl_open (in /lib/libc-2.2.5.so)
  375. ==29469==    by 0x432DAA0: (within /lib/libc-2.2.5.so)
  376. ==29469==    by 0x4009ACA: _dl_catch_error (in /lib/ld-2.2.5.so)
  377. ==29469==    by 0x432DA4F: (within /lib/libc-2.2.5.so)
  378. ==29469==
  379. ==29469==
  380. ==29469== 22 bytes in 1 blocks are definitely lost in loss record 11 of 56
  381. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  382. ==29469==    by 0x4666A98: ???
  383. ==29469==    by 0x4666B30: ???
  384. ==29469==    by 0x466758D: ???
  385. ==29469==    by 0x42D4B1F: (within /lib/libc-2.2.5.so)
  386. ==29469==    by 0x42D4C7D: initgroups (in /lib/libc-2.2.5.so)
  387. ==29469==    by 0x80552DC: (within /usr/sbin/freeradius)
  388. ==29469==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  389. ==29469==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  390. ==29469==
  391. ==29469==
  392. ==29469== 22 bytes in 1 blocks are definitely lost in loss record 12 of 56
  393. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  394. ==29469==    by 0x4660790: ???
  395. ==29469==    by 0x4660816: ???
  396. ==29469==    by 0x46616A3: ???
  397. ==29469==    by 0x42D570E: getgrnam_r (in /lib/libc-2.2.5.so)
  398. ==29469==    by 0x42D50BC: getgrnam (in /lib/libc-2.2.5.so)
  399. ==29469==    by 0x8055279: (within /usr/sbin/freeradius)
  400. ==29469==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  401. ==29469==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  402. ==29469==
  403. ==29469==
  404. ==29469== 23 bytes in 1 blocks are definitely lost in loss record 13 of 56
  405. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  406. ==29469==    by 0x466242A: ???
  407. ==29469==    by 0x4663FF3: ???
  408. ==29469==    by 0x42D641E: getpwnam_r (in /lib/libc-2.2.5.so)
  409. ==29469==    by 0x42D5F0C: getpwnam (in /lib/libc-2.2.5.so)
  410. ==29469==    by 0x80552B7: (within /usr/sbin/freeradius)
  411. ==29469==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  412. ==29469==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  413. ==29469==
  414. ==29469==
  415. ==29469== 104 bytes in 4 blocks are definitely lost in loss record 21 of 56
  416. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  417. ==29469==    by 0x46FF66B: ???
  418. ==29469==    by 0x46FF535: ???
  419. ==29469==    by 0x46D0FAE: ???
  420. ==29469==    by 0x46C834E: ???
  421. ==29469==    by 0x466D90C: ???
  422. ==29469==    by 0x466D9DF: ???
  423. ==29469==    by 0x466D11D: ???
  424. ==29469==    by 0x466D3B2: ???
  425. ==29469==    by 0x4316A82: getservbyname_r (in /lib/libc-2.2.5.so)
  426. ==29469==    by 0x4316930: getservbyname (in /lib/libc-2.2.5.so)
  427. ==29469==    by 0x8053EF1: (within /usr/sbin/freeradius)
  428. ==29469==
  429. ==29469==
  430. ==29469== 108 bytes in 3 blocks are definitely lost in loss record 22 of 56
  431. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  432. ==29469==    by 0x4312A31: (within /lib/libc-2.2.5.so)
  433. ==29469==    by 0x4312018: __nss_database_lookup (in /lib/libc-2.2.5.so)
  434. ==29469==    by 0x4660739: ???
  435. ==29469==    by 0x4660816: ???
  436. ==29469==    by 0x46616A3: ???
  437. ==29469==    by 0x42D570E: getgrnam_r (in /lib/libc-2.2.5.so)
  438. ==29469==    by 0x42D50BC: getgrnam (in /lib/libc-2.2.5.so)
  439. ==29469==    by 0x8055279: (within /usr/sbin/freeradius)
  440. ==29469==    by 0x805596F: read_mainconfig (in /usr/sbin/freeradius)
  441. ==29469==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  442. ==29469==
  443. ==29469==
  444. ==29469== 389 bytes in 26 blocks are definitely lost in loss record 30 of 56
  445. ==29469==    at 0x40187DE: malloc (m_replacemalloc/vg_replace_malloc.c:149)
  446. ==29469==    by 0x410D7ED: (within /usr/lib/libltdl.so.3.1.0)
  447. ==29469==    by 0x410E31E: (within /usr/lib/libltdl.so.3.1.0)
  448. ==29469==    by 0x410EAB2: (within /usr/lib/libltdl.so.3.1.0)
  449. ==29469==    by 0x410F4BE: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)
  450. ==29469==    by 0x8055F2E: (within /usr/sbin/freeradius)
  451. ==29469==    by 0x80561F0: find_module_instance (in /usr/sbin/freeradius)
  452. ==29469==    by 0x8056C39: setup_modules (in /usr/sbin/freeradius)
  453. ==29469==    by 0x8055AA0: read_mainconfig (in /usr/sbin/freeradius)
  454. ==29469==    by 0x8058D1D: main (in /usr/sbin/freeradius)
  455. ==29469==
  456. ==29469== LEAK SUMMARY:
  457. ==29469==    definitely lost: 672 bytes in 37 blocks.
  458. ==29469==      possibly lost: 0 bytes in 0 blocks.
  459. ==29469==    still reachable: 1,305,216 bytes in 39,499 blocks.
  460. ==29469==         suppressed: 0 bytes in 0 blocks.
  461. ==29469== Reachable blocks (those to which a pointer was found) are not shown.
  462. ==29469== 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 expire by default in one month. 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
worth-right