Freeradius-Users
Threads by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 27049 discussions
Hello,
I have installed two servers with MVTS PRO installed on both servers ,
supports 600 concurrent calls.
and i installed one server with FreeRADIUS to manage both servers and
billing "with daloRADIUS".
and i have some needs must to be in the FreeRADIUS to manage the calls .
all calls must be checked firstly from two tables then go to Specific
Gateways like below :
1 - BlackList : to block calls to numbers from the BlackList table ,
2 - WhiteList : to send calls to numbers from the WhiteList table to White
Gateways
3 - Other calls not stored in both tables must be send to Checking Gateways
.
4 - if calls have a good CDR must be storing in WhiteList .
5 - other calls have a bad CDR must be storing in BlackList .
I want to have free choice for activate checking from both tables or one of
both tables or don't check any tables for each client individually.
how can i add both tables to FreeRADIUS and make configuration to check
before sending calls to MVTS Servers.
--
*Best Regards
Mohamed Daif*
2
1
I am very new to radius, and I
am having a problem configuring radius to authenticate by checking my
already running openldap server for authorization and then using PAP for
authentication. I am running a CentOS server where openldap is the
backed to a samba network authentication server. My comments here will
be posted in blue, radius debugging output in black, and security
changes to the output in red. I have two test runs of different
configurations but will also explain what I did throughout the the progression of my radius server
development. First I followed the directions on
"Deploying Radius" at
http://deployingradius.com/documents/configuration/pap.html. This lets
me know that the server is working, but does not have much information
about LDAP authentication and other sites I have looked over use
outdated information. So, throughout this process, I have kept track of
the changes that I have made, and saved the original configurations to
the files that I make changes to so that I can always start over again
if need be. After
the first test, I made changes to the /sites-available/default file to
uncomment the ldap line in the authorization section. I left the ldap
authentication line commented out because of further research describing
that it is not needed if I am just doing pap authentication. I used a
username and password that I know works for my network authentication. I
also made changes to the /modules/ldap file in order to connect to the
ldap database. The radius server had difficulties extracting
the userPassword from the ldap server, but pulled out the NT, LM passwords and the username just fine. I then made
one more change to the ldap module. I uncommented the line
"password_attribute = userPassword" and received the following results:
FreeRADIUS Version 2.1.7, for host x86_64-redhat-linux-gnu, built on Mar 31 2010 at 00:14:28
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/modules/
including configuration file /etc/raddb/modules/perl
including configuration file /etc/raddb/modules/inner-eap
including configuration file /etc/raddb/modules/checkval
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/unix
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/sql_log
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/otp
including configuration file /etc/raddb/modules/echo
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/linelog
including configuration file /etc/raddb/modules/etc_group
including configuration file /etc/raddb/modules/mac2ip
including configuration file /etc/raddb/modules/digest
including configuration file /etc/raddb/modules/counter
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/sradutmp
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/cui
including configuration file /etc/raddb/modules/mschap.bak
including configuration file /etc/raddb/modules/ippool
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/radutmp
including configuration file /etc/raddb/modules/pam
including configuration file /etc/raddb/modules/passwd
including configuration file /etc/raddb/modules/smsotp
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb/modules/detail.example.com
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/modules/realm
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/smbpasswd
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/policy.conf
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/control-socket
including configuration file /etc/raddb/sites-enabled/inner-tunnel
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
shortname = "localhost"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = yes
cisco_accounting_username_bug = no
max_sessions = 2048
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/raddb/certs/server.pem"
certificate_file = "/etc/raddb/certs/server.pem"
CA_file = "/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/raddb/certs/dh"
random_file = "/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_realm
Module: Instantiating suffix
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_attr_filter
Module: Instantiating attr_filter.access_reject
attr_filter attr_filter.access_reject {
attrsfile = "/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_ldap
Module: Instantiating ldap
ldap {
server = "localhost"
port = 389
password = "LdapPassword"
identity = "cn=Admin,dc=domain,dc=com"
net_timeout = 1
timeout = 4
timelimit = 3
tls_mode = no
start_tls = no
tls_require_cert = "allow"
tls {
start_tls = no
require_cert = "allow"
}
basedn = "dc=ndoa,dc=state,dc=nv,dc=us"
filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
base_filter = "(objectclass=radiusprofile)"
password_attribute = "userPassword"
auto_header = no
access_attr_used_for_allow = yes
groupname_attribute = "cn"
groupmembership_filter =
"(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
dictionary_mapping = "/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
set_auth_type = yes
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id
conns: 0x2f50730
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating detail
detail {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Instantiating attr_filter.accounting_response
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/var/run/radiusd/radiusd.sock"
}
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 54977, id=196, length=59
User-Name = "username"
User-Password = "Password"
NAS-IP-Address = localhost
NAS-Port = 2
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "username", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns updated
++[files] returns noop
[ldap] performing user authorization for username
[ldap] expand: %{Stripped-User-Name} ->
[ldap] expand: %{User-Name} -> username
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=username)
[ldap] expand: dc=domain,dc=com -> dc=domain,dc=com
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to localhost:389, authentication 0
rlm_ldap: bind as cn=Admin,dc=domain,dc=com/LdapPassword to localhost:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in dc=domain,dc=com, with filter (uid=username)
[ldap] Added User-Password = {SSHA}encryptedPassword in check items
[ldap] looking for check items in directory...
rlm_ldap: sambaNtPassword -> NT-Password == encryptedNTpassword
rlm_ldap: sambaLmPassword -> LM-Password == encryptedLMpassword
[ldap] looking for reply items in directory...
[ldap] user username authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Normalizing NT-Password from hex encoding
[pap] Normalizing LM-Password from hex encoding
++[pap] returns updated
Found Auth-Type = PAP
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Replacing User-Password in config items with Cleartext-Password. !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Please update your configuration so that the "known good" !!!
!!! clear text password is in Cleartext-Password, and not in User-Password. !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+- entering group PAP {...}
[pap] login attempt with password "Password"
[pap] Using CRYPT encryption.
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> username
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 196 to 127.0.0.1 port 54977
Waking up in 4.9 seconds.
After
this failed attempt, I figured that PAP was not configured properly for
my ldap authentication so I made a change to the /modules/pap file:
"auto_header = yes". I tested this configuration and saw that PAP was
still trying to authenticate my SSHA password with CRYPT so I added
"encryption_scheme = "ssha" " to the pap module file. and get this
result:
FreeRADIUS Version 2.1.7, for host x86_64-redhat-linux-gnu, built on Mar 31 2010 at 00:14:28
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/modules/
including configuration file /etc/raddb/modules/perl
including configuration file /etc/raddb/modules/inner-eap
including configuration file /etc/raddb/modules/checkval
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/unix
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/sql_log
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/otp
including configuration file /etc/raddb/modules/echo
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/linelog
including configuration file /etc/raddb/modules/etc_group
including configuration file /etc/raddb/modules/mac2ip
including configuration file /etc/raddb/modules/digest
including configuration file /etc/raddb/modules/counter
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/sradutmp
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/cui
including configuration file /etc/raddb/modules/mschap.bak
including configuration file /etc/raddb/modules/ippool
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/radutmp
including configuration file /etc/raddb/modules/pam
including configuration file /etc/raddb/modules/passwd
including configuration file /etc/raddb/modules/smsotp
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb/modules/detail.example.com
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/modules/realm
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/smbpasswd
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/policy.conf
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/control-socket
including configuration file /etc/raddb/sites-enabled/inner-tunnel
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
shortname = "localhost"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "ssha"
auto_header = yes
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = yes
cisco_accounting_username_bug = no
max_sessions = 2048
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/raddb/certs/server.pem"
certificate_file = "/etc/raddb/certs/server.pem"
CA_file = "/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/raddb/certs/dh"
random_file = "/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_realm
Module: Instantiating suffix
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_attr_filter
Module: Instantiating attr_filter.access_reject
attr_filter attr_filter.access_reject {
attrsfile = "/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_ldap
Module: Instantiating ldap
ldap {
server = "localhost"
port = 389
password = "LdapPassword"
identity = "cn=Admin,dc=domain,dc=com"
net_timeout = 1
timeout = 4
timelimit = 3
tls_mode = no
start_tls = no
tls_require_cert = "allow"
tls {
start_tls = no
require_cert = "allow"
}
basedn = "dc=domain,dc=com"
filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
base_filter = "(objectclass=radiusprofile)"
password_attribute = "userPassword"
auto_header = no
access_attr_used_for_allow = yes
groupname_attribute = "cn"
groupmembership_filter =
"(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
dictionary_mapping = "/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
set_auth_type = yes
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id
conns: 0x189ff7c0
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating detail
detail {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Instantiating attr_filter.accounting_response
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/var/run/radiusd/radiusd.sock"
}
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 41127, id=231, length=59
User-Name = "username"
User-Password = "Password"
NAS-IP-Address = localhost
NAS-Port = 2
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "username", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns updated
++[files] returns noop
[ldap] performing user authorization for username
[ldap] expand: %{Stripped-User-Name} ->
[ldap] expand: %{User-Name} -> username
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=username)
[ldap] expand: dc=domain,dc=com -> dc=domain,dc=com
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to localhost:389, authentication 0
rlm_ldap: bind as cn=Admin,dc=domain,dc=com/LdapPassword to localhost:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in dc=domain,dc=com, with filter (uid=username)
[ldap] Added User-Password = {SSHA}encryptedPassword in check items
[ldap] looking for check items in directory...
rlm_ldap: sambaNtPassword -> NT-Password == encryptedNTpassword
rlm_ldap: sambaLmPassword -> LM-Password == encryptedLMpassword
[ldap] looking for reply items in directory...
[ldap] user username authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Normalizing NT-Password from hex encoding
[pap] Normalizing LM-Password from hex encoding
[pap] Normalizing SSHA1-Password from base64 encoding
++[pap] returns updated
Found Auth-Type = PAP
+- entering group PAP {...}
[pap] login attempt with password "Password"
[pap] No password configured for the user. Cannot do authentication
++[pap] returns fail
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> username
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 231 to 127.0.0.1 port 41127
Waking up in 4.9 seconds.
Cleaning up request 0 ID 231 with timestamp +2
Ready to process requests.
I
do not know if I am even heading in the right direction, but I would
appreciate any help to get this working. Thanks in advance.
2
1
Now that I have my Radius server configured I need to begin
implementation I have 600 computers that will be using it. The question
I am wondering is do I have to go around and install a certificate on
every one of the computers and then maintain that every year changing
out the certificate on 600 computers or is there some way that the
server passes out certificates when the machine logs on. Or do I have
an incorrect understanding of how to implement 802.1x security.
Joseph R. McSparin
Network Administrator
Hill Country Memorial Hospital
830 990 6638 phone
830 990 6623 fax
jmcsparin(a)hillcountrymemorial.org
--
This email message and any attachments are for the sole use of the intended recipient(s) and contain confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.
8
11
Hi,
Does anyone know if FreeRADIUS now supports Microsoft
PEAP/EAP-TLS, i.e. when you select PEAP with Certificates in
Windows (not plain EAP-TLS, or PEAP/MS-CHAPv2, which both work
fine)? This post from 2007 (and FR 1.0.1) indicates that it didn't
work then, wondered if that's changed at all?
https://lists.freeradius.org/pipermail/freeradius-users/2007-April/msg00841…
For the reasons in that e-mail, I similarly don't care about using
it for auth, as EAP-TLS works fine. However, from the SoH
documentation, it needs either PEAP or DHCP to work. I haven't
ruled out DHCP yet, but it seems a lot tidier to do it in RADIUS
if possible, which in turn just leaves PEAP.
The 'normal' PEAP with MS-CHAPv2 works fine giving the SoH
details, but has to be "user authentication" on the client.
EAP-TLS works fine presenting the certificate to connect to the
network (Microsoft's so-called "computer auth"), but doesn't, as
far as I can tell, do SoH.
Is it actually possible to do SoH with certificate-based
authentication, or do I have to look towards DHCP for this?
I'm using a very custom config at the moment (on the latest v2.1.x
branch), and having tried all sorts can't get it to play. I'll
probably try working from the default config later just in case
I've missed something blindingly obvious, but if anyone could
confirm if the above post is still true or there is no other way
to do it then it will save me a lot of time trying! :)
Cheers,
Matthew
(Wishing Microsoft would bother to support a few additional
options in their built-in supplicant, rather than just the couple
of odd combinations that they want.)
--
Matthew Newton, Ph.D. <mcn4(a)le.ac.uk>
Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp(a)le.ac.uk>
3
3
One of the annoying features of Blackberry devices is that the descriptions of the same CA certificate varies from device to device. Some devices, like my Storm2, seem to validate the CA even when that checkbox is selected. Since there are lots of CAs installed on Blackberry phones, setting up EAP can take a while as you go through the several certs which match your CA.
"Palmer J.D.F." <J.D.F.Palmer(a)swansea.ac.uk> wrote:
>We have endless amounts of trouble connecting Blackberrys, they are
>hateful things.
>Some devices will use the certificate, some won't connect unless cert
>validation is disabled. Some don't have the option to disable cert
>checking, and some won't connect at all.
>For a essentially single vendor device they have the most varied and
>random configuration idiosyncrasies between devices, even of the same
>model. Due to this variance we no longer try to offer online support for
>them, users are asked to bring them in to be looked at (and hacked at)
>to connect them.
>
>But yes, if possible you want to be enforcing cert validation, but in
>practice it's not always possible.
>
>> -----Original Message-----
>> From: freeradius-users-
>> bounces+j.d.f.palmer=swansea.ac.uk(a)lists.freeradius.org
>> [mailto:freeradius-users-
>> bounces+j.d.f.palmer=swansea.ac.uk(a)lists.freeradius.org] On Behalf Of
>> Garber, Neal
>> Sent: 20 January 2012 11:13
>> To: 'FreeRadius users mailing list'
>> Subject: RE: Blackberry disabled server certificates query
>>
>> > if you leave the box unchecked "disable server certificate
>> validation"
>> > then the blackberry connects fine if you uncheck connection fails
>> > "failed to connect".
>>
>> You wrote, "...if you leave it unchecked... (it)... connects fine if
>> you uncheck (it the) connection fails"???
>>
>> Did you mean to say "if you leave it *checked* it connects fine"?? If
>> so, checking the box is telling your Blackberry NOT to validate the
>> RADIUS server's certificate. If you don't validate the certificate,
>> there's a risk that you could be passing your credentials to an
>> untrusted RADIUS server (if someone impersonates your wireless network
>> name).
>>
>> Best practice, for RADIUS, is to use a cert generated from a private
>CA
>> that you control, or at least trust. In this case, you would need to
>> configure your Blackberry's to validate that the certificate is signed
>> by the CA you expect (which means they would need the CA's cert
>> installed - I assume this is possible with Blackberry's, but I don't
>> own one and I don't know how difficult it is to distribute a cert to
>> the Blackberry's or how many you have).
>>
>> You need to decide whether to accept the risk or not.
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
1
0
'Logout for NAS CP port 76, but no Login record' && 'Login entry for NAS CP port 76 wrong order' Error
by Zlyzwy 20 Jan '12
by Zlyzwy 20 Jan '12
20 Jan '12
Hi all,
I am newbie to FreeRadius. Now I am trying to set up a Hotspot with
PFsense (FreeRadius + MySQL + Captive Portal).
(pfSense is a free, open source customized distribution of FreeBSD
tailored for use as a firewall and router.FreeRadius is a package of it.
see more information on their website: http://www.pfsense.org/)
Basically the Hotspot is working properly, FreeRadius is doing the auth
and writing the log to MySQL.
There is one client running VMware Workstaion inside wiondow2003. And a
virtual Debian is running in VM. Debian's network is bridged on host.I
am receiving the error log:
==================================
Jan 20 11:15:07 radiusd[55144]:rlm_radutmp: Logout for NAS CP port 76,
but no Login record
Jan 20 11:15:07 radiusd[55144]: rlm_radutmp: Logout for NAS CP port 76,
but no Login record
Jan 20 11:14:06 radiusd[55144]: rlm_radutmp: Login entry for NAS CP
port 76 wrong order
Jan 20 11:14:06 radiusd[55144]: rlm_radutmp: Login entry for NAS CP
port 76 wrong order
==================================
And the situation is, for VM_Debian and win2003, ONLY ONE can access
the Internet.
Does anyone have any idea why it will happen? or you have the same
experience using VM like this?
Any reply will be appreciated.
The following is my Radiusd -X
==================================
# radiusd -X
FreeRADIUS Version 2.1.12, for host i386-portbld-freebsd8.1, built on
Jan 3 2012 at 23:44:16
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/modules/
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/cui
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file
/usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file
/usr/local/etc/raddb/modules/dynamic_clients
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/ntlm_auth
including configuration file /usr/local/etc/raddb/modules/opendirectory
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/redis
including configuration file /usr/local/etc/raddb/modules/rediswho
including configuration file /usr/local/etc/raddb/modules/replicate
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/soh
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file
/usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/sql.conf
including configuration file /usr/local/etc/raddb/sql/mysql/dialup.conf
including configuration file /usr/local/etc/raddb/sql/mysql/dialup.conf
including configuration file
/usr/local/etc/raddb/sql/mysql/counter.conf
including configuration file /usr/local/etc/raddb/policy.conf
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
main {
allow_core_dumps = no
}
including dictionary file /usr/local/etc/raddb/dictionary
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/var"
sbindir = "/usr/local/sbin"
logdir = "/var/log"
run_dir = "/var/run"
libdir = "/usr/local/lib/freeradius-2.1.12"
radacctdir = "/var/log/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/var/run/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = yes
auth = yes
auth_badpass = yes
auth_goodpass = yes
}
security {
max_attributes = 200
reject_delay = 1
status_server = no
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client CP {
ipaddr = 192.168.1.1
require_message_authenticator = no
secret = "0814335e"
shortname = "CP"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file
/usr/local/etc/raddb/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file
/usr/local/etc/raddb/modules/expr
Module: Linked to module rlm_counter
Module: Instantiating module "daily" from file
/usr/local/etc/raddb/modules/counter
counter daily {
filename = "/usr/local/etc/raddb/db.daily"
key = "User-Name"
reset = "daily"
count-attribute = "Acct-Session-Time"
counter-name = "Daily-Session-Time"
check-name = "Max-Daily-Session"
reply-name = "Session-Timeout"
cache-size = 5000
}
rlm_counter: Counter attribute Daily-Session-Time is number 11273
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327075200 [2012-01-21 00:00:00]
Module: Instantiating module "weekly" from file
/usr/local/etc/raddb/modules/counter
counter weekly {
filename = "/usr/local/etc/raddb/db.weekly"
key = "User-Name"
reset = "weekly"
count-attribute = "Acct-Session-Time"
counter-name = "Weekly-Session-Time"
check-name = "Max-Weekly-Session"
reply-name = "Session-Timeout"
cache-size = 5000
}
rlm_counter: Counter attribute Weekly-Session-Time is number 11275
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327161600 [2012-01-22 00:00:00]
Module: Instantiating module "monthly" from file
/usr/local/etc/raddb/modules/counter
counter monthly {
filename = "/usr/local/etc/raddb/db.monthly"
key = "User-Name"
reset = "monthly"
count-attribute = "Acct-Session-Time"
counter-name = "Monthly-Session-Time"
check-name = "Max-Monthly-Session"
reply-name = "Session-Timeout"
cache-size = 5000
}
rlm_counter: Counter attribute Monthly-Session-Time is number 11277
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1328025600 [2012-02-01 00:00:00]
Module: Instantiating module "forever" from file
/usr/local/etc/raddb/modules/counter
counter forever {
filename = "/usr/local/etc/raddb/db.forever"
key = "User-Name"
reset = "never"
count-attribute = "Acct-Session-Time"
counter-name = "Forever-Session-Time"
check-name = "Max-Forever-Session"
reply-name = "Session-Timeout"
cache-size = 5000
}
rlm_counter: Counter attribute Forever-Session-Time is number 11279
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
0 [2012-01-20 10:00:00]
Module: Instantiating module "maxdailyupload" from file
/usr/local/etc/raddb/modules/counter
counter maxdailyupload {
filename = "/usr/local/etc/raddb/db.maxdailyupload"
key = "User-Name"
reset = "daily"
count-attribute = "Acct-Input-Octets"
counter-name = "Daily-Input-Octets"
check-name = "Max-Daily-Input"
reply-name = "Acct-Input-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Daily-Input-Octets is number 11281
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327075200 [2012-01-21 00:00:00]
Module: Instantiating module "maxdailydownload" from file
/usr/local/etc/raddb/modules/counter
counter maxdailydownload {
filename = "/usr/local/etc/raddb/db.maxdailydownload"
key = "User-Name"
reset = "daily"
count-attribute = "Acct-Output-Octets"
counter-name = "Daily-Output-Octets"
check-name = "Max-Daily-Output"
reply-name = "Acct-Output-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Daily-Output-Octets is number 11283
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327075200 [2012-01-21 00:00:00]
Module: Instantiating module "maxweeklyupload" from file
/usr/local/etc/raddb/modules/counter
counter maxweeklyupload {
filename = "/usr/local/etc/raddb/db.maxweeklyupload"
key = "User-Name"
reset = "weekly"
count-attribute = "Acct-Input-Octets"
counter-name = "Weekly-Input-Octets"
check-name = "Max-Weekly-Input"
reply-name = "Acct-Input-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Weekly-Input-Octets is number 11285
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327161600 [2012-01-22 00:00:00]
Module: Instantiating module "maxweeklydownload" from file
/usr/local/etc/raddb/modules/counter
counter maxweeklydownload {
filename = "/usr/local/etc/raddb/db.maxweeklydownload"
key = "User-Name"
reset = "weekly"
count-attribute = "Acct-Output-Octets"
counter-name = "Weekly-Output-Octets"
check-name = "Max-Weekly-Output"
reply-name = "Acct-Output-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Weekly-Output-Octets is number 11287
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1327161600 [2012-01-22 00:00:00]
Module: Instantiating module "maxmonthlyupload" from file
/usr/local/etc/raddb/modules/counter
counter maxmonthlyupload {
filename = "/usr/local/etc/raddb/db.maxmonthlyupload"
key = "User-Name"
reset = "monthly"
count-attribute = "Acct-Input-Octets"
counter-name = "Monthly-Input-Octets"
check-name = "Max-Monthly-Input"
reply-name = "Acct-Input-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Monthly-Input-Octets is number 11289
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1328025600 [2012-02-01 00:00:00]
Module: Instantiating module "maxmonthlydownload" from file
/usr/local/etc/raddb/modules/counter
counter maxmonthlydownload {
filename = "/usr/local/etc/raddb/db.maxmonthlydownload"
key = "User-Name"
reset = "monthly"
count-attribute = "Acct-Output-Octets"
counter-name = "Monthly-Output-Octets"
check-name = "Max-Monthly-Output"
reply-name = "Acct-Output-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Monthly-Output-Octets is number 11291
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
1328025600 [2012-02-01 00:00:00]
Module: Instantiating module "maxupload" from file
/usr/local/etc/raddb/modules/counter
counter maxupload {
filename = "/usr/local/etc/raddb/db.maxforeverupload"
key = "User-Name"
reset = "never"
count-attribute = "Acct-Input-Octets"
counter-name = "Forever-Input-Octets"
check-name = "Max-Forever-Input"
reply-name = "Acct-Input-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Forever-Input-Octets is number 11293
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
0 [2012-01-20 10:00:00]
Module: Instantiating module "maxdownload" from file
/usr/local/etc/raddb/modules/counter
counter maxdownload {
filename = "/usr/local/etc/raddb/db.maxforeverdownload"
key = "User-Name"
reset = "never"
count-attribute = "Acct-Output-Octets"
counter-name = "Forever-Output-Octets"
check-name = "Max-Forever-Output"
reply-name = "Acct-Output-Octets"
cache-size = 5000
}
rlm_counter: Counter attribute Forever-Output-Octets is number 11295
rlm_counter: Current Time: 1327027970 [2012-01-20 10:52:50], Next reset
0 [2012-01-20 10:00:00]
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/usr/local/etc/raddb/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/usr/local/etc/raddb/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan
"
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
modules {
Module: Creating Auth-Type = digest
Module: Creating Autz-Type = Status-Server
Module: Creating Acct-Type = Status-Server
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file
/usr/local/etc/raddb/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file
/usr/local/etc/raddb/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file
/usr/local/etc/raddb/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file
/usr/local/etc/raddb/modules/digest
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file
/usr/local/etc/raddb/modules/unix
unix {
radwtmp = "/var/log/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file
/usr/local/etc/raddb/eap.conf
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
CA_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
CA_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/usr/local/etc/raddb/certs/dh"
random_file = "/usr/local/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
ecdh_curve = "prime256v1"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
}
ocsp {
enable = no
override_cert_url = no
url = "http://127.0.0.1/ocsp/"
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
soh = no
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/usr/local/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/usr/local/etc/raddb/huntgroups"
hints = "/usr/local/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file
/usr/local/etc/raddb/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = yes
}
Module: Instantiating module "ntdomain" from file
/usr/local/etc/raddb/modules/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = yes
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file
/usr/local/etc/raddb/modules/files
files {
usersfile = "/usr/local/etc/raddb/users"
acctusersfile = "/usr/local/etc/raddb/acct_users"
preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
compat = "no"
}
Module: Linked to module rlm_sql
Module: Instantiating module "sql" from file
/usr/local/etc/raddb/sql.conf
sql {
driver = "rlm_sql_mysql"
server = "192.168.1.25"
port = "3306"
login = "radius"
password = "0814335e"
radius_db = "radius"
read_groups = yes
sqltrace = no
sqltracefile = "/var/log/sqltrace.sql"
readclients = yes
deletestalesessions = yes
num_sql_socks = 5
lifetime = 0
max_queries = 0
sql_user_name = "%{User-Name}"
default_user_profile = ""
nas_query = "SELECT id, nasname, shortname, type, secret,
server FROM nas"
authorize_check_query = "SELECT id, username, attribute, value,
op FROM radcheck WHERE username = '%{SQL-User-Name}'
ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value,
op FROM radreply WHERE username = '%{SQL-User-Name}'
ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute,
Value, op FROM radgroupcheck WHERE
groupname = '%{Sql-Group}' ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute,
value, op FROM radgroupreply WHERE
groupname = '%{Sql-Group}' ORDER BY id"
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 acctstoptime IS NULL
AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime
<= '%S'"
accounting_update_query = " UPDATE radacct
SET framedipaddress = '%{Framed-IP-Address}',
acctsessiontime = '%{Acct-Session-Time}',
acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 |
'%{%{Acct-Input-Octets}:-0}',
acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}' WHERE
acctsessionid = '%{Acct-Session-Id}' AND username =
'%{SQL-User-Name}' AND nasipaddress = '%{NAS-IP-Address}'"
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, xascendsessionsvrkey) 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-Gigawords}:-0}' << 32 |
'%{%{Acct-Input-Octets}:-0}',
'%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}', '%{Called-Station-Id}',
'%{Calling-Station-Id}', '%{Service-Type}',
'%{Framed-Protocol}', '%{Framed-IP-Address}',
'0', '%{X-Ascend-Session-Svr-Key}')"
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, xascendsessionsvrkey) VALUES
('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}',
'%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}',
'%{NAS-Port}', '%{NAS-Port-Type}', '%S', NULL,
'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',
'%{X-Ascend-Session-Svr-Key}')"
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}'"
accounting_stop_query = " UPDATE radacct SET
acctstoptime = '%S', acctsessiontime =
'%{Acct-Session-Time}', acctinputoctets =
'%{%{Acct-Input-Gigawords}:-0}' << 32 |
'%{%{Acct-Input-Octets}:-0}', acctoutputoctets =
'%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}', 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}'"
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-Gigawords}:-0}' << 32 |
'%{%{Acct-Input-Octets}:-0}',
'%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}', '%{Called-Station-Id}',
'%{Calling-Station-Id}', '%{Acct-Terminate-Cause}',
'%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}',
'0', '%{%{Acct-Delay-Time}:-0}')"
group_membership_query = "SELECT groupname FROM
radusergroup WHERE username = '%{SQL-User-Name}'
ORDER BY priority"
connect_failure_retry_delay = 60
simul_count_query = ""
simul_verify_query = "SELECT radacctid, acctsessionid,
username, nasipaddress, nasportid,
framedipaddress, callingstationid,
framedprotocol FROM radacct
WHERE username = '%{SQL-User-Name}'
AND acctstoptime IS NULL"
postauth_query = "INSERT INTO radpostauth
(username, pass, reply, authdate) VALUES (
'%{User-Name}',
'%{%{User-Password}:-%{Chap-Password}}',
'%{reply:Packet-Type}', '%S')"
safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
}
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and
linked
rlm_sql (sql): Attempting to connect to radius@192.168.1.25:3306/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
rlm_sql (sql): Processing generate_sql_clients
rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname,
shortname, type, secret, server FROM nas
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Released sql socket id: 4
Module: Linked to module rlm_checkval
Module: Instantiating module "checkval" from file
/usr/local/etc/raddb/modules/checkval
checkval {
item-name = "Calling-Station-Id"
check-name = "Calling-Station-Id"
data-type = "string"
notfound-reject = no
}
rlm_checkval: Registered name Calling-Station-Id for attribute 31
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/usr/local/etc/raddb/modules/acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating module "detail" from file
/usr/local/etc/raddb/modules/detail
detail {
detailfile =
"/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/usr/local/etc/raddb/modules/radutmp
radutmp {
filename = "/var/log/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.accounting_response" from
file /usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/usr/local/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
relaxed = no
}
Module: Checking session {...} for more modules to load
Module: Checking pre-proxy {...} for more modules to load
Module: Instantiating module "attr_filter.pre-proxy" from file
/usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.pre-proxy {
attrsfile = "/usr/local/etc/raddb/attrs.pre-proxy"
key = "%{Realm}"
relaxed = no
}
Module: Checking post-proxy {...} for more modules to load
Module: Instantiating module "attr_filter.post-proxy" from file
/usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.post-proxy {
attrsfile = "/usr/local/etc/raddb/attrs"
key = "%{Realm}"
relaxed = no
}
Module: Checking post-auth {...} for more modules to load
Module: Instantiating module "attr_filter.access_reject" from file
/usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/usr/local/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 192.168.1.1
port = 1812
}
listen {
type = "acct"
ipaddr = 192.168.1.1
port = 1813
}
listen {
type = "proxy"
ipaddr = 192.168.1.1
port = 1814
}
Listening on authentication address 192.168.1.1 port 1812
Listening on accounting address 192.168.1.1 port 1813
Listening on proxy address 192.168.1.1 port 1814
Ready to process requests.
==================================
Thanks for any reply in advance!!
Zlyzwy
2
1
Hi everyone,
Is there a way to run a module only during the first EAP-TLS handshake?
for example:
authorize {
preprocess
if (??? == ???) {
echo
}
...
}
I simply want the 'echo' module to run once during thr first auth.
The reason being the 'echo' module may return an OK or a reject. But in
the event of the 'echo' module returns ok, I don't want it to stress the
module by running it multiple times during the complete TLS handshake.
please advise.
Thanks,
Victor
2
1
How to return Filter-ID attribute value for the users in Active Directory?
by suggestme IT 19 Jan '12
by suggestme IT 19 Jan '12
19 Jan '12
Hi,
I am able to do authentication and authorization of the users that are in Active Directory after FreeRadius and Active Directory integration. I am now testing in real test environment with Enterasys product (Switch) in which Policy manager is already configured to assign different roles to different users. Depending upon the Filter-ID attribute value returned by FreeRadius, Enterasys switch decides what role can be assigned to the user. In my understanding I know there is the way to achieve this goal if we have Ldap-Group so that we can use as:
DEFAULT Ldap-Group == "Staff"
Filter-ID := "Enterasys:version=1:policy=staff",
Fall-Through = No
But, How to do same like this for the users in Active Directory; How to return the Filter-ID attribute value if there is no group configured in Active Directory; there is just users listings who can be authenticated and authorized using the passwords provided.
The main point is: I don't have any Group configured as Ldap-Group for staff or admin or for different types of users in Active Directory.
I would really appreciate if someone can give me the idea on this.
Thanks,
4
7
On Jan 19, 2012, at 11:00 AM, freeradius-users-request(a)lists.freeradius.org wrote:
>
> Message: 1
> Date: Thu, 19 Jan 2012 08:58:39 +0000
> From: Phil Mayers <p.mayers(a)imperial.ac.uk>
> Subject: Re: eduroam working ok, except for EAP
> To: freeradius-users(a)lists.freeradius.org
> Message-ID: <4F17DB3F.7040403(a)imperial.ac.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 01/19/2012 12:46 AM, Rui Ribeiro wrote:
>> Hi list,
>>
>> I have freeradius working in a EDUROAM federation, all PEAP-MSCHAPv2
>> and TTLS-EAP working locally, however when roaming to the federation,
>> PEAP-MSCHAPv2 fails categorically and only TTLS-EAP works with
>> success.
>
> This is exactly the same question you asked the other day, and I answered.
>
> Did you read my answer? Do you think it's no correct?
>
Hi Phil,
I have receveid the digest *after* I have sent this other one; had I seen it earlier it would have saved me of a couple of hour of work, in fact.
Thank for the reply.
Rui
1
0
Hi list,
I have freeradius working in a EDUROAM federation, all PEAP-MSCHAPv2
and TTLS-EAP working locally, however when roaming to the federation,
PEAP-MSCHAPv2 fails categorically and only TTLS-EAP works with
success.
eapol_test fails with WARNING: PMK mismatch
Any ideas, please?
Rui
freeradius -X
FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14
2010 at 20:41:03
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/modules/
including configuration file /etc/freeradius/modules/smsotp
including configuration file /etc/freeradius/modules/policy
including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login
including configuration file /etc/freeradius/modules/counter
including configuration file /etc/freeradius/modules/checkval
including configuration file /etc/freeradius/modules/detail
including configuration file /etc/freeradius/modules/radutmp
including configuration file /etc/freeradius/modules/detail.log
including configuration file /etc/freeradius/modules/ntlm_auth
including configuration file /etc/freeradius/modules/mac2ip
including configuration file /etc/freeradius/modules/perl
including configuration file /etc/freeradius/modules/otp
including configuration file /etc/freeradius/modules/ippool
including configuration file /etc/freeradius/modules/linelog
including configuration file /etc/freeradius/modules/detail.example.com
including configuration file /etc/freeradius/modules/f_ticks
including configuration file /etc/freeradius/modules/attr_rewrite
including configuration file /etc/freeradius/modules/preprocess
including configuration file /etc/freeradius/modules/attr_filter
including configuration file /etc/freeradius/modules/always
including configuration file /etc/freeradius/modules/sql_log
including configuration file /etc/freeradius/modules/smbpasswd
including configuration file /etc/freeradius/modules/files
including configuration file /etc/freeradius/modules/unix
including configuration file /etc/freeradius/modules/ldap
including configuration file /etc/freeradius/modules/sradutmp
including configuration file /etc/freeradius/modules/expiration
including configuration file /etc/freeradius/modules/inner-eap
including configuration file /etc/freeradius/modules/mschap
including configuration file /etc/freeradius/modules/mac2vlan
including configuration file /etc/freeradius/modules/krb5
including configuration file /etc/freeradius/modules/passwd
including configuration file /etc/freeradius/modules/pam
including configuration file /etc/freeradius/modules/realm
including configuration file /etc/freeradius/modules/wimax
including configuration file /etc/freeradius/modules/chap
including configuration file /etc/freeradius/modules/exec
including configuration file /etc/freeradius/modules/expr
including configuration file /etc/freeradius/modules/acct_unique
including configuration file /etc/freeradius/modules/cui
including configuration file /etc/freeradius/modules/opendirectory
including configuration file /etc/freeradius/modules/dynamic_clients
including configuration file /etc/freeradius/modules/echo
including configuration file /etc/freeradius/modules/etc_group
including configuration file /etc/freeradius/modules/pap
including configuration file /etc/freeradius/modules/logintime
including configuration file /etc/freeradius/modules/digest
including configuration file /etc/freeradius/eap.conf
including configuration file /etc/freeradius/policy.conf
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/status
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
main {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
including dictionary file /etc/freeradius/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 256000
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = yes
auth_goodpass = yes
}
security {
max_attributes = 200
reject_delay = 0
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 2
default_fallback = no
dead_time = 0
wake_all_if_all_dead = no
}
realm iscte.pt {
}
realm teste.iscte.pt {
}
realm ~.*\.iscte\.intranet {
}
realm ~.*\.iul\.intra {
}
realm ~.*\.iscte\.pt {
}
realm NULL {
}
realm DEFAULT {
nostrip
ldflag = round_robin
authhost = 193.136.192.43:1812
accthost = 193.136.192.43:1813
secret = xxxxxxxx
}
realm DEFAULT {
ldflag = round_robin
authhost = 193.136.192.44:1812
accthost = 193.136.192.44:1813
secret = xxxxxxxxx
} # realm DEFAULT
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "xxxxxxxx"
nastype = "other"
}
client 193.136.188.36 {
ipaddr = 193.136.188.36
netmask = 32
require_message_authenticator = no
secret = "xxxxxxxxx"
nastype = "other"
}
client 10.10.66.18/32 {
ipaddr = 10.10.66.18
netmask = 32
require_message_authenticator = no
secret = "wdsiscte"
shortname = "nut"
nastype = "other"
}
client 10.10.65.0/24 {
require_message_authenticator = no
secret = "xxx"
shortname = "rede1_aps"
nastype = "cisco"
}
client 10.10.66.0/24 {
require_message_authenticator = no
secret = "xxxxxxxx"
shortname = "rede2_aps"
nastype = "cisco"
}
client 10.10.32.35/32 {
require_message_authenticator = no
secret = "xxxxxxx"
shortname = "syslog"
nastype = "other"
}
client 193.136.192.43 {
require_message_authenticator = no
secret = "xxxxxxxxx"
shortname = "proxyNacional1"
nastype = "other"
}
client 193.136.192.44 {
require_message_authenticator = no
secret = "xxxxxxxx"
shortname = "proxyNacional2"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /etc/freeradius/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /etc/freeradius/modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/etc/freeradius/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/etc/freeradius/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server status { # from file /etc/freeradius/sites-enabled/status
modules {
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_always
Module: Instantiating module "ok" from file /etc/freeradius/modules/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
} # modules
} # server
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /etc/freeradius/modules/pap
pap {
encryption_scheme = "auto"
auto_header = yes
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /etc/freeradius/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap
mschap {
use_mppe = yes
require_encryption = yes
require_strong = yes
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
--username=%{%{Stripped-User-Name}:-%{User-Name:-None}}
--challenge=%{mschap:Challenge:-00} --domain=IUL
--nt-response=%{mschap:NT-Response:-00}"
}
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /etc/freeradius/eap.conf
eap {
default_eap_type = "peap"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "mschap"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
CA_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.key"
certificate_file = "/etc/freeradius/certs/server.pem"
CA_file = "/etc/freeradius/certs/ca.pem"
private_key_password = "isctexcert"
dh_file = "/etc/freeradius/certs/dh"
random_file = "/dev/urandom"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/freeradius/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = no
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
proxy_tunneled_request_as_eap = yes
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file /etc/freeradius/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /etc/freeradius/modules/files
files {
usersfile = "/etc/freeradius/users"
acctusersfile = "/etc/freeradius/acct_users"
preproxy_usersfile = "/etc/freeradius/preproxy_users"
compat = "no"
}
[/etc/freeradius/users]:36 WARNING! Changing 'Reply-Message =' to
'Reply-Message ==' for comparing RADIUS attribute in check item list
for user DEFAULT
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/etc/freeradius/modules/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking pre-proxy {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating module "pre_proxy_log" from file
/etc/freeradius/modules/detail.log
detail pre_proxy_log {
detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Instantiating module "reply_log" from file
/etc/freeradius/modules/detail.log
detail reply_log {
detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/freeradius/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server { # from file /etc/freeradius/radiusd.conf
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/etc/freeradius/modules/preprocess
preprocess {
huntgroups = "/etc/freeradius/huntgroups"
hints = "/etc/freeradius/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Instantiating module "auth_log" from file
/etc/freeradius/modules/detail.log
detail auth_log {
detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Checking preacct {...} for more modules to load
Module: Checking accounting {...} for more modules to load
Module: Instantiating module "detail" from file /etc/freeradius/modules/detail
detail {
detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_counter
Module: Instantiating module "daily" from file /etc/freeradius/modules/counter
counter daily {
filename = "/etc/freeradius/db.daily"
key = "User-Name"
reset = "daily"
count-attribute = "Acct-Session-Time"
counter-name = "Daily-Session-Time"
check-name = "Max-Daily-Session"
reply-name = "Session-Timeout"
allowed-servicetype = "Framed-User"
cache-size = 5000
}
rlm_counter: Counter attribute Daily-Session-Time is number 11273
rlm_counter: Current Time: 1326933518 [2012-01-19 00:38:38], Next
reset 1327017600 [2012-01-20 00:00:00]
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /etc/freeradius/modules/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Module: Instantiating module "sradutmp" from file
/etc/freeradius/modules/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 420
callerid = no
}
Module: Instantiating module "attr_filter.accounting_response" from
file /etc/freeradius/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/freeradius/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking pre-proxy {...} for more modules to load
Module: Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.pre-proxy {
attrsfile = "/etc/freeradius/attrs.pre-proxy"
key = "%{Realm}"
}
Module: Checking post-proxy {...} for more modules to load
Module: Instantiating module "post_proxy_log" from file
/etc/freeradius/modules/detail.log
detail post_proxy_log {
detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.post-proxy {
attrsfile = "/etc/freeradius/attrs"
key = "%{Realm}"
}
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_linelog
Module: Instantiating module "f_ticks" from file
/etc/freeradius/modules/f_ticks
linelog f_ticks {
filename = "syslog"
format = ""
reference = "f_ticks.%{%{reply:Packet-Type}:-format}"
}
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 193.136.188.36
port = 0
}
listen {
type = "acct"
ipaddr = 193.136.188.36
port = 0
}
listen {
type = "status"
ipaddr = *
port = 18120
client admin {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "xxxxxxxxxx"
}
client admin2 {
ipaddr = 193.136.188.36
require_message_authenticator = no
secret = "xxxxxxxxx"
}
client syslog {
ipaddr = 10.10.32.35
require_message_authenticator = no
secret = "xxxxxxxxx"
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 1812
}
listen {
type = "acct"
ipaddr = 127.0.0.1
port = 1813
}
Listening on authentication address 193.136.188.36 port 1812
Listening on accounting interface eth0 address 193.136.188.36 port 1813
Listening on status address * port 18120 as server status
Listening on authentication address 127.0.0.1 port 1812 as server inner-tunnel
Listening on accounting address 127.0.0.1 port 1813 as server inner-tunnel
Listening on proxy address 193.136.188.36 port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=0, length=144
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x0200001701697363746540726f616d2e6663636e2e7074
Message-Authenticator = 0xb378f4c98f61f52c1f2d4b8e082faf8a
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 11 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x0200001701697363746540726f616d2e6663636e2e7074
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x30
Proxying request 0 to home server 193.136.192.43 port 1812
Sending Access-Request of id 11 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x0200001701697363746540726f616d2e6663636e2e7074
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x30
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.43 port 1812,
id=11, length=49
EAP-Message = 0x010100061921
Message-Authenticator = 0x0c5de835cf089be1f659f1086a645eea
Proxy-State = 0x30
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 0 to 10.10.32.35 port 54698
EAP-Message = 0x010100061921
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=1, length=222
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x020100651901160301005a0100005603014f176610df0229e267ffe1c5836f1caf144fef291958cace7536caa945b100de00002800390038003500160013000a00330032002f000500040015001200090014001100080006000300ff020100000400230000
Message-Authenticator = 0x8b1eebe285cde02120a86afaa0121199
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 152 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020100651901160301005a0100005603014f176610df0229e267ffe1c5836f1caf144fef291958cace7536caa945b100de00002800390038003500160013000a00330032002f000500040015001200090014001100080006000300ff020100000400230000
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x31
Proxying request 1 to home server 193.136.192.44 port 1812
Sending Access-Request of id 152 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020100651901160301005a0100005603014f176610df0229e267ffe1c5836f1caf144fef291958cace7536caa945b100de00002800390038003500160013000a00330032002f000500040015001200090014001100080006000300ff020100000400230000
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x31
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.44 port 1812,
id=152, length=1059
EAP-Message = 0x010203f219c10000067b160301004a0200004603014f1766100a5cca8828dd07fd8c05f3c33a6a52b6e10d1707dbdf621a39b799a02084471ff4c4f04f6c0c4c1bf2fa2e9479ffa6c41501a2e27407dfa5e36b834bd3003500160301061e0b00061a00061700033a308203363082021ea003020102020109300d06092a864886f70d01010405003020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074301e170d3035303231353136313133385a170d3037303230353136313133385a308183311e301c060355040313157261642d63762d7465737465732e6663636e2e7074310f300d060355040813064c6973626f61
EAP-Message = 0x310b3009060355040613025054311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074310d300b060355040a13044643434e31143012060355040b130b54656c656d617469636f7330820122300d06092a864886f70d01010105000382010f003082010a02820101009c3e40c696ba2d597354f1dcafac4b6fc97bdd38cd228f08b5a1f893598759e54e9450b8c4062172fe5fdc3bd1d8a4fef200944296214cae2544d7bc9a552f468a32caf7a730b063df202bc0a0eff27dd8dd24ec2a4b212ba9f7d2a601170c43fce341ad68912b827d414c5ebe05db1b1fcead3d68aabbe4bcfa4a60a2d836e4105e8732dffc7784e5c0
EAP-Message = 0x0bdcb95819111e89b81cda83e9bd6d73105d2434ed277253aa688724a924edc13d2a37172ed30faf408126076d889b1afc72d6f6ebfc14c16ffe0b6180bc94cd86c0e8f81cdc762ff86f8804fb80b9b7727473fbaa274d01e999dee32981e8edbbb9b1a68903cf0ca6f61a2c960b0a4a79bbc7c41e1d0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d01010405000382010100c56cce4f5641ec0b806b376e95953b6e9aa0b24e185d4ebd388c2872abecbc27c74d345d4e3ebed725146497e9fd00e0fbf6d0ecbf051217452a67c14e97f300757deaf03a24d8d83988958c0159bd302705c8523a
EAP-Message = 0x0a97b9214ba63bfb06f792989856fe53ec6fb99793b35e8dfc75984777a678537758dd5c527a9dae2c77339ccb61a71c3a22ac54031a36991bb582832769a4a9656af18a04f41053e0e59f910dbc708261d749e3ccccef861d6b44536e9016d78b22472e7d53b30e1f24010fce864e126ab4fb5453b5991aa9d677dc66d804c0da9a12275d38ebc4d7ac2c8693a912e49d134f01731b16ec39f53bffd2c0784e443b59f9dd718ed13bf2500002d7308202d3308201bba003020102020900cf11a40b54c230de300d06092a864886f70d01010405003020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074301e170d
Message-Authenticator = 0x9107528c5865d65b3e530d7f8a30c6b0
Proxy-State = 0x31
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 1 to 10.10.32.35 port 54698
EAP-Message = 0x010203f219c10000067b160301004a0200004603014f1766100a5cca8828dd07fd8c05f3c33a6a52b6e10d1707dbdf621a39b799a02084471ff4c4f04f6c0c4c1bf2fa2e9479ffa6c41501a2e27407dfa5e36b834bd3003500160301061e0b00061a00061700033a308203363082021ea003020102020109300d06092a864886f70d01010405003020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074301e170d3035303231353136313133385a170d3037303230353136313133385a308183311e301c060355040313157261642d63762d7465737465732e6663636e2e7074310f300d060355040813064c6973626f61
EAP-Message = 0x310b3009060355040613025054311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074310d300b060355040a13044643434e31143012060355040b130b54656c656d617469636f7330820122300d06092a864886f70d01010105000382010f003082010a02820101009c3e40c696ba2d597354f1dcafac4b6fc97bdd38cd228f08b5a1f893598759e54e9450b8c4062172fe5fdc3bd1d8a4fef200944296214cae2544d7bc9a552f468a32caf7a730b063df202bc0a0eff27dd8dd24ec2a4b212ba9f7d2a601170c43fce341ad68912b827d414c5ebe05db1b1fcead3d68aabbe4bcfa4a60a2d836e4105e8732dffc7784e5c0
EAP-Message = 0x0bdcb95819111e89b81cda83e9bd6d73105d2434ed277253aa688724a924edc13d2a37172ed30faf408126076d889b1afc72d6f6ebfc14c16ffe0b6180bc94cd86c0e8f81cdc762ff86f8804fb80b9b7727473fbaa274d01e999dee32981e8edbbb9b1a68903cf0ca6f61a2c960b0a4a79bbc7c41e1d0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d01010405000382010100c56cce4f5641ec0b806b376e95953b6e9aa0b24e185d4ebd388c2872abecbc27c74d345d4e3ebed725146497e9fd00e0fbf6d0ecbf051217452a67c14e97f300757deaf03a24d8d83988958c0159bd302705c8523a
EAP-Message = 0x0a97b9214ba63bfb06f792989856fe53ec6fb99793b35e8dfc75984777a678537758dd5c527a9dae2c77339ccb61a71c3a22ac54031a36991bb582832769a4a9656af18a04f41053e0e59f910dbc708261d749e3ccccef861d6b44536e9016d78b22472e7d53b30e1f24010fce864e126ab4fb5453b5991aa9d677dc66d804c0da9a12275d38ebc4d7ac2c8693a912e49d134f01731b16ec39f53bffd2c0784e443b59f9dd718ed13bf2500002d7308202d3308201bba003020102020900cf11a40b54c230de300d06092a864886f70d01010405003020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e7074301e170d
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=2, length=127
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x020200061901
Message-Authenticator = 0xb3a708c8077b9af3c3a3ec432f954334
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 82 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020200061901
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x32
Proxying request 2 to home server 193.136.192.43 port 1812
Sending Access-Request of id 82 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020200061901
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x32
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.43 port 1812,
id=82, length=712
EAP-Message = 0x0103029919013035303231353134343531395a170d3036303231353134343531395a3020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e707430820122300d06092a864886f70d01010105000382010f003082010a0282010100ce05f673daef56db29f8b2715f3d9505f0db08d7dad15bf7c12e3496e2ce999154183e5062ef8afe1cf24497e23281ad74ed31d7b45c333c212ac854e249038b25f93981cbf82437e790a9ef7d510bc5a9101f5050d1bd32d403b90e4f930bad3f3ce7bcc37b3021b3bc34ec80c109fbe5dd2f07dcfef8383caa369b777b644f29b7f209316bc81960db25dd19ce05258785bdd40756cb05
EAP-Message = 0xdbbaf40897fa98fed6868c4078f34948d7c397249511e2ddaf1f0cb03f13e8511da742fb4616ac9fad9b9e613b05e2509cfda212b49643c993c05fc1dbe5b523d0b4b33ba3deb600d0f8f6cbcf32e41263b81707d92e5e8071cd1859f27c094d67ebbe6e3c079f750203010001a310300e300c0603551d13040530030101ff300d06092a864886f70d01010405000382010100113b6fb8cb0a394278f35a5d118cb987707800080a3633a4d0658d86f000e46a7eaad5136afecb910f5d6517fe36878c5f81248f388561db0f027eb21c26037baf28412a0885fffc8ed64d927b9df26ac39f0002bb067335631061475f642e66a3366af14ca9559737c0
EAP-Message = 0xa27462412ca6e60674a1b0c4c8d0d478a3b4552684974693fbad3870bfef259ad1ab683d6d50fa354e14025bb381e22fa72649dc33fa76dc12526e469efe39df0c24aef596a8464b3e5ab1476744b5fbeb6c427d663f8eb1bc10499b1db428b77c590a00a1e9f085c5a7db25f6521e8c93939b25f7d8ff90024e93fdc04a565483763e7860b35956a6810875c451b36dcb40e5c01c5a16030100040e000000
Message-Authenticator = 0x3586ca38fba28faa29b3258f9167fa98
Proxy-State = 0x32
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 2 to 10.10.32.35 port 54698
EAP-Message = 0x0103029919013035303231353134343531395a170d3036303231353134343531395a3020311e301c06092a864886f70d010901160f7073696d6f6573406663636e2e707430820122300d06092a864886f70d01010105000382010f003082010a0282010100ce05f673daef56db29f8b2715f3d9505f0db08d7dad15bf7c12e3496e2ce999154183e5062ef8afe1cf24497e23281ad74ed31d7b45c333c212ac854e249038b25f93981cbf82437e790a9ef7d510bc5a9101f5050d1bd32d403b90e4f930bad3f3ce7bcc37b3021b3bc34ec80c109fbe5dd2f07dcfef8383caa369b777b644f29b7f209316bc81960db25dd19ce05258785bdd40756cb05
EAP-Message = 0xdbbaf40897fa98fed6868c4078f34948d7c397249511e2ddaf1f0cb03f13e8511da742fb4616ac9fad9b9e613b05e2509cfda212b49643c993c05fc1dbe5b523d0b4b33ba3deb600d0f8f6cbcf32e41263b81707d92e5e8071cd1859f27c094d67ebbe6e3c079f750203010001a310300e300c0603551d13040530030101ff300d06092a864886f70d01010405000382010100113b6fb8cb0a394278f35a5d118cb987707800080a3633a4d0658d86f000e46a7eaad5136afecb910f5d6517fe36878c5f81248f388561db0f027eb21c26037baf28412a0885fffc8ed64d927b9df26ac39f0002bb067335631061475f642e66a3366af14ca9559737c0
EAP-Message = 0xa27462412ca6e60674a1b0c4c8d0d478a3b4552684974693fbad3870bfef259ad1ab683d6d50fa354e14025bb381e22fa72649dc33fa76dc12526e469efe39df0c24aef596a8464b3e5ab1476744b5fbeb6c427d663f8eb1bc10499b1db428b77c590a00a1e9f085c5a7db25f6521e8c93939b25f7d8ff90024e93fdc04a565483763e7860b35956a6810875c451b36dcb40e5c01c5a16030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 2.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=3, length=455
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x0203014c190116030101061000010201000d53c1f5bbd701b2401967c46aca7d1328d4fb8789a4d185c0075099020cc3201d476a61f3ed688b7ecd12120462fbc7c60d4ef89e44320092845176984a44b4111894c7d19807ec2b6d101e9f73510fb08674449d988fd14776e96057170d258b549ba9cbd0c0259daa8b451e9290821243c50f4479fd05dfa06d991acf4ca97a8456339d3fe249fc126f6ad9b69a896e463b678eebee1b3b734d1bdff574cd5eac102185d15d7d5acb290f9adbaf8f5611a2bd0e9efc59aec2593c1961c453e114cdd10ef61070f1e6d1d97d858f4023e213ad4533504ed39678f58d4ec71709b4eb8b89b1bbfcdef21f19
EAP-Message = 0x882e99cf4dcbd8a1e423ff26c727e496f0eaae6e1403010001011603010030b0a10953547cd6d5abdd0494bc58bb41cc2dedcd940bb07753b0448440b7147a59359686a34c3327fac137ab46459474
Message-Authenticator = 0xdeba7e496bff31e141133bc7358a056c
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 247 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x0203014c190116030101061000010201000d53c1f5bbd701b2401967c46aca7d1328d4fb8789a4d185c0075099020cc3201d476a61f3ed688b7ecd12120462fbc7c60d4ef89e44320092845176984a44b4111894c7d19807ec2b6d101e9f73510fb08674449d988fd14776e96057170d258b549ba9cbd0c0259daa8b451e9290821243c50f4479fd05dfa06d991acf4ca97a8456339d3fe249fc126f6ad9b69a896e463b678eebee1b3b734d1bdff574cd5eac102185d15d7d5acb290f9adbaf8f5611a2bd0e9efc59aec2593c1961c453e114cdd10ef61070f1e6d1d97d858f4023e213ad4533504ed39678f58d4ec71709b4eb8b89b1bbfcdef21f19
EAP-Message = 0x882e99cf4dcbd8a1e423ff26c727e496f0eaae6e1403010001011603010030b0a10953547cd6d5abdd0494bc58bb41cc2dedcd940bb07753b0448440b7147a59359686a34c3327fac137ab46459474
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x33
Proxying request 3 to home server 193.136.192.43 port 1812
Sending Access-Request of id 247 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x0203014c190116030101061000010201000d53c1f5bbd701b2401967c46aca7d1328d4fb8789a4d185c0075099020cc3201d476a61f3ed688b7ecd12120462fbc7c60d4ef89e44320092845176984a44b4111894c7d19807ec2b6d101e9f73510fb08674449d988fd14776e96057170d258b549ba9cbd0c0259daa8b451e9290821243c50f4479fd05dfa06d991acf4ca97a8456339d3fe249fc126f6ad9b69a896e463b678eebee1b3b734d1bdff574cd5eac102185d15d7d5acb290f9adbaf8f5611a2bd0e9efc59aec2593c1961c453e114cdd10ef61070f1e6d1d97d858f4023e213ad4533504ed39678f58d4ec71709b4eb8b89b1bbfcdef21f19
EAP-Message = 0x882e99cf4dcbd8a1e423ff26c727e496f0eaae6e1403010001011603010030b0a10953547cd6d5abdd0494bc58bb41cc2dedcd940bb07753b0448440b7147a59359686a34c3327fac137ab46459474
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x33
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.43 port 1812,
id=247, length=112
EAP-Message = 0x0104004519810000003b1403010001011603010030f6250ffe4af8eb309670c5b5dc4fac567ca0e4e1afe64e0d04ec35d2e87fdfce0ab291bc69225e1737ce03bdd25e4961
Message-Authenticator = 0x94cd6d3a20a4e5f09fa252f8533ca7ce
Proxy-State = 0x33
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:40 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 3 to 10.10.32.35 port 54698
EAP-Message = 0x0104004519810000003b1403010001011603010030f6250ffe4af8eb309670c5b5dc4fac567ca0e4e1afe64e0d04ec35d2e87fdfce0ab291bc69225e1737ce03bdd25e4961
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=4, length=127
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x020400061901
Message-Authenticator = 0xcf8dda9c719ed938c22d5945a4ef5d14
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 84 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020400061901
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x34
Proxying request 4 to home server 193.136.192.43 port 1812
Sending Access-Request of id 84 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020400061901
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x34
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.43 port 1812,
id=84, length=86
EAP-Message = 0x0105002b19011703010020210be414821859dded4b7d1093af406a8ee2e32f20ae59da7a43cf56fe1d6364
Message-Authenticator = 0x2527e9037a2ca28c60035fe55af2035d
Proxy-State = 0x34
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 4 to 10.10.32.35 port 54698
EAP-Message = 0x0105002b19011703010020210be414821859dded4b7d1093af406a8ee2e32f20ae59da7a43cf56fe1d6364
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 4.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=5, length=217
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x02050060190117030100203dea7ea4a4dfa23bb763bfe8adfbd8bb5c6207daa4eb29fd32ec28d6244ad5d51703010030ae10e31e9f14ce15b57a6f127bdc753c2ea9dbe23091ddbaa9f06f3bc4fa25520039462ae0d42790bba24b76146d1ba7
Message-Authenticator = 0x4037aa0d8abfe12ad773611d3fd3916d
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 148 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02050060190117030100203dea7ea4a4dfa23bb763bfe8adfbd8bb5c6207daa4eb29fd32ec28d6244ad5d51703010030ae10e31e9f14ce15b57a6f127bdc753c2ea9dbe23091ddbaa9f06f3bc4fa25520039462ae0d42790bba24b76146d1ba7
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x35
Proxying request 5 to home server 193.136.192.43 port 1812
Sending Access-Request of id 148 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02050060190117030100203dea7ea4a4dfa23bb763bfe8adfbd8bb5c6207daa4eb29fd32ec28d6244ad5d51703010030ae10e31e9f14ce15b57a6f127bdc753c2ea9dbe23091ddbaa9f06f3bc4fa25520039462ae0d42790bba24b76146d1ba7
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x35
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.43 port 1812,
id=148, length=134
EAP-Message = 0x0106005b19011703010050d731723127c1370ee69c3184dc7247676f1cb3627cb4881774d42f6fb5af0f28b5ca26cbcb3b9a58e0b290394ceefad075de1e7e2025aa2c3cdb2b30d36162c5bd7d5578f009e266d49e5269020e02e9
Message-Authenticator = 0x75e11cf3fbd80a0794796c24c11188fe
Proxy-State = 0x35
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 5 to 10.10.32.35 port 54698
EAP-Message = 0x0106005b19011703010050d731723127c1370ee69c3184dc7247676f1cb3627cb4881774d42f6fb5af0f28b5ca26cbcb3b9a58e0b290394ceefad075de1e7e2025aa2c3cdb2b30d36162c5bd7d5578f009e266d49e5269020e02e9
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 5.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=6, length=281
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x020600a019011703010020907b15334fd3661dec0688ea2df44bb0dcc03fefa44a70ee065becbc2349fd9e1703010070d2e6757f4fdd6dee3505732a662667e041ed4a6029fa88cf9affa8b66866ee2b9cf79586306d7a69133770a26c4abd2b349b75c6a9adf88e5d80499af2d78a5f8308dcb950b18fb86ffb175e9c381fd52ff8e90293334e8e4f0cb852b61b18298e9acff16a51924a226da2e19233819f
Message-Authenticator = 0x33618019522f749b8ff3e975353293d0
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 45 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020600a019011703010020907b15334fd3661dec0688ea2df44bb0dcc03fefa44a70ee065becbc2349fd9e1703010070d2e6757f4fdd6dee3505732a662667e041ed4a6029fa88cf9affa8b66866ee2b9cf79586306d7a69133770a26c4abd2b349b75c6a9adf88e5d80499af2d78a5f8308dcb950b18fb86ffb175e9c381fd52ff8e90293334e8e4f0cb852b61b18298e9acff16a51924a226da2e19233819f
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x36
Proxying request 6 to home server 193.136.192.44 port 1812
Sending Access-Request of id 45 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x020600a019011703010020907b15334fd3661dec0688ea2df44bb0dcc03fefa44a70ee065becbc2349fd9e1703010070d2e6757f4fdd6dee3505732a662667e041ed4a6029fa88cf9affa8b66866ee2b9cf79586306d7a69133770a26c4abd2b349b75c6a9adf88e5d80499af2d78a5f8308dcb950b18fb86ffb175e9c381fd52ff8e90293334e8e4f0cb852b61b18298e9acff16a51924a226da2e19233819f
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x36
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.44 port 1812,
id=45, length=150
EAP-Message = 0x0107006b19011703010060018d1315db07a0adb97a0c64829e8017c4e52aa093646643571c4ff0bd35a294d0bfaa167797f3061a1ce1e67fc96dc0f28ca007b75916e418efa49e0f48653e3686bacd759ee3e8fb4023846e891ccad879fc46d7b6259cb0f88bfb4812cbee
Message-Authenticator = 0xdcd3c949d421cfecd62311386b6b9b7e
Proxy-State = 0x36
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 6 to 10.10.32.35 port 54698
EAP-Message = 0x0107006b19011703010060018d1315db07a0adb97a0c64829e8017c4e52aa093646643571c4ff0bd35a294d0bfaa167797f3061a1ce1e67fc96dc0f28ca007b75916e418efa49e0f48653e3686bacd759ee3e8fb4023846e891ccad879fc46d7b6259cb0f88bfb4812cbee
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 6.
Going to the next request
Waking up in 4.5 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=7, length=201
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x02070050190117030100204b15515d5367b3f3acd1c9a787941b8b7a247bd23b7c8d70878ce8590f61437d1703010020229ac8146f0f11eb5cefb90b3d802a09cfba190846711a56b3c360cc2a86d1c0
Message-Authenticator = 0x7178d134e3b78d8339ffff7a50baacf4
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 148 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02070050190117030100204b15515d5367b3f3acd1c9a787941b8b7a247bd23b7c8d70878ce8590f61437d1703010020229ac8146f0f11eb5cefb90b3d802a09cfba190846711a56b3c360cc2a86d1c0
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x37
Proxying request 7 to home server 193.136.192.44 port 1812
Sending Access-Request of id 148 to 193.136.192.44 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02070050190117030100204b15515d5367b3f3acd1c9a787941b8b7a247bd23b7c8d70878ce8590f61437d1703010020229ac8146f0f11eb5cefb90b3d802a09cfba190846711a56b3c360cc2a86d1c0
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x37
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Challenge packet from host 193.136.192.44 port 1812,
id=148, length=86
EAP-Message = 0x0108002b190117030100207fcf05f4a42eb2fecbb6844e6173619a189dcd53bdb2be73730eb58dec1c99ab
Message-Authenticator = 0x39dbb8e3f6f0c4fdb0ce33785472a258
Proxy-State = 0x37
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Sending Access-Challenge of id 7 to 10.10.32.35 port 54698
EAP-Message = 0x0108002b190117030100207fcf05f4a42eb2fecbb6844e6173619a189dcd53bdb2be73730eb58dec1c99ab
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 7.
Going to the next request
Waking up in 4.4 seconds.
rad_recv: Access-Request packet from host 10.10.32.35 port 54698,
id=8, length=201
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address = 127.0.0.1
Calling-Station-Id = "02-00-00-00-00-01"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 11Mbps 802.11b"
EAP-Message = 0x02080050190117030100200b201149298fee1f4b26239cb5309386ce06458aebcefa05bce85979a26f575c17030100207bb51a418ab3fa095f1a554bc4887bf7ddf7433ccd4fa94be20bf2f8b9d1937b
Message-Authenticator = 0x194258cd9632b957d30ac0435329f029
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
[preprocess] expand: %{NAS-IP-Address} -> 127.0.0.1
++[preprocess] returns ok
[auth_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->
/var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/auth-detail-20120119
[auth_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[auth_log] returns ok
[suffix] Looking up realm "roam.fccn.pt" for User-Name = "iscte(a)roam.fccn.pt"
[suffix] Found realm "DEFAULT"
[suffix] Adding Realm = "DEFAULT"
[suffix] Proxying request from user iscte to realm DEFAULT
[suffix] Preparing to proxy authentication request to realm "DEFAULT"
++[suffix] returns updated
++[mschap] returns noop
[eap] Request is supposed to be proxied to Realm DEFAULT. Not doing EAP.
++[eap] returns noop
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] expand: %{Realm} -> DEFAULT
[files] users: Matched entry DEFAULT at line 33
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
# Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
+- entering group pre-proxy {...}
[files] preproxy_users: Matched entry DEFAULT at line 22
++[files] returns ok
[attr_filter.pre-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 50
++[attr_filter.pre-proxy] returns updated
[pre_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/pre-proxy-detail-20120119
[pre_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[pre_proxy_log] returns ok
++? if (Packet-Type != Accounting-Request)
? Evaluating (Packet-Type != Accounting-Request) -> FALSE
++? if (Packet-Type != Accounting-Request) -> FALSE
Sending Access-Request of id 123 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02080050190117030100200b201149298fee1f4b26239cb5309386ce06458aebcefa05bce85979a26f575c17030100207bb51a418ab3fa095f1a554bc4887bf7ddf7433ccd4fa94be20bf2f8b9d1937b
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x38
Proxying request 8 to home server 193.136.192.43 port 1812
Sending Access-Request of id 123 to 193.136.192.43 port 1812
User-Name = "iscte(a)roam.fccn.pt"
NAS-IP-Address := 193.136.188.36
Calling-Station-Id = "02-00-00-00-00-01"
EAP-Message = 0x02080050190117030100200b201149298fee1f4b26239cb5309386ce06458aebcefa05bce85979a26f575c17030100207bb51a418ab3fa095f1a554bc4887bf7ddf7433ccd4fa94be20bf2f8b9d1937b
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x38
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Accept packet from host 193.136.192.43 port 1812,
id=123, length=183
EAP-Message = 0x03080004
Message-Authenticator = 0x0cecb037cea0c4ce65a51df6f54b8a9e
User-Name = "iscte(a)roam.fccn.pt"
MS-MPPE-Send-Key =
0x9f48986d9d7e83edf67644bb52eebef557ac5978ae225052f6ef4abb7c5ca887
MS-MPPE-Recv-Key =
0xdb3285e803da7a0cbc29978eebf74ba8d2e66fafb2ba794e26916ea02f288a9a
Proxy-State = 0x38
# Executing section post-proxy from file /etc/freeradius/sites-enabled/default
+- entering group post-proxy {...}
[post_proxy_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log]
/var/log/freeradius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/post-proxy-detail-20120119
[post_proxy_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[post_proxy_log] returns ok
[attr_filter.post-proxy] expand: %{Realm} -> DEFAULT
attr_filter: Matched entry DEFAULT at line 103
++[attr_filter.post-proxy] returns updated
[eap] No pre-existing handler found
++[eap] returns noop
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
Login OK: [iscte(a)roam.fccn.pt/<no User-Password attribute>] (from
client syslog port 0 cli 02-00-00-00-00-01)
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
+- entering group post-auth {...}
[reply_log] expand:
/var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d
-> /var/log/freeradius/radacct/10.10.32.35/reply-detail-20120119
[reply_log] /var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.10.32.35/reply-detail-20120119
[reply_log] expand: %t -> Thu Jan 19 00:38:41 2012
++[reply_log] returns ok
[f_ticks] expand: %{reply:Packet-Type} -> Access-Accept
[f_ticks] expand: f_ticks.%{%{reply:Packet-Type}:-format} ->
f_ticks.Access-Accept
[f_ticks] expand:
F-TICKS/eduroam/1.0#REALM=%{Realm}#VISCOUNTRY=PT#VISINST=ISCTE#CSI=%{Calling-Station-Id}#RESULT=OK#
-> F-TICKS/eduroam/1.0#REALM=DEFAULT#VISCOUNTRY=PT#VISINST=ISCTE#CSI=02-00-00-00-00-01#RESULT=OK#
++[f_ticks] returns ok
++[exec] returns noop
Sending Access-Accept of id 8 to 10.10.32.35 port 54698
EAP-Message = 0x03080004
Message-Authenticator = 0x00000000000000000000000000000000
MS-MPPE-Send-Key =
0x9f48986d9d7e83edf67644bb52eebef557ac5978ae225052f6ef4abb7c5ca887
MS-MPPE-Recv-Key =
0xdb3285e803da7a0cbc29978eebf74ba8d2e66fafb2ba794e26916ea02f288a9a
Finished request 8.
Going to the next request
Waking up in 4.4 seconds.
Cleaning up request 0 ID 0 with timestamp +2
Cleaning up request 1 ID 1 with timestamp +2
Cleaning up request 2 ID 2 with timestamp +2
Waking up in 0.1 seconds.
Cleaning up request 3 ID 3 with timestamp +2
Cleaning up request 4 ID 4 with timestamp +3
Cleaning up request 5 ID 5 with timestamp +3
Cleaning up request 6 ID 6 with timestamp +3
Cleaning up request 7 ID 7 with timestamp +3
Cleaning up request 8 ID 8 with timestamp +3
Ready to process requests.
^C
radius2:/opt/bin/eduroam#
3
2