Questions tagged [freeradius]

The FreeRADIUS project is an open source, multi-protocol (RADIUS, EAP, DHCP, BFD) policy server.  FreeRADIUS' primarily role is a AAA (Authentication, Authorization, and Accounting) server, but can also be used as part of an IPAM (IP Address Management) solution, and as an event distribution server.

The FreeRADIUS project, an open source implementation for the RADIUS, EAP, DHCP and BFD protocols.

The project includes a daemon implementing the above protocols, a BSD licensed RADIUS client library, a RADIUS PAM library, and an Apache module translating HTTP Basic-Authentication to RADIUS PAP authentication.

RADIUS, Remote Authentication Dial In User Service, is a networking protocol that provides centralized Authentication, Authorization, and Accounting (AAA) management for computers to connect and use a network service.

575 questions
11
votes
1 answer

Freeradius users operators

I faced with one issue, which I can't understand in Freeradius users file. My goal is just authenticate external user "shad" with password "test". I added line in /etc/raddb/users the following line: shad Cleartext-Password == "test" Result was…
Atlas
  • 179
  • 1
  • 2
  • 9
9
votes
2 answers

Freeradius and PHP auth script

I'm trying to authenticate freeradius users against a PHP script, with no success. I've been trying for hours to config this right, and all the threads I found with Google are either deadlinked or obsolete... radiusd.conf prefix = /usr exec_prefix =…
kwintin
  • 407
  • 1
  • 3
  • 9
7
votes
3 answers

FreeRADIUS authentication through Azure Active Directory

I have just configured FreeRadius, but I would like to authenticate users which are in an Azure AD. I know it's possible to link FreeRADIUS with an Active Directory, but I can't find anything about Azure AD. Does anyone knows if it's possible? A…
ismael
  • 71
  • 1
  • 1
  • 3
7
votes
2 answers

Error in Creating Certificates for EAP in Freeradius

I'm working on creating certificate for eap-tls so i can add this certificate to mobile and then mobile can access the access point without using username or password I follow the documentation on README in radiusd/certs So i run make ca.pem to…
Ahmed Bermawy
  • 2,290
  • 4
  • 35
  • 42
7
votes
5 answers

FreeRadius - Failed binding to authentication address

When I run the following command, I can get successfull result. root@ubuntu:/home/can# radtest user password 127.0.0.1 1812 testing123 Sending Access-Request of id 78 to 127.0.0.1 port 1812 User-Name = "user" User-Password =…
user3648335
  • 137
  • 1
  • 4
  • 12
7
votes
7 answers

OpenSSL header does not match current version when compiling

When trying to compile freeRADIUS server 2.2.3, I've gotten the following error message: checking for OpenSSL version >= 0.9.7... yes checking OpenSSL library and header version consistency... library: 90819f header: 90812f... no configure: error:…
user3193022
  • 169
  • 1
  • 1
  • 2
6
votes
1 answer

If statement is not evaluated consistently

Here is the code snippet I have deployed in copy-acct-to-home-server. Which basically checks if the username has "@" sign... if yes then it extracts huntgroup from mysql table comparing NAS-IP-Address. And finally if the result from the query is not…
Prem
  • 355
  • 2
  • 17
6
votes
1 answer

What kind of data each freeradius table store in database?

i got a project to create a freeradius like application, but i don't understand what kind of data each table store in the database. Anyone care to explain ? here's the list of those tables: nas radacct radcheck radgroupcheck…
Mabro Chickenz
  • 165
  • 1
  • 11
6
votes
2 answers

MySQL optimization for large myisam table

OS=centos 6.7 [Dedicated server] memory=15G cpu=Intel(R) Xeon(R) CPU E5-2403 mysql= V 5.1.73 Here is a MyISAM table and contains about 5 million rows of data. In every 5-6 minutes data for about 3000 users is inserted (e.g. upload and…
sherpaurgen
  • 3,028
  • 6
  • 32
  • 45
4
votes
3 answers

mysql query of a date, between two date fields

I'm using MySql 5.5. I need to find a userid on a date with a particular ip address. The fields are userid, ipaddress, startdate, enddate. So for instance I am looking for a userid with ip address 192.168.1.1 on Sep 12 2011. the query would be…
notmyname
  • 69
  • 2
  • 6
4
votes
0 answers

How to check if a user exists in Radius Server

Good morning everyone, I need to check if a user exists in a Radius Server. I am not sure if this question can be answered by the server (I am new to Radius). I have a java application, and I am using "TinyRadius", in particular RadiusClient from…
n3mo
  • 663
  • 8
  • 23
4
votes
1 answer

Kerberos authentication fails, "Configuration file does not specify default realm"

I am attempting to set up Kerberos authentication with Freeradius. At the moment when I run radtest the authentication fails and I get the following error in my logs (0) Login incorrect (krb5: Failed parsing username as principal: Configuration file…
John Calder
  • 619
  • 3
  • 9
  • 13
4
votes
3 answers

Get Online User From FreeRadius

I am creating a usage stats web-page that will show current online users and have a historical graph of users at a given time/date. Is there a function in freeradius to easily grab the number of current connected users I can then dump into a…
James Cox
  • 41
  • 1
  • 2
3
votes
0 answers

EAP-TTLS and CA certificates on Android when connecting to WPA2 Enterprise WiFi

I am setting up a WPA2 Enterprise-secured Wifi for my company. I set up a RADIUS server (FreeRadius) which talks to our Azure AD for authenticating our users. Because of the nature of the connection (RADIUS<-> AzureAD), EAP-TTLS is the only protocol…
Machi
  • 43
  • 1
  • 7
3
votes
1 answer

Add a VSA (Vendor Specific Attribute) to Access-Accept reply programmatically in FreeRADIUS C module

I have a FreeRADIUS C language module that implements MOD_AUTHENTICATE and MOD_AUTHORIZE methods for custom auth purpose. I need the ability to programmatically add VSAs to the Access-Accept reply. I have toyed a bit with radius_pair_create() and…
my3ika
  • 65
  • 6
1
2 3
38 39