Robust Proxy Accounting problem after switch from 2.2.10 to 3.2.1

Martin Zaharinov micron10 at gmail.com
Tue Nov 29 14:22:46 UTC 2022


Hi Alan 

after fix config and all other proxy work fine 

i have 2 server proxy and 2 AAA vendor

One use java base radius , other is freeradius server 3.x


My proxy is base on freeradius 3.2.1 


Problem is this :

In java base:

When user is auth and send Acct message to proxy when is connect with Java radius queue is very fast and in detail folder i see for < 1 sec detail.work  and folder is empty



with freeradius :


But when connect proxy to freeradius server  

in detail folder file is bump : 


-rw------- 1 freerad freerad 1436209 Nov 29 18:50 detail-20221129:18:50
-rw------- 1 freerad freerad  744932 Nov 29 18:51 detail-20221129:18:51
-rw------- 1 freerad freerad  681658 Nov 29 18:52 detail-20221129:18:52
-rw------- 1 freerad freerad  748639 Nov 29 18:53 detail-20221129:18:53
-rw------- 1 freerad freerad 1048279 Nov 29 18:54 detail-20221129:18:54
-rw------- 1 freerad freerad 1429986 Nov 29 18:55 detail-20221129:18:55
-rw------- 1 freerad freerad  748492 Nov 29 18:56 detail-20221129:18:56
-rw------- 1 freerad freerad  690137 Nov 29 18:57 detail-20221129:18:57
-rw------- 1 freerad freerad  748859 Nov 29 18:58 detail-20221129:18:58
-rw------- 1 freerad freerad 1050320 Nov 29 18:59 detail-20221129:18:59
-rw------- 1 freerad freerad 1444990 Nov 29 19:00 detail-20221129:19:00
-rw------- 1 freerad freerad  754909 Nov 29 19:01 detail-20221129:19:01
-rw------- 1 freerad freerad  696535 Nov 29 19:02 detail-20221129:19:02
-rw------- 1 freerad freerad  764312 Nov 29 19:03 detail-20221129:19:03
-rw------- 1 freerad freerad 1031397 Nov 29 19:04 detail-20221129:19:04
-rw------- 1 freerad freerad 1435674 Nov 29 19:05 detail-20221129:19:05
-rw------- 1 freerad freerad  752248 Nov 29 19:06 detail-20221129:19:06
-rw------- 1 freerad freerad  686776 Nov 29 19:07 detail-20221129:19:07
-rw------- 1 freerad freerad  753858 Nov 29 19:08 detail-20221129:19:08
-rw------- 1 freerad freerad 1029465 Nov 29 19:09 detail-20221129:19:09
-rw------- 1 freerad freerad 1412378 Nov 29 19:10 detail-20221129:19:10
-rw------- 1 freerad freerad  753662 Nov 29 19:11 detail-20221129:19:11
-rw------- 1 freerad freerad  688278 Nov 29 19:12 detail-20221129:19:12
-rw------- 1 freerad freerad  755389 Nov 29 19:13 detail-20221129:19:13
-rw------- 1 freerad freerad 1032475 Nov 29 19:14 detail-20221129:19:14
-rw------- 1 freerad freerad 1430440 Nov 29 19:15 detail-20221129:19:15
-rw------- 1 freerad freerad  744299 Nov 29 19:16 detail-20221129:19:16
-rw------- 1 freerad freerad  684085 Nov 29 19:17 detail-20221129:19:17
-rw------- 1 freerad freerad  746811 Nov 29 19:18 detail-20221129:19:18
-rw------- 1 freerad freerad 1023190 Nov 29 19:19 detail-20221129:19:19
-rw------- 1 freerad freerad 1418708 Nov 29 19:20 detail-20221129:19:20
-rw------- 1 freerad freerad  766728 Nov 29 19:21 detail-20221129:19:21
-rw------- 1 freerad freerad  690250 Nov 29 19:22 detail-20221129:19:22
-rw------- 1 freerad freerad  746751 Nov 29 19:23 detail-20221129:19:23
-rw------- 1 freerad freerad 1017449 Nov 29 19:24 detail-20221129:19:24
-rw------- 1 freerad freerad 1422329 Nov 29 19:25 detail-20221129:19:25
-rw------- 1 freerad freerad  755814 Nov 29 19:26 detail-20221129:19:26
-rw------- 1 freerad freerad  691814 Nov 29 19:27 detail-20221129:19:27
-rw------- 1 freerad freerad  753988 Nov 29 19:28 detail-20221129:19:28
-rw------- 1 freerad freerad 1036341 Nov 29 19:29 detail-20221129:19:29
-rw------- 1 freerad freerad 1423868 Nov 29 19:30 detail-20221129:19:30
-rw------- 1 freerad freerad  754590 Nov 29 19:31 detail-20221129:19:31
-rw------- 1 freerad freerad  693278 Nov 29 19:32 detail-20221129:19:32
-rw------- 1 freerad freerad  751162 Nov 29 19:33 detail-20221129:19:33
-rw------- 1 freerad freerad 1034677 Nov 29 19:34 detail-20221129:19:34
-rw------- 1 freerad freerad 1430729 Nov 29 19:35 detail-20221129:19:35
-rw------- 1 freerad freerad  739525 Nov 29 19:36 detail-20221129:19:36
-rw------- 1 freerad freerad  688980 Nov 29 19:37 detail-20221129:19:37
-rw------- 1 freerad freerad  745496 Nov 29 19:38 detail-20221129:19:38
-rw------- 1 freerad freerad  351030 Nov 29 19:39 detail-20221129:19:39
-rw------- 1 freerad freerad 1039298 Nov 29 18:49 detail.work


and detail.work change on every 2-3 min with old file in list.


this is robust config: 

home_server home1.example.com {
	type = acct
	ipaddr = 192.168.0.1
	port = 1813
	secret = secret
	status_check = request
	username = "test_proxy"
	response_window = 20
	revive_interval = 120
    	check_interval = 30
	check_timeout = 4
  	num_answers_to_alive = 1
  	max_outstanding = 65536
    	zombie_period = 40

}

home_server_pool acct_pool.example.com {
	type = fail-over
	home_server = home1.example.com
	virtual_server = home.example.com
}


freeradius.conf 

max_request_time = 60
cleanup_delay = 5
max_requests = 3840000

thread pool {
	start_servers = 64
	max_servers = 128
	min_spare_servers = 10
	max_spare_servers = 48
	max_requests_per_server = 0
	auto_limit_acct = no
}


the question was there was something to be done not to accumulate files?

Freeradius AAA is set to receive ~24k packets.


Martin


> On 24 Nov 2022, at 13:02, Martin Zaharinov <micron10 at gmail.com> wrote:
> 
> Hi Alan
> 
> I want to apologize, someone had indeed changed the password
> 
> 
> 
> Best regards,
> Martin



More information about the Freeradius-Users mailing list