26 RCSID(
"$Id: 295bc8e61da49837d8c58ec57d136ca5ee89fc95 $")
28 #include <freeradius-devel/radiusd.h>
29 #include <freeradius-devel/modules.h>
31 #ifdef WITH_ACCOUNTING
44 #define WAS_PROXIED (request->proxy)
46 #define WAS_PROXIED (0)
89 acct_type = vp->vp_integer;
90 DEBUG2(
" Found Acct-Type %s",
134 DEBUG(
"rad_accounting: Cancelling proxy to realm %s, as it is a LOCAL realm.", realm->
name);
REALM * realm_find2(char const *name)
VALUE_PAIR * config
VALUE_PAIR (s) used to set per request parameters for modules and the server core at runtime...
RADIUS_PACKET * proxy_reply
Incoming response from proxy server.
The module is OK, continue.
char const * fr_dict_enum_name_by_da(fr_dict_t *dict, fr_dict_attr_t const *da, int value)
Lookup the name of an enum value in a fr_dict_attr_t.
The module considers the request invalid.
RFC2866 - Accounting-Response.
RADIUS_PACKET * proxy
Outgoing request to proxy server.
Reject the request (user is locked out).
Immediately reject the request.
unsigned int code
Packet code (type).
rlm_rcode_t process_accounting(int type, REQUEST *request)
Stores an attribute, a value and various bits of other data.
RADIUS_PACKET * reply
Outgoing response.
void fr_pair_delete_by_num(VALUE_PAIR **head, unsigned int vendor, unsigned int attr, int8_t tag)
Delete matching pairs.
rlm_rcode_t module_preacct(REQUEST *request)
Module succeeded without doing anything.
int rad_accounting(REQUEST *request)
Module failed, don't reply.
VALUE_PAIR * fr_pair_find_by_num(VALUE_PAIR *head, unsigned int vendor, unsigned int attr, int8_t tag)
Find the pair with the matching attribute.
fr_dict_attr_t const * da
Dictionary attribute defines the attribute.
The module handled the request, so stop.