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
Hi,
i install freeradius for my hotspot.
when i test radius on server i can't get :
rad_recv: Access-Accept packet from host 127.0.0.1
radiusd.conf
#######################################################
# -*- text -*-
##
## radiusd.conf -- FreeRADIUS server configuration file.
##
## http://www.freeradius.org/
## $Id$
##
######################################################################
#
# Read "man radiusd" before editing this file. See the section
# titled DEBUGGING. It outlines a method where you can quickly
# obtain the configuration you want, without running into
# trouble.
#
# Run the server in debugging mode, and READ the output.
#
# $ radiusd -X
#
# We cannot emphasize this point strongly enough. The vast
# majority of problems can be solved by carefully reading the
# debugging output, which includes warnings about common issues,
# and suggestions for how they may be fixed.
#
# There may be a lot of output, but look carefully for words like:
# "warning", "error", "reject", or "failure". The messages there
# will usually be enough to guide you to a solution.
#
# If you are going to ask a question on the mailing list, then
# explain what you are trying to do, and include the output from
# debugging mode (radiusd -X). Failure to do so means that all
# of the responses to your question will be people telling you
# to "post the output of radiusd -X".
######################################################################
#
# The location of other config files and logfiles are declared
# in this file.
#
# Also general configuration for modules can be done in this
# file, it is exported through the API to modules that ask for
# it.
#
# See "man radiusd.conf" for documentation on the format of this
# file. Note that the individual configuration items are NOT
# documented in that "man" page. They are only documented here,
# in the comments.
#
# As of 2.0.0, FreeRADIUS supports a simple processing language
# in the "authorize", "authenticate", "accounting", etc. sections.
# See "man unlang" for details.
#
prefix = /usr
exec_prefix = /usr
sysconfdir = /etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = /var/log/freeradius
raddbdir = /etc/freeradius
radacctdir = ${logdir}/radacct
#
# name of the running server. See also the "-n" command-line option.
name = freeradius
# Location of config and logfiles.
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/${name}
# Should likely be ${localstatedir}/lib/radiusd
db_dir = ${raddbdir}
#
# libdir: Where to find the rlm_* modules.
#
# This should be automatically set at configuration time.
#
# If the server builds and installs, but fails at execution time
# with an 'undefined symbol' error, then you can use the libdir
# directive to work around the problem.
#
# The cause is usually that a library has been installed on your
# system in a place where the dynamic linker CANNOT find it. When
# executing as root (or another user), your personal environment MAY
# be set up to allow the dynamic linker to find the library. When
# executing as a daemon, FreeRADIUS MAY NOT have the same
# personalized configuration.
#
# To work around the problem, find out which library contains that symbol,
# and add the directory containing that library to the end of 'libdir',
# with a colon separating the directory names. NO spaces are allowed.
#
# e.g. libdir = /usr/local/lib:/opt/package/lib
#
# You can also try setting the LD_LIBRARY_PATH environment variable
# in a script which starts the server.
#
# If that does not work, then you can re-configure and re-build the
# server to NOT use shared libraries, via:
#
# ./configure --disable-shared
# make
# make install
#
libdir = /usr/lib/freeradius
# pidfile: Where to place the PID of the RADIUS server.
#
# The server may be signalled while it's running by using this
# file.
#
# This file is written when ONLY running in daemon mode.
#
# e.g.: kill -HUP `cat /var/run/radiusd/radiusd.pid`
#
pidfile = ${run_dir}/${name}.pid
# chroot: directory where the server does "chroot".
#
# The chroot is done very early in the process of starting the server.
# After the chroot has been performed it switches to the "user" listed
# below (which MUST be specified). If "group" is specified, it switchs
# to that group, too. Any other groups listed for the specified "user"
# in "/etc/group" are also added as part of this process.
#
# The current working directory (chdir / cd) is left *outside* of the
# chroot until all of the modules have been initialized. This allows
# the "raddb" directory to be left outside of the chroot. Once the
# modules have been initialized, it does a "chdir" to ${logdir}. This
# means that it should be impossible to break out of the chroot.
#
# If you are worried about security issues related to this use of chdir,
# then simply ensure that the "raddb" directory is inside of the chroot,
# end be sure to do "cd raddb" BEFORE starting the server.
#
# If the server is statically linked, then the only files that have
# to exist in the chroot are ${run_dir} and ${logdir}. If you do the
# "cd raddb" as discussed above, then the "raddb" directory has to be
# inside of the chroot directory, too.
#
#chroot = /path/to/chroot/directory
# user/group: The name (or #number) of the user/group to run radiusd as.
#
# If these are commented out, the server will run as the user/group
# that started it. In order to change to a different user/group, you
# MUST be root ( or have root privleges ) to start the server.
#
# We STRONGLY recommend that you run the server with as few permissions
# as possible. That is, if you're not using shadow passwords, the
# user and group items below should be set to radius'.
#
# NOTE that some kernels refuse to setgid(group) when the value of
# (unsigned)group is above 60000; don't use group nobody on these systems!
#
# On systems with shadow passwords, you might have to set 'group = shadow'
# for the server to be able to read the shadow password file. If you can
# authenticate users while in debug mode, but not in daemon mode, it may be
# that the debugging mode server is running as a user that can read the
# shadow info, and the user listed below can not.
#
# The server will also try to use "initgroups" to read /etc/groups.
# It will join all groups where "user" is a member. This can allow
# for some finer-grained access controls.
#
user = freerad
group = freerad
# max_request_time: The maximum time (in seconds) to handle a request.
#
# Requests which take more time than this to process may be killed, and
# a REJECT message is returned.
#
# WARNING: If you notice that requests take a long time to be handled,
# then this MAY INDICATE a bug in the server, in one of the modules
# used to handle a request, OR in your local configuration.
#
# This problem is most often seen when using an SQL database. If it takes
# more than a second or two to receive an answer from the SQL database,
# then it probably means that you haven't indexed the database. See your
# SQL server documentation for more information.
#
# Useful range of values: 5 to 120
#
max_request_time = 30
# cleanup_delay: The time to wait (in seconds) before cleaning up
# a reply which was sent to the NAS.
#
# The RADIUS request is normally cached internally for a short period
# of time, after the reply is sent to the NAS. The reply packet may be
# lost in the network, and the NAS will not see it. The NAS will then
# re-send the request, and the server will respond quickly with the
# cached reply.
#
# If this value is set too low, then duplicate requests from the NAS
# MAY NOT be detected, and will instead be handled as seperate requests.
#
# If this value is set too high, then the server will cache too many
# requests, and some new requests may get blocked. (See 'max_requests'.)
#
# Useful range of values: 2 to 10
#
cleanup_delay = 5
# max_requests: The maximum number of requests which the server keeps
# track of. This should be 256 multiplied by the number of clients.
# e.g. With 4 clients, this number should be 1024.
#
# If this number is too low, then when the server becomes busy,
# it will not respond to any new requests, until the 'cleanup_delay'
# time has passed, and it has removed the old requests.
#
# If this number is set too high, then the server will use a bit more
# memory for no real benefit.
#
# If you aren't sure what it should be set to, it's better to set it
# too high than too low. Setting it to 1000 per client is probably
# the highest it should be.
#
# Useful range of values: 256 to infinity
#
max_requests = 1024
# listen: Make the server listen on a particular IP address, and send
# replies out from that address. This directive is most useful for
# hosts with multiple IP addresses on one interface.
#
# If you want the server to listen on additional addresses, or on
# additionnal ports, you can use multiple "listen" sections.
#
# Each section make the server listen for only one type of packet,
# therefore authentication and accounting have to be configured in
# different sections.
#
# The server ignore all "listen" section if you are using '-i' and '-p'
# on the command line.
#
listen {
# Type of packets to listen for.
# Allowed values are:
# auth listen for authentication packets
# acct listen for accounting packets
# proxy IP to use for sending proxied packets
# detail Read from the detail file. For examples, see
# raddb/sites-available/copy-acct-to-home-server
# status listen for Status-Server packets. For examples,
# see raddb/sites-available/status
# coa listen for CoA-Request and Disconnect-Request
# packets. For examples, see the file
# raddb/sites-available/coa-server
#
type = auth
# Note: "type = proxy" lets you control the source IP used for
# proxying packets, with some limitations:
#
# * A proxy listener CANNOT be used in a virtual server section.
# * You should probably set "port = 0".
# * Any "clients" configuration will be ignored.
#
# See also proxy.conf, and the "src_ipaddr" configuration entry
# in the sample "home_server" section. When you specify the
# source IP address for packets sent to a home server, the
# proxy listeners are automatically created.
# IP address on which to listen.
# Allowed values are:
# dotted quad (1.2.3.4)
# hostname (radius.example.com)
# wildcard (*)
ipaddr = 127.0.0.1
# OR, you can use an IPv6 address, but not both
# at the same time.
# ipv6addr = :: # any. ::1 == localhost
# Port on which to listen.
# Allowed values are:
# integer port number (1812)
# 0 means "use /etc/services for the proper port"
port = 0
# Some systems support binding to an interface, in addition
# to the IP address. This feature isn't strictly necessary,
# but for sites with many IP addresses on one interface,
# it's useful to say "listen on all addresses for eth0".
#
# If your system does not support this feature, you will
# get an error if you try to use it.
#
# interface = eth0
# Per-socket lists of clients. This is a very useful feature.
#
# The name here is a reference to a section elsewhere in
# radiusd.conf, or clients.conf. Having the name as
# a reference allows multiple sockets to use the same
# set of clients.
#
# If this configuration is used, then the global list of clients
# is IGNORED for this "listen" section. Take care configuring
# this feature, to ensure you don't accidentally disable a
# client you need.
#
# See clients.conf for the configuration of "per_socket_clients".
#
# clients = per_socket_clients
}
# This second "listen" section is for listening on the accounting
# port, too.
#
listen {
ipaddr = 127.0.0.1
# ipv6addr = ::
port = 0
type = acct
# interface = eth0
# clients = per_socket_clients
}
# hostname_lookups: Log the names of clients or just their IP addresses
# e.g., www.freeradius.org (on) or 206.47.27.232 (off).
#
# The default is 'off' because it would be overall better for the net
# if people had to knowingly turn this feature on, since enabling it
# means that each client request will result in AT LEAST one lookup
# request to the nameserver. Enabling hostname_lookups will also
# mean that your server may stop randomly for 30 seconds from time
# to time, if the DNS requests take too long.
#
# Turning hostname lookups off also means that the server won't block
# for 30 seconds, if it sees an IP address which has no name associated
# with it.
#
# allowed values: {no, yes}
#
hostname_lookups = no
# Core dumps are a bad thing. This should only be set to 'yes'
# if you're debugging a problem with the server.
#
# allowed values: {no, yes}
#
allow_core_dumps = no
# Regular expressions
#
# These items are set at configure time. If they're set to "yes",
# then setting them to "no" turns off regular expression support.
#
# If they're set to "no" at configure time, then setting them to "yes"
# WILL NOT WORK. It will give you an error.
#
regular_expressions = yes
extended_expressions = yes
#
# Logging section. The various "log_*" configuration items
# will eventually be moved here.
#
log {
#
# Destination for log messages. This can be one of:
#
# files - log to "file", as defined below.
# syslog - to syslog (see also the "syslog_facility", below.
# stdout - standard output
# stderr - standard error.
#
# The command-line option "-X" over-rides this option, and forces
# logging to go to stdout.
#
destination = files
#
# The logging messages for the server are appended to the
# tail of this file if destination == "files"
#
# If the server is running in debugging mode, this file is
# NOT used.
#
file = ${logdir}/radius.log
#
# If this configuration parameter is set, then log messages for
# a *request* go to this file, rather than to radius.log.
#
# i.e. This is a log file per request, once the server has accepted
# the request as being from a valid client. Messages that are
# not associated with a request still go to radius.log.
#
# Not all log messages in the server core have been updated to use
# this new internal API. As a result, some messages will still
# go to radius.log. Please submit patches to fix this behavior.
#
# The file name is expanded dynamically. You should ONLY user
# server-side attributes for the filename (e.g. things you control).
# Using this feature MAY also slow down the server substantially,
# especially if you do thinks like SQL calls as part of the
# expansion of the filename.
#
# The name of the log file should use attributes that don't change
# over the lifetime of a request, such as User-Name,
# Virtual-Server or Packet-Src-IP-Address. Otherwise, the log
# messages will be distributed over multiple files.
#
# Logging can be enabled for an individual request by a special
# dynamic expansion macro: %{debug: 1}, where the debug level
# for this request is set to '1' (or 2, 3, etc.). e.g.
#
# ...
# update control {
# Tmp-String-0 = "%{debug:1}"
# }
# ...
#
# The attribute that the value is assigned to is unimportant,
# and should be a "throw-away" attribute with no side effects.
#
#requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
#
# Which syslog facility to use, if ${destination} == "syslog"
#
# The exact values permitted here are OS-dependent. You probably
# don't want to change this.
#
syslog_facility = daemon
# Log the full User-Name attribute, as it was found in the request.
#
# allowed values: {no, yes}
#
stripped_names = no
# Log authentication requests to the log file.
#
# allowed values: {no, yes}
#
auth = no
# Log passwords with the authentication requests.
# auth_badpass - logs password if it's rejected
# auth_goodpass - logs password if it's correct
#
# allowed values: {no, yes}
#
auth_badpass = no
auth_goodpass = no
# Log additional text at the end of the "Login OK" messages.
# for these to work, the "auth" and "auth_goopass" or "auth_badpass"
# configurations above have to be set to "yes".
#
# The strings below are dynamically expanded, which means that
# you can put anything you want in them. However, note that
# this expansion can be slow, and can negatively impact server
# performance.
#
# msg_goodpass = ""
# msg_badpass = ""
}
# The program to execute to do concurrency checks.
checkrad = ${sbindir}/checkrad
# SECURITY CONFIGURATION
#
# There may be multiple methods of attacking on the server. This
# section holds the configuration items which minimize the impact
# of those attacks
#
security {
#
# max_attributes: The maximum number of attributes
# permitted in a RADIUS packet. Packets which have MORE
# than this number of attributes in them will be dropped.
#
# If this number is set too low, then no RADIUS packets
# will be accepted.
#
# If this number is set too high, then an attacker may be
# able to send a small number of packets which will cause
# the server to use all available memory on the machine.
#
# Setting this number to 0 means "allow any number of attributes"
max_attributes = 200
#
# reject_delay: When sending an Access-Reject, it can be
# delayed for a few seconds. This may help slow down a DoS
# attack. It also helps to slow down people trying to brute-force
# crack a users password.
#
# Setting this number to 0 means "send rejects immediately"
#
# If this number is set higher than 'cleanup_delay', then the
# rejects will be sent at 'cleanup_delay' time, when the request
# is deleted from the internal cache of requests.
#
# Useful ranges: 1 to 5
reject_delay = 1
#
# status_server: Whether or not the server will respond
# to Status-Server requests.
#
# When sent a Status-Server message, the server responds with
# an Access-Accept or Accounting-Response packet.
#
# This is mainly useful for administrators who want to "ping"
# the server, without adding test users, or creating fake
# accounting packets.
#
# It's also useful when a NAS marks a RADIUS server "dead".
# The NAS can periodically "ping" the server with a Status-Server
# packet. If the server responds, it must be alive, and the
# NAS can start using it for real requests.
#
# See also raddb/sites-available/status
#
status_server = yes
}
# PROXY CONFIGURATION
#
# proxy_requests: Turns proxying of RADIUS requests on or off.
#
# The server has proxying turned on by default. If your system is NOT
# set up to proxy requests to another server, then you can turn proxying
# off here. This will save a small amount of resources on the server.
#
# If you have proxying turned off, and your configuration files say
# to proxy a request, then an error message will be logged.
#
# To disable proxying, change the "yes" to "no", and comment the
# $INCLUDE line.
#
# allowed values: {no, yes}
#
proxy_requests = yes
$INCLUDE proxy.conf
# CLIENTS CONFIGURATION
#
# Client configuration is defined in "clients.conf".
#
# The 'clients.conf' file contains all of the information from the old
# 'clients' and 'naslist' configuration files. We recommend that you
# do NOT use 'client's or 'naslist', although they are still
# supported.
#
# Anything listed in 'clients.conf' will take precedence over the
# information from the old-style configuration files.
#
$INCLUDE clients.conf
# THREAD POOL CONFIGURATION
#
# The thread pool is a long-lived group of threads which
# take turns (round-robin) handling any incoming requests.
#
# You probably want to have a few spare threads around,
# so that high-load situations can be handled immediately. If you
# don't have any spare threads, then the request handling will
# be delayed while a new thread is created, and added to the pool.
#
# You probably don't want too many spare threads around,
# otherwise they'll be sitting there taking up resources, and
# not doing anything productive.
#
# The numbers given below should be adequate for most situations.
#
thread pool {
# Number of servers to start initially --- should be a reasonable
# ballpark figure.
start_servers = 5
# Limit on the total number of servers running.
#
# If this limit is ever reached, clients will be LOCKED OUT, so it
# should NOT BE SET TOO LOW. It is intended mainly as a brake to
# keep a runaway server from taking the system with it as it spirals
# down...
#
# You may find that the server is regularly reaching the
# 'max_servers' number of threads, and that increasing
# 'max_servers' doesn't seem to make much difference.
#
# If this is the case, then the problem is MOST LIKELY that
# your back-end databases are taking too long to respond, and
# are preventing the server from responding in a timely manner.
#
# The solution is NOT do keep increasing the 'max_servers'
# value, but instead to fix the underlying cause of the
# problem: slow database, or 'hostname_lookups=yes'.
#
# For more information, see 'max_request_time', above.
#
max_servers = 32
# Server-pool size regulation. Rather than making you guess
# how many servers you need, FreeRADIUS dynamically adapts to
# the load it sees, that is, it tries to maintain enough
# servers to handle the current load, plus a few spare
# servers to handle transient load spikes.
#
# It does this by periodically checking how many servers are
# waiting for a request. If there are fewer than
# min_spare_servers, it creates a new spare. If there are
# more than max_spare_servers, some of the spares die off.
# The default values are probably OK for most sites.
#
min_spare_servers = 3
max_spare_servers = 10
# There may be memory leaks or resource allocation problems with
# the server. If so, set this value to 300 or so, so that the
# resources will be cleaned up periodically.
#
# This should only be necessary if there are serious bugs in the
# server which have not yet been fixed.
#
# '0' is a special value meaning 'infinity', or 'the servers never
# exit'
max_requests_per_server = 0
}
# MODULE CONFIGURATION
#
# The names and configuration of each module is located in this section.
#
# After the modules are defined here, they may be referred to by name,
# in other sections of this configuration file.
#
modules {
#
# Each module has a configuration as follows:
#
# name [ instance ] {
# config_item = value
# ...
# }
#
# The 'name' is used to load the 'rlm_name' library
# which implements the functionality of the module.
#
# The 'instance' is optional. To have two different instances
# of a module, it first must be referred to by 'name'.
# The different copies of the module are then created by
# inventing two 'instance' names, e.g. 'instance1' and 'instance2'
#
# The instance names can then be used in later configuration
# INSTEAD of the original 'name'. See the 'radutmp' configuration
# for an example.
#
#
# As of 2.0.5, most of the module configurations are in a
# sub-directory. Files matching the regex /[a-zA-Z0-9_.]+/
# are loaded. The modules are initialized ONLY if they are
# referenced in a processing section, such as authorize,
# authenticate, accounting, pre/post-proxy, etc.
#
$INCLUDE ${confdir}/modules/
# Extensible Authentication Protocol
#
# For all EAP related authentications.
# Now in another file, because it is very large.
#
$INCLUDE eap.conf
# Include another file that has the SQL-related configuration.
# This is another file only because it tends to be big.
#
# $INCLUDE sql.conf
#
# This module is an SQL enabled version of the counter module.
#
# Rather than maintaining seperate (GDBM) databases of
# accounting info for each counter, this module uses the data
# stored in the raddacct table by the sql modules. This
# module NEVER does any database INSERTs or UPDATEs. It is
# totally dependent on the SQL module to process Accounting
# packets.
#
# $INCLUDE sql/mysql/counter.conf
#
# IP addresses managed in an SQL table.
#
# $INCLUDE sqlippool.conf
}
# Instantiation
#
# This section orders the loading of the modules. Modules
# listed here will get loaded BEFORE the later sections like
# authorize, authenticate, etc. get examined.
#
# This section is not strictly needed. When a section like
# authorize refers to a module, it's automatically loaded and
# initialized. However, some modules may not be listed in any
# of the following sections, so they can be listed here.
#
# Also, listing modules here ensures that you have control over
# the order in which they are initalized. If one module needs
# something defined by another module, you can list them in order
# here, and ensure that the configuration will be OK.
#
instantiate {
#
# Allows the execution of external scripts.
# The entire command line (and output) must fit into 253 bytes.
#
# e.g. Framed-Pool = `%{exec:/bin/echo foo}`
exec
#
# The expression module doesn't do authorization,
# authentication, or accounting. It only does dynamic
# translation, of the form:
#
# Session-Timeout = `%{expr:2 + 3}`
#
# So the module needs to be instantiated, but CANNOT be
# listed in any other section. See 'doc/rlm_expr' for
# more information.
#
expr
#
# We add the counter module here so that it registers
# the check-name attribute before any module which sets
# it
# daily
expiration
logintime
# subsections here can be thought of as "virtual" modules.
#
# e.g. If you have two redundant SQL servers, and you want to
# use them in the authorize and accounting sections, you could
# place a "redundant" block in each section, containing the
# exact same text. Or, you could uncomment the following
# lines, and list "redundant_sql" in the authorize and
# accounting sections.
#
#redundant redundant_sql {
# sql1
# sql2
#}
}
######################################################################
#
# Policies that can be applied in multiple places are listed
# globally. That way, they can be defined once, and referred
# to multiple times.
#
######################################################################
$INCLUDE policy.conf
######################################################################
#
# Load virtual servers.
#
# This next $INCLUDE line loads files in the directory that
# match the regular expression: /[a-zA-Z0-9_.]+/
#
# It allows you to define new virtual servers simply by placing
# a file into the raddb/sites-enabled/ directory.
#
$INCLUDE sites-enabled/
######################################################################
#
# All of the other configuration sections like "authorize {}",
# "authenticate {}", "accounting {}", have been moved to the
# the file:
#
# raddb/sites-available/default
#
# This is the "default" virtual server that has the same
# configuration as in version 1.0.x and 1.1.x. The default
# installation enables this virtual server. You should
# edit it to create policies for your local site.
#
# For more documentation on virtual servers, see:
#
# raddb/sites-available/README
#
######################################################################
and client.conf
#################################################################"
#
# Please read the documentation file ../doc/processing_users_file,
# or 'man 5 users' (after installing the server) for more information.
#
# This file contains authentication security and configuration
# information for each user. Accounting requests are NOT processed
# through this file. Instead, see 'acct_users', in this directory.
#
# The first field is the user's name and can be up to
# 253 characters in length. This is followed (on the same line) with
# the list of authentication requirements for that user. This can
# include password, comm server name, comm server port number, protocol
# type (perhaps set by the "hints" file), and huntgroup name (set by
# the "huntgroups" file).
#
# If you are not sure why a particular reply is being sent by the
# server, then run the server in debugging mode (radiusd -X), and
# you will see which entries in this file are matched.
#
# When an authentication request is received from the comm server,
# these values are tested. Only the first match is used unless the
# "Fall-Through" variable is set to "Yes".
#
# A special user named "DEFAULT" matches on all usernames.
# You can have several DEFAULT entries. All entries are processed
# in the order they appear in this file. The first entry that
# matches the login-request will stop processing unless you use
# the Fall-Through variable.
#
# If you use the database support to turn this file into a .db or .dbm
# file, the DEFAULT entries _have_ to be at the end of this file and
# you can't have multiple entries for one username.
#
# Indented (with the tab character) lines following the first
# line indicate the configuration values to be passed back to
# the comm server to allow the initiation of a user session.
# This can include things like the PPP configuration values
# or the host to log the user onto.
#
# You can include another `users' file with `$INCLUDE users.other'
#
#
# For a list of RADIUS attributes, and links to their definitions,
# see:
#
# http://www.freeradius.org/rfc/attributes.html
#
testing Cleartext-Password := "password"
#
# Deny access for a specific user. Note that this entry MUST
# be before any other 'Auth-Type' attribute which results in the user
# being authenticated.
#
# Note that there is NO 'Fall-Through' attribute, so the user will not
# be given any additional resources.
#
#lameuser Auth-Type := Reject
# Reply-Message = "Your account has been disabled."
#
# Deny access for a group of users.
#
# Note that there is NO 'Fall-Through' attribute, so the user will not
# be given any additional resources.
#
#DEFAULT Group == "disabled", Auth-Type := Reject
# Reply-Message = "Your account has been disabled."
#
#
# This is a complete entry for "steve". Note that there is no Fall-Through
# entry so that no DEFAULT entry will be used, and the user will NOT
# get any attributes in addition to the ones listed here.
#
#steve Cleartext-Password := "testing"
# Service-Type = Framed-User,
# Framed-Protocol = PPP,
# Framed-IP-Address = 172.16.3.33,
# Framed-IP-Netmask = 255.255.255.0,
# Framed-Routing = Broadcast-Listen,
# Framed-Filter-Id = "std.ppp",
# Framed-MTU = 1500,
# Framed-Compression = Van-Jacobsen-TCP-IP
#
# This is an entry for a user with a space in their name.
# Note the double quotes surrounding the name.
#
#"John Doe" Cleartext-Password := "hello"
# Reply-Message = "Hello, %{User-Name}"
#
# Dial user back and telnet to the default host for that port
#
#Deg Cleartext-Password := "ge55ged"
# Service-Type = Callback-Login-User,
# Login-IP-Host = 0.0.0.0,
# Callback-Number = "9,5551212",
# Login-Service = Telnet,
# Login-TCP-Port = Telnet
#
# Another complete entry. After the user "dialbk" has logged in, the
# connection will be broken and the user will be dialed back after which
# he will get a connection to the host "timeshare1".
#
#dialbk Cleartext-Password := "callme"
# Service-Type = Callback-Login-User,
# Login-IP-Host = timeshare1,
# Login-Service = PortMaster,
# Callback-Number = "9,1-800-555-1212"
#
# user "swilson" will only get a static IP number if he logs in with
# a framed protocol on a terminal server in Alphen (see the huntgroups
file).
#
# Note that by setting "Fall-Through", other attributes will be added from
# the following DEFAULT entries
#
#swilson Service-Type == Framed-User, Huntgroup-Name == "alphen"
# Framed-IP-Address = 192.168.1.65,
# Fall-Through = Yes
#
# If the user logs in as 'username.shell', then authenticate them
# using the default method, give them shell access, and stop processing
# the rest of the file.
#
#DEFAULT Suffix == ".shell"
# Service-Type = Login-User,
# Login-Service = Telnet,
# Login-IP-Host = your.shell.machine
#
# The rest of this file contains the several DEFAULT entries.
# DEFAULT entries match with all login names.
# Note that DEFAULT entries can also Fall-Through (see first entry).
# A name-value pair from a DEFAULT entry will _NEVER_ override
# an already existing name-value pair.
#
#
# Set up different IP address pools for the terminal servers.
# Note that the "+" behind the IP address means that this is the "base"
# IP address. The Port-Id (S0, S1 etc) will be added to it.
#
#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen"
# Framed-IP-Address = 192.168.1.32+,
# Fall-Through = Yes
#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft"
# Framed-IP-Address = 192.168.2.32+,
# Fall-Through = Yes
#
# Sample defaults for all framed connections.
#
#DEFAULT Service-Type == Framed-User
# Framed-IP-Address = 255.255.255.254,
# Framed-MTU = 576,
# Service-Type = Framed-User,
# Fall-Through = Yes
#
# Default for PPP: dynamic IP address, PPP mode, VJ-compression.
# NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected
# by the terminal server in which case there may not be a "P" suffix.
# The terminal server sends "Framed-Protocol = PPP" for auto PPP.
#
DEFAULT Framed-Protocol == PPP
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP
#
# Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression.
#
DEFAULT Hint == "CSLIP"
Framed-Protocol = SLIP,
Framed-Compression = Van-Jacobson-TCP-IP
#
# Default for SLIP: dynamic IP address, SLIP mode.
#
DEFAULT Hint == "SLIP"
Framed-Protocol = SLIP
#
# Last default: rlogin to our main server.
#
#DEFAULT
# Service-Type = Login-User,
# Login-Service = Rlogin,
# Login-IP-Host = shellbox.ispdomain.com
# #
# # Last default: shell on the local terminal server.
# #
# DEFAULT
# Service-Type = Administrative-User
# On no match, the user is denied access.
toto1 Auth-Type := Local, User-Password == "toto"
tata1 Auth-Type := Local, User-Password == "tata"
########################################################################
1
0
Hi,
We would like to know whether we can configure the following parameters in the free RADIUS server for EAP-SIM and EAP-AKA method.
1.Pseudonym (enable/disable)
2.Fast-reauth (enable/disable).
3.No. of reauth setting (count)
4.Realm (enable/disable)
5.Protected Server indication (enable/disable)
6.AT_Bidding Attribute
We are using the server package version 2.1.12.
If the above mentioned parameters can be configured in the free RADIUS server and if yes in which file we need to configure these parameters.
Thanks,
Shobana
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
2
1
Hi list,
Been trying to compile freeradius 2.1.12 in Debian Squeeze following the directions of http://wiki.freeradius.org/Build to no avail. Also tried the suggestion in previous posts of cutting out --enable-developer, and of compiling libtool myself.
One of the problems is freeradius is expecting ltdl 3.x, and squeeze has 7; the other is that the file changelog is no more in the right format. (tough the last one is easily fixed)
Has anyone managed to compile freeradius in Debian 6.x?
Best Regards,
Rui Ribeiro
2
1
Hi,
Could someone please shed some light on the where we are going wrong. We
have followed the documentation provided however it is unclear where to
reference our internal ad servers.
I have attached the output from our radiusd -X:-
Ready to process requests.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=134,
length=256
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message = 0x0202001a017261646c64617075736572406763752e61632e756b
Message-Authenticator = 0x5499ecdd3317903a396087c244b3242f
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 2 length 26
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication
may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 134 to 10.1.5.4 port 32768
EAP-Message = 0x0103001604101c5f6a48076abb9c734e38981c7217e2
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7ac260d5c80b69f521e95f1c
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=135,
length=254
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message = 0x020300060319
State = 0x7ac164ba7ac260d5c80b69f521e95f1c
Message-Authenticator = 0xa525aaece160f6dbfacf7cdb4b93c3a5
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 3 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication
may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 135 to 10.1.5.4 port 32768
EAP-Message = 0x010400061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7bc57dd5c80b69f521e95f1c
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=136,
length=353
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message =
0x0204006919800000005f160301005a0100005603014f0edd9d5db5b4c865a2f751dfae8b6187fcb5cbfc5719ebf587861508615770000018002f00350005000ac013c014c009c00a003200380013000401000015ff01000100000a0006000400170018000b00020100
State = 0x7ac164ba7bc57dd5c80b69f521e95f1c
Message-Authenticator = 0x03b789c11ed6d11218b952f2e5f5758e
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 4 length 105
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 95
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] (other): before/accept initialization
[peap] TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 005a], ClientHello
[peap] TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 0031], ServerHello
[peap] TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 085e], Certificate
[peap] TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap] TLS_accept: SSLv3 write server done A
[peap] TLS_accept: SSLv3 flush data
[peap] TLS_accept: Need to read more data: SSLv3 read client certificate
A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 136 to 10.1.5.4 port 32768
EAP-Message =
0x0105040019c0000008a216030100310200002d03014f0edd9d03560cec979059501c8cb223202dcbe9f787e3323f05325b9821b97c00002f000005ff01000100160301085e0b00085a0008570003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c65204365727469666963617465204175
EAP-Message =
0x74686f72697479301e170d3132303131303133343330395a170d3133303130393133343330395a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100c117ba859c40ab6c9df33856b7985dc37a8b1895739aeaab7157d5ea2e9351258e3c0d9c0c3efe2c4b0033f03974114c216727611cc0f5
EAP-Message =
0xf881e7b997bc7fa59faa23ddf197215fefca1c31fe9d7c5b910313f578cbd74a6a5e3725977373fa7d52d49e9e5bb230fd8884c70fa161daa1aa41d3f2f3f2772373c6ff597f3b875ac653726f1cd9c5fbcbe15e3edf868382a06faf9b1e2a6047a07bbc44cc6cf936c0eac3b8e02598a425acb8497dd0671f28f5c1c3d34b3ef96d3cdacfd9e67943886fdbd11a1f5e9ccb7782ea91590fcdf102206af05203318829e68284c56cf60c6b4c41dd8542c0ffd6fb4cb079e33d7a333823706fa8e08c312b02470207990203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010104050003820101009a8e
EAP-Message =
0x0d156b951e3e1c68fde3e69734c9dc4c59e4c6893458c4d7f3d7c620d73016d610fb769485229a62c864b8d131f09a8ea41497de055dc2a23f8b2543c2d3df122c157c0de2b92ef98c7c4daceb55ec911af59c0cb6f6dfdfa6a51a0949b12497cd4468de4acfe75e18b1bf0529f8e6d1d280039bc7db3cfcfd92711264d06ab670639a90241e869fb80a0b169525739fd89956a23f0892f1160f18e61dd19ccde9d13a07181fc8c49d245f8e18d0e0377d74d9a825706eb72a07de786844b4583e3fa436142ef00d7455b0b5abccbacbf5472f01acbb90f31a62cbc6fac632c10b2207320714cba517085a86fff56fa65942146ec3e3cdb4ebc7b4e873
EAP-Message = 0x920004ab308204a73082038f
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba78c47dd5c80b69f521e95f1c
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=137,
length=254
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message = 0x020500061900
State = 0x7ac164ba78c47dd5c80b69f521e95f1c
Message-Authenticator = 0x7892f991b7fd777154282e08a9b81237
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 5 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 137 to 10.1.5.4 port 32768
EAP-Message =
0x010603fc1940a003020102020900ef2b35f9535b384c300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3132303131303133343330395a170d3133303130393133343330395a308193310b3009060355040613024652310f300d0603550408130652616469757331
EAP-Message =
0x12301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100f4164566b7242c5321d0372720b25fa2508bb0e0e69fa4200d5a45bb8321f3fc3d589eb314e096337df2d466fbccdc53468a9f64b6c3875cea83aeedeec1a2dc982ac3e28c76a006800bc899e4e74ba3c30ae3edb6838f74899c0879436d75cdb43dbff784cc9faa
EAP-Message =
0x04fa999054d652fcc983323e947facaa0995377e18f4346c7f18aeb4e668c8efa63fd90711ee0d562dd92ed9f41243589b24157e3c27ba4a10f3721b091375ff5a9665ed876e97f3a2f682bb1ec64d6e760b7a7013b82c55eaec4f1bccd7fce7fef196042328993f84cb6c8c9e5dbafca5e67d5eb30cc9bdda8944148674e17b30d20c17701ce8edf0e72cff4d44d88291093bdb753e79130203010001a381fb3081f8301d0603551d0e0416041429a311aa3d3d8cd2c10255f7397c9b0d2fda2b1b3081c80603551d230481c03081bd801429a311aa3d3d8cd2c10255f7397c9b0d2fda2b1ba18199a48196308193310b300906035504061302465231
EAP-Message =
0x0f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900ef2b35f9535b384c300c0603551d13040530030101ff300d06092a864886f70d010105050003820101004a8f28098c96a3b0fd243f8dbcc988d21bcea65a3cd7a25e942c7098eb87fdc988638a1cda11ceb07c697cae9bb0f7418e68cb203c7b74c83b206fba51f94f1248b134cd0800c7bcbc9757
EAP-Message = 0x710a4c17dd921848
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba79c77dd5c80b69f521e95f1c
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=138,
length=254
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message = 0x020600061900
State = 0x7ac164ba79c77dd5c80b69f521e95f1c
Message-Authenticator = 0x73ed972e163dc4c11fa01ec993089b67
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 6 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 138 to 10.1.5.4 port 32768
EAP-Message =
0x010700bc1900a9b1e8772b2c313f49e39433ff8946473b1c7735aeee9122316edd5eaeee17df8e2e28d2b24eb023fec1dda7fb5a827ce37c90bc0a8c65e430ad395c05233bcbcddc48e210be210608d35d8c52c0a3e9a083cbc3800521b24478c9eb9c5d30242a6acd250d94aaf05b1e9b5576cd738e4c15b33eac2dc3debb676dd14f93e053fcabf4eb05ee243f18d59fa89cbd8a34831f9bcb7095ad1839c70ecd9f99fb28a7c2d269ac6635398ad8df96c716030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7ec67dd5c80b69f521e95f1c
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=139,
length=586
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message =
0x020701501980000001461603010106100001020100a7152cd57ec079fae3650588277422a1016560e87f6575a85b94d333aaf270504d1c07b01660f5ad8f883be6885704ce1ad4410218a114c8cae3b968d0e374e37d2c0e50ef0cc0149e432f7f0b100dad12c87c44e7e5fc587367d2a7c2fa76dc68bb3ff8bbfcd897ea92383c2e6852ed0b69149a1423a8e599f87d754764eb20e016a8b58cf558fad666fac3f584a6f7aa1dc1214f791005d5582e716cece4b8badf01a9cc0ea32d64a8110b4f54b409028c97bb4eb8ade9639e04f3ecce83175f5c1703362587f4308adfe7f6ae5c54777631a032c0597ee8e9faff8c4219a480bbe430cece324b
EAP-Message =
0xe865b8252b9e5557e6bc3d46bf66bbf3c8b7cbbf2dc42f641403010001011603010030e0b46052ab8a4da1b135f6f5e578f82d2e6f4b048e266b69ba54e05ae42356d0cc519a6955905703427428e7532cc6cc
State = 0x7ac164ba7ec67dd5c80b69f521e95f1c
Message-Authenticator = 0xc7fc61b4c3a2bbe4457d446834e40761
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 7 length 253
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 326
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 139 to 10.1.5.4 port 32768
EAP-Message =
0x0108004119001403010001011603010030fbedfd1da06a9cdcb52184ddf667e4b93afc8e272607ecd4871ea47424226641e0202a8a0d7f26466f25af01993c68d6
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7fc97dd5c80b69f521e95f1c
Finished request 5.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=140,
length=254
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message = 0x020800061900
State = 0x7ac164ba7fc97dd5c80b69f521e95f1c
Message-Authenticator = 0x85455c0b6137e3ebac0d29171c9d12ed
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 8 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state TUNNEL ESTABLISHED
++[eap] returns handled
Sending Access-Challenge of id 140 to 10.1.5.4 port 32768
EAP-Message =
0x0109002b19001703010020923f894cbac0014e859657b96e37111fe7cae95914b3150e3ed33da67a5ac794
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7cc87dd5c80b69f521e95f1c
Finished request 6.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=141,
length=307
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message =
0x0209003b1900170301003037487b34fb7a37ea8a6fea8a7261897f8b237f51856360d5060faf8162fe68e53d4ccbfcb7ed9ae34099fa05f8147aee
State = 0x7ac164ba7cc87dd5c80b69f521e95f1c
Message-Authenticator = 0x9c731ef70cc9623d9805ac8f901da10b
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 9 length 59
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state WAITING FOR INNER IDENTITY
[peap] Identity - radldapuser(a)gcu.ac.uk
[peap] Got inner identity 'radldapuser(a)gcu.ac.uk'
[peap] Setting default EAP type for tunneled EAP session.
[peap] Got tunneled request
EAP-Message = 0x0209001a017261646c64617075736572406763752e61632e756b
server {
[peap] Setting User-Name to radldapuser(a)gcu.ac.uk
Sending tunneled request
EAP-Message = 0x0209001a017261646c64617075736572406763752e61632e756b
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "radldapuser(a)gcu.ac.uk"
server inner-tunnel {
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
++[control] returns ok
[eap] EAP packet type response id 9 length 26
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message =
0x010a002f1a010a002a10bd3c8890bc23da511e37ca5fec98739e7261646c64617075736572406763752e61632e756b
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xff362c18ff3c36b5f2b64db14083f710
[peap] Got tunneled reply RADIUS code 11
EAP-Message =
0x010a002f1a010a002a10bd3c8890bc23da511e37ca5fec98739e7261646c64617075736572406763752e61632e756b
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xff362c18ff3c36b5f2b64db14083f710
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 141 to 10.1.5.4 port 32768
EAP-Message =
0x010a004b1900170301004061ed8cb4cf38f7cf13ef4ad3aa9cf3c5935cb84d24c96cca8e584bdddfdff337ddd120844d64379a5dc6d33586a31439389764f3e2c438be5025a26111634334
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba7dcb7dd5c80b69f521e95f1c
Finished request 7.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=142,
length=371
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message =
0x020a007b190017030100704c2199bf1d81341c6096220d061bf1b5cd1da35100eb4beeaa39b81708be66ef899509483141d7d1929d28ab1b76d772dcea676dbccb0b849fb838c1d6e8adb0be3951ef6d4a0869738c62f47a47efab30beab42bf9e3db812221c44ed60a1b6a747193f65b8dfbc811e9844a69a259d
State = 0x7ac164ba7dcb7dd5c80b69f521e95f1c
Message-Authenticator = 0x44ad26aeac4f41bf70316f3663d0c9a0
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 10 length 123
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message =
0x020a00501a020a004b317c3f214b10b27f29753acc6d42f57139000000000000000076c36f51916f66cde9fcb4e85c89c21d89710096cb80ad54007261646c64617075736572406763752e61632e756b
server {
[peap] Setting User-Name to radldapuser(a)gcu.ac.uk
Sending tunneled request
EAP-Message =
0x020a00501a020a004b317c3f214b10b27f29753acc6d42f57139000000000000000076c36f51916f66cde9fcb4e85c89c21d89710096cb80ad54007261646c64617075736572406763752e61632e756b
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "radldapuser(a)gcu.ac.uk"
State = 0xff362c18ff3c36b5f2b64db14083f710
server inner-tunnel {
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
++[control] returns ok
[eap] EAP packet type response id 10 length 80
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] # Executing group from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
[mschapv2] +- entering group MS-CHAP {...}
[mschap] No Cleartext-Password configured. Cannot create LM-Password.
[mschap] No Cleartext-Password configured. Cannot create NT-Password.
[mschap] Creating challenge hash with username: radldapuser(a)gcu.ac.uk
[mschap] Told to do MS-CHAPv2 for radldapuser(a)gcu.ac.uk with NT-Password
[mschap] FAILED: No NT/LM-Password. Cannot perform authentication.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
} # server inner-tunnel
[peap] Got tunneled reply code 3
MS-CHAP-Error = "\nE=691 R=1"
EAP-Message = 0x040a0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Got tunneled reply RADIUS code 3
MS-CHAP-Error = "\nE=691 R=1"
EAP-Message = 0x040a0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Tunneled authentication was rejected.
[peap] FAILURE
++[eap] returns handled
Sending Access-Challenge of id 142 to 10.1.5.4 port 32768
EAP-Message =
0x010b002b190017030100203f674d96b6c9b1c4d556badd2e95018be8b7d76ef19096513bb0fcc442edcb2a
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x7ac164ba72ca7dd5c80b69f521e95f1c
Finished request 8.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.1.5.4 port 32768, id=143,
length=291
User-Name = "radldapuser(a)gcu.ac.uk"
Calling-Station-Id = "00:24:2c:7a:d8:7d"
Called-Station-Id = "00:26:cb:80:33:20:eduroam"
NAS-Port = 29
Cisco-AVPair = "audit-session-id=0a0105040000025f4f0edac4"
NAS-IP-Address = 10.1.5.4
NAS-Identifier = "CLIC_WiSM_A"
Airespace-Wlan-Id = 9
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "914"
EAP-Message =
0x020b002b190017030100202f0f420fda76a7ad73b12963caead406e813362b7a25b49616b772582cca7083
State = 0x7ac164ba72ca7dd5c80b69f521e95f1c
Message-Authenticator = 0x15128e7f4d056ad5a975f35d8851cfbc
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] Looking up realm "gcu.ac.uk" for User-Name =
"radldapuser(a)gcu.ac.uk"
[suffix] Found realm "GCU.AC.UK"
[suffix] Adding Stripped-User-Name = "radldapuser"
[suffix] Adding Realm = "GCU.AC.UK"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[eap] EAP packet type response id 11 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state send tlv failure
[peap] Received EAP-TLV response.
[peap] The users session was previously rejected: returning reject (again.)
[peap] *** This means you need to read the PREVIOUS messages in the debug
output
[peap] *** to find out the reason why the user was rejected.
[peap] *** Look for "reject" or "fail". Those earlier messages will tell
you.
[peap] *** what went wrong, and how to fix the problem.
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} ->
radldapuser(a)gcu.ac.uk
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 9 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 9
Sending Access-Reject of id 143 to 10.1.5.4 port 32768
EAP-Message = 0x040b0004
Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.8 seconds.
Cleaning up request 0 ID 134 with timestamp +16
Cleaning up request 1 ID 135 with timestamp +16
Cleaning up request 2 ID 136 with timestamp +16
Cleaning up request 3 ID 137 with timestamp +16
Cleaning up request 4 ID 138 with timestamp +17
Cleaning up request 5 ID 139 with timestamp +17
Cleaning up request 6 ID 140 with timestamp +17
Cleaning up request 7 ID 141 with timestamp +17
Cleaning up request 8 ID 142 with timestamp +17
Waking up in 1.0 seconds.
Cleaning up request 9 ID 143 with timestamp +17
Ready to process requests.
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Help-with-proxy-settings-please-tp5…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
3
5
Hi, all,
I have set up VMPS with FreeRADIUS 2.1.12 to use with our internal
Cisco switches. After finding the sample files and some documentation
with Google, I'm quite satisfied with the result. At least everything seems
to work as designed.
Besides … ;-) logging seems to be somewhat inconsistent. Here's what
radiusd -X outputs when I connect my personal workstation to the network:
(addresses anonymised)
--------------------------------------------------
VMPS-Packet-Type = VMPS-Join-Request
VMPS-Error-Code = VMPS-No-Error
VMPS-Sequence-Number = 892
VMPS-Client-IP-Address = 1.2.3.4
VMPS-Port-Name = "Fa0/21"
VMPS-VLAN-Name = "--NONE--"
VMPS-Domain-Name = "Hausnetz"
VMPS-Unknown = 0x00
VMPS-Ethernet-Frame = 0x0050……
server vmps {
Doing VMPS
+- entering group vmps {...}
++? if (!VMPS-Mac)
? Evaluating !(VMPS-Mac) -> TRUE
++? if (!VMPS-Mac) -> TRUE
++- entering if (!VMPS-Mac) {...}
+++? if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/)
? Evaluating (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) -> TRUE
+++? if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) -> TRUE
+++- entering if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) {...}
expand: %{1}:%{2}:%{3}:%{4}:%{5}:%{6} -> xx:xx:xx:xx:xx:xx
++++[request] returns noop
+++- if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) returns noop
+++ ... skipping else for request 0: Preceding "if" was taken
++- if (!VMPS-Mac) returns noop
[mac2vlan] Added VMPS-VLAN-Name: 'default' to reply_items
++[mac2vlan] returns ok
expand: %{VMPS-Mac} -> xx:xx:xx:xx:xx:xx
++[reply] returns ok
++? if (VMPS-Packet-Type == VMPS-Reconfirm-Request)
? Evaluating (VMPS-Packet-Type == VMPS-Reconfirm-Request) -> FALSE
++? if (VMPS-Packet-Type == VMPS-Reconfirm-Request) -> FALSE
[linelog] expand: /var/log/vmps.log -> /var/log/vmps.log
[linelog] expand: %S %C %{VMPS-Port-Name} %{VMPS-Mac} %{VMPS-VLAN-Name} -> 2012-01-12 16:06:34 Switch1 Fa0/21 xx:xx:xx:xx:xx:xx --NONE--
++[linelog] returns ok
Done VMPS
} # server vmps
VMPS-VLAN-Name = "default"
VMPS-Cookie = xx:xx:xx:xx:xx:xx
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 892 with timestamp +11
Ready to process requests.
--------------------------------------------------
So, the last lines seem to imply that I am to be put into VLAN "default" which
is just the name of VLAN 1 on Cisco gear. And indeed the switch does precisely
that. So far, so good.
Then, why does FreeRADIUS log this?
"2012-01-12 16:06:34 Switch1 Fa0/21 xx:xx:xx:xx:xx:xx --NONE--"
Note the "--NONE--" for the VLAN name. I'm about to implement this throughout
our entire office and of course the log will be essential for daily administration
tasks, like adding/removing/fixing MAC address entries and the like. I get completely
inconsistent results here - for some workstations it's "default" and for some "--NONE--".
Here's the detailled config, "guests" is the name of the default VLAN for all
unknown MAC addresses. The rest is more or less copied from the examples.
I omitted all the basic radiusd config that I had already in place. We use
FreeRADIUS for Enterprise WPA2 in our WLAN. I added VMPS as a virtual
server.
--------------------------------------------------
mac2vlan:
xx:xx:xx:xx:xx:xx,default
radiusd.conf:
modules {
passwd mac2vlan {
filename = ${confdir}/mac2vlan
format = "*VMPS-Mac:=VMPS-VLAN-Name"
delimiter = ","
}
linelog {
filename = ${logdir}/vmps.log
format = "%S %C %{VMPS-Port-Name} %{VMPS-Mac} %{VMPS-VLAN-Name}"
}
}
$INCLUDE vmps.conf
vmps.conf:
server vmps {
listen {
ipaddr = *
port = 1589
type = vmps
}
client 1.2.3.4 {
secret = dontmind
shortname = Switch1
}
vmps {
if (!VMPS-Mac) {
if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) {
update request {
VMPS-Mac = "%{1}:%{2}:%{3}:%{4}:%{5}:%{6}"
}
}
else {
update request {
VMPS-Mac = "%{VMPS-Cookie}"
}
}
}
mac2vlan
update reply {
VMPS-Packet-Type = VMPS-Join-Response
VMPS-Cookie = "%{VMPS-Mac}"
VMPS-VLAN-Name = "guests"
}
if (VMPS-Packet-Type == VMPS-Reconfirm-Request){
update reply {
VMPS-Packet-Type := VMPS-Reconfirm-Response
}
}
linelog
}
}
--------------------------------------------------
Thanks and kind regards
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info(a)punkt.de http://www.punkt.de
Gf: Jürgen Egeling AG Mannheim 108285
2
2
hi
Is anyone have a success story of optimizing ippool sql table to make it
work faster?
The default scheme is very slow, and then you have about 25000 subscribers
it's not work.
I trying to add indexes to this table. It make fast selects, but slow
updates.
[code]
CREATE TABLE `radippool` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`pool_name` varchar(30) NOT NULL,
`framedipaddress` varchar(15) NOT NULL DEFAULT '',
`nasipaddress` varchar(15) NOT NULL DEFAULT '',
`calledstationid` varchar(30) NOT NULL,
`callingstationid` varchar(30) NOT NULL,
`expiry_time` datetime DEFAULT NULL,
`username` varchar(64) NOT NULL DEFAULT '',
`pool_key` varchar(30) NOT NULL,
PRIMARY KEY (`id`),
KEY `allocate-find` (`pool_name`,`expiry_time`,`callingstationid`)
) ENGINE=MyISAM AUTO_INCREMENT=34817 DEFAULT CHARSET=utf8
[/code]
Next I tried to make table from the begin. Here it is
[code]
CREATE TABLE `radippool_new` (
`id` int(4) unsigned NOT NULL AUTO_INCREMENT,
`pool_name` tinyint(1) unsigned NOT NULL,
`framedipaddress` int(4) unsigned NOT NULL,
`nasipaddress` int(4) unsigned DEFAULT NULL,
`calledstationid` bigint(8) unsigned NOT NULL,
`callingstationid` bigint(8) unsigned NOT NULL,
`expiry_time` timestamp NULL DEFAULT NULL,
`username` varchar(64) NOT NULL,
`pool_key` int(5) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `allocate-find` (`pool_name`,`expiry_time`,`callingstationid`) USING
BTREE
) ENGINE=InnoDB AUTO_INCREMENT=34817 DEFAULT CHARSET=utf8
ROW_FORMAT=COMPACT COMMENT='Ip pool for customers'
CREATE TABLE `radippool_names` (
`id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT,
`pool_name` varchar(64) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8
[/code]
It's working two time faster, than default with updates queries. But two
time slower with selects queries.
Maybe some one have a good modification of ippool table or another changes
of default scheme, and could share it?
*Regards,*
Alexander
3
8
Dear FR users, I am using FR 2.1.7, mysql as DB. I want to realize the
scenario that the pppoe client will be authentic by pppoe username, password
and mac address. And at the user's first login, MAC will be remembered (not
check at first time). Of course at necessary time the radius admin can
remove the MAC remembered so new MAC can be learn.
I searched the forum, there are similar topics before, but either too "old"
on 1.0.x or not in detail.
Anybody can help? Appreciated.
Thanks
--
View this message in context: http://freeradius.1045715.n5.nabble.com/authentic-by-chap-pppoe-and-mac-tp5…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
2
1
Is it possible yet to configure freeradius TLS to use a classic CRL, as
in a single file that's downloaded from the authority every once in a
while that is a.. well, CRL, rather than a directory with hashed stuff
in it? I'm not in front of my fr right now, so I don't know the exact
terminology used in the config, but you know what I'm talking about.
This hashed folder of stuff makes it very difficult to maintain a CRL
with freeradius, because, at least in part, it adds an additional level
of complexity not present in every other openssl application.
3
3
Does anyone where some documentation could be found for setting up
dialup admin on FreeBSD.
Thanks,
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.
2
2
Hi all,
If you set up groups in the rlm_ldap module, and a user is found to match more than one group, that user is currently denied access.
For example, you might have a "staff" and "student" group, and a staff member comes along and enrolls as a part time student, suddenly they unexpectedly lose access to radius because they are a member of both groups.
The following patch adds the groupmembership_limit option, defaulting to 1 (the current behavior). It allows you to limit the number of groups a user might be a member of, or remove the limit entirely (set to zero).
Regards,
Graham
--
2
2