post-proxy section ( 3.0.9 bump )

Alan DeKok aland at deployingradius.com
Thu Jun 18 12:48:15 CEST 2015


On Jun 18, 2015, at 5:51 AM, Peter Balsianok <balsianok.peter at gmail.com> wrote:
> I want to log proxy request in the case of Access-Reject from proxy server
>
> In the conf file (site-enables/default):
> 
> post-proxy {
>  log_proxy_reply
>  Post-Proxy-Type Fail-Authentication {

  That's for "failed to get a reply the request".  Not "the reply was Access-Reject".

  You want:

post-proxy {
	...
	if (proxy-reply:Packet-Type == Access-Reject) {
		log_proxy_request
		log_control
	}
	...
}

  Alan DeKok.




More information about the Freeradius-Users mailing list