Proxy check request problem

Peter Balsianok balsianok.peter at gmail.com
Mon Sep 21 15:54:54 CEST 2015


Hi

I have following proxy configuration:

Hi,

I have following proxy configuration for 3rd party server (only piece of
the configuration).

....
require_message_authenticator = yes
type = auth+acct
port = 1812

# Status check via existing user
status_check = request
check_interval = 6
num_answers_to_alive = 3
username = "orange-system"
password = "incorrect" # We don't need Access-Accept, enough is
Access-Reject
....

My server recieves only auth/autz requests which are proxied to 3rd party
servers. In case of 3rd party unavailability the server sends request to
check status of the 3rd party server. Question is why does server send
Accounting Request instead of Access Accept ?

Another question for clarification:
If i use type=auth+acct, what is correct value for the port ? Is it correct
port=1812 ?

15:34:29.016422 IP (tos 0x0, ttl  64, id 8072, offset 0, flags [none],
proto: UDP (17), length: 118) tdrad1.vas.orange.sk.59157 >
10.14.135.19.radius: [udp sum ok] RADIUS, length: 90
Accounting Request (4), id: 0xea, Authenticator:
50365561fa7ae6cca5a956834b05dea8
  Username Attribute (1), length: 15, Value: orange-system
    0x0000:  6f72 616e 6765 2d73 7973 7465 6d
  Accounting Status Attribute (40), length: 6, Value: Stop
    0x0000:  0000 0002
  Accounting Session ID Attribute (44), length: 10, Value: 00000000
    0x0000:  3030 3030 3030 3030
  Event Timestamp Attribute (55), length: 6, Value: Mon Sep 21 15:34:29 2015
    0x0000:  5600 0765
  NAS ID Attribute (32), length: 33, Value: Status Check 64. Are you alive?
    0x0000:  5374 6174 7573 2043 6865 636b 2036 342e
    0x0010:  2041 7265 2079 6f75 2061 6c69 7665 3f
15:34:36.918919 IP (tos 0x0, ttl  64, id 8074, offset 0, flags [none],
proto: UDP (17), length: 118) tdrad1.vas.orange.sk.59157 >
10.14.135.19.radius: [udp sum ok] RADIUS, length: 90
Accounting Request (4), id: 0xe9, Authenticator:
2f14cead04b5c267c9c85514235e5d48
  Username Attribute (1), length: 15, Value: orange-system
    0x0000:  6f72 616e 6765 2d73 7973 7465 6d
  Accounting Status Attribute (40), length: 6, Value: Stop
    0x0000:  0000 0002
  Accounting Session ID Attribute (44), length: 10, Value: 00000000
    0x0000:  3030 3030 3030 3030
  Event Timestamp Attribute (55), length: 6, Value: Mon Sep 21 15:34:36 2015
    0x0000:  5600 076c
  NAS ID Attribute (32), length: 33, Value: Status Check 65. Are you alive?
    0x0000:  5374 6174 7573 2043 6865 636b 2036 352e
    0x0010:  2041 7265 2079 6f75 2061 6c69 7665 3f


Thx.


More information about the Freeradius-Users mailing list