26 RCSIDH(realms_h,
"$Id: 9d3cfe787e6b0707c2e5d2f2df8df66a82159af7 $")
137 fr_tls_server_conf_t *tls;
void home_server_update_request(home_server_t *home, REQUEST *request)
home_server_t * servers[1]
char const * name
Name the server may be referenced by for querying stats or when specifying home servers for a pool...
REALM * realm_find2(char const *name)
fr_ipaddr_t src_ipaddr
Resolved version of src_ipaddr_str.
struct home_pool_t home_pool_t
int realms_init(CONF_SECTION *config)
bool home_servers_udp
Whether there are any UDP home servers.
char const * ping_user_name
char const * ping_check_str
char const * ping_user_password
void realm_home_server_sanitize(home_server_t *home, CONF_SECTION *cs)
home_server_t * home_server_bynumber(int number)
uint32_t num_pings_to_alive
char const * type_str
String representation of type.
static char const * proto
Authentication and accounting server.
uint32_t response_timeouts
struct home_server home_server_t
char const * server
For internal proxying.
struct fr_socket_limit_t fr_socket_limit_t
home_server_t * home_server_ldb(char const *realmname, home_pool_t *pool, REQUEST *request)
CONF_SECTION * home_server_cs_afrom_client(CONF_SECTION *client)
Fixup a client configuration section to specify a home server.
struct timeval revive_time
char const * proto_str
String representation of protocol.
CoA destination (NAS or Proxy)
int realm_pool_add(home_pool_t *pool, CONF_SECTION *cs)
bool dual
One of a pair of homeservers on consecutive ports.
char const * log_name
The name used for log messages.
REALM * realm_find(char const *name)
uint32_t max_outstanding
Maximum outstanding requests.
home_ping_check_t ping_check
What method we use to perform the 'ping' none, status-server or fake request.
uint32_t num_received_pings
bool realm_home_server_add(home_server_t *home)
Add an already allocate home_server_t to the various trees.
char const * src_ipaddr_str
Need to parse the string specially as it may require a DNS lookup and the address family for that is ...
int realm_realm_add(REALM *r, CONF_SECTION *cs)
home_server_t * home_server_afrom_cs(TALLOC_CTX *ctx, realm_config_t *rc, CONF_SECTION *cs)
Alloc a new home server defined by a CONF_SECTION.
char const * virtual_server
uint32_t currently_outstanding
uint32_t max_response_timeouts
char const * parent_server
void realm_pool_free(home_pool_t *pool)
home_pool_t * home_pool_byname(char const *name, int type)
home_server_t * home_server_byname(char const *name, int type)
home_server_t * home_server_find(fr_ipaddr_t *ipaddr, uint16_t port, int proto)
struct timeval zombie_period_start
uint32_t revive_interval
How often we revive it (if it doesn't support pings).
home_type_t type
Auth, Acct, CoA etc.
uint32_t zombie_period
Unresponsive for T, mark it dead.
fr_ipaddr_t ipaddr
IP address of home server.
struct timeval response_window