Error binding to 0.0.0.0 port for port 1812

jose luis sanchez ortiz jeluchez at gmail.com
Fri Jun 19 07:13:39 CEST 2015


after of "killall freeradius" show "freeradius -X"

... adding new socket proxy address * port 40798
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on authentication address 127.0.0.1 port 18120 as server
inner-tunnel
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 55177, id=95,
length=78
Received packet from 127.0.0.1 with invalid Message-Authenticator!  (Shared
secret is incorrect.) Dropping packet without response.
Going to the next request
Waking up in 0.9 seconds.
Cleaning up request 0 ID 95 with timestamp +5
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 55177, id=95,
length=78
Received packet from 127.0.0.1 with invalid Message-Authenticator!  (Shared
secret is incorrect.) Dropping packet without response.
Going to the next request
Waking up in 0.9 seconds.
Cleaning up request 1 ID 95 with timestamp +10
Ready to process requests

2015-06-19 5:04 GMT+00:00 jose luis sanchez ortiz <jeluchez at gmail.com>:

> excuse me for not responding quickly.
> I am a beginner in this
>
>
> 2015-06-19 5:02 GMT+00:00 jose luis sanchez ortiz <jeluchez at gmail.com>:
>
>> debug log(freeradius -X) show
>>
>> rad_recv: Access-Request packet from host 127.0.0.1 port 42304, id=199,
>> length=78
>>     User-Name = "proyecto"
>>     User-Password = "123"
>>     NAS-IP-Address = 127.0.0.1
>>     NAS-Port = 1812
>>     Message-Authenticator = 0xe8043ee08c80bbeedd664010add59873
>> # Executing section authorize from file
>> /etc/freeradius/sites-enabled/default
>> +group authorize {
>> ++[preprocess] = ok
>> ++[chap] = noop
>> ++[mschap] = noop
>> ++[digest] = noop
>> [suffix] No '@' in User-Name = "proyecto", looking up realm NULL
>> [suffix] No such realm "NULL"
>> ++[suffix] = noop
>> [eap] No EAP-Message, not doing EAP
>> ++[eap] = noop
>> [files] users: Matched entry proyecto at line 1
>> ++[files] = ok
>> [sql]     expand: %{User-Name} -> proyecto
>> [sql] sql_set_user escaped user --> 'proyecto'
>> rlm_sql (sql): Reserving sql socket id: 31
>> [sql]     expand: SELECT id, username, attribute, value, op
>> FROM radcheck           WHERE username = '%{SQL-User-Name}'           ORDER
>> BY id -> SELECT id, username, attribute, value, op           FROM
>> radcheck           WHERE username = 'proyecto'           ORDER BY id
>> [sql]     expand: SELECT groupname           FROM radusergroup
>> WHERE username = '%{SQL-User-Name}'           ORDER BY priority -> SELECT
>> groupname           FROM radusergroup           WHERE username =
>> 'proyecto'           ORDER BY priority
>> rlm_sql (sql): Released sql socket id: 31
>> [sql] User proyecto not found
>> ++[sql] = notfound
>> ++[expiration] = noop
>> ++[logintime] = noop
>> ++[pap] = updated
>> +} # group authorize = updated
>> Found Auth-Type = PAP
>> # Executing group from file /etc/freeradius/sites-enabled/default
>> +group PAP {
>> [pap] login attempt with password "123"
>> [pap] Using clear text password "123"
>> [pap] User authenticated successfully
>> ++[pap] = ok
>> +} # group PAP = ok
>> # Executing section post-auth from file
>> /etc/freeradius/sites-enabled/default
>> +group post-auth {
>> [sql]     expand: %{User-Name} -> proyecto
>> [sql] sql_set_user escaped user --> 'proyecto'
>> [sql]     expand: %{User-Password} -> 123
>> [sql]     expand: INSERT INTO radpostauth
>> (username, pass, reply, authdate)                           VALUES
>> (                           '%{User-Name}',
>> '%{%{User-Password}:-%{Chap-Password}}',
>> '%{reply:Packet-Type}', '%S') -> INSERT INTO
>> radpostauth                           (username, pass, reply,
>> authdate)                           VALUES (
>> 'proyecto',                           '123',
>> 'Access-Accept', '2015-06-19 04:56:10')
>> rlm_sql (sql) in sql_postauth: query is INSERT INTO
>> radpostauth                           (username, pass, reply,
>> authdate)                           VALUES (
>> 'proyecto',                           '123',
>> 'Access-Accept', '2015-06-19 04:56:10')
>> rlm_sql (sql): Reserving sql socket id: 30
>> rlm_sql (sql): Released sql socket id: 30
>> ++[sql] = ok
>> ++[exec] = noop
>> +} # group post-auth = ok
>> Sending Access-Accept of id 199 to 127.0.0.1 port 42304
>> Finished request 0.
>> Going to the next request
>> Waking up in 4.9 seconds.
>> Cleaning up request 0 ID 199 with timestamp +4
>> Ready to process requests.
>>
>>
>> 2015-06-19 4:05 GMT+00:00 Fajar A. Nugraha <list at fajar.net>:
>>
>>> On Fri, Jun 19, 2015 at 10:59 AM, jose luis sanchez ortiz
>>> <jeluchez at gmail.com> wrote:
>>> > I want to authenticate external user to travez of wifi. I need the AP
>>> > (Router) can send requests to the RADIUS server, but as your time, I'm
>>> on
>>> > this problem.
>>> >
>>> > when I use the command
>>> >  kill iD and then run freeradius -X shows
>>> >
>>> > .. adding new socket proxy address * port 51218
>>> > Listening on authentication address * port 1812
>>> > Listening on accounting address * port 1813
>>> > Listening on authentication address 127.0.0.1 port 18120 as server
>>> > inner-tunnel
>>> > Listening on proxy address * port 1814
>>> > Ready to process requests.
>>>
>>> that's when you START the sevrer
>>>
>>> >
>>> > but run
>>> >  radtest project 123 localhost 1812 testing123
>>> >  radtest project  123 192.168.0.2 1812 testing123 (radius server)
>>> > and this not work
>>>
>>>
>>> ... and what does the debug log (the window with "freeradius -X"
>>> running) show when you run "radtest" on the other window?
>>>
>>> --
>>> Fajar
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>
>>
>>
>


More information about the Freeradius-Users mailing list