📦 radcli
151 pages
R
- radcli.h(3)✨
- radcli2.h(3)✨
- radcli_aaa(3)Perform an authentication or accounting exchange with Acct- Delay-Time autofill and fail-over across every configured server.✨
- radcli_attr_def_name(3)Return an attribute definition's canonical name.✨
- radcli_attr_def_oid(3)Render an attribute definition's RFC 6929 §2.7 OID notation.✨
- radcli_attr_def_type(3)Return an attribute definition's wire type.✨
- radcli_avp_add_bytes(3)Append an attribute holding an arbitrary byte string.✨
- radcli_avp_add_bytes_by_num(3)Look up an attribute by legacy numeric ID and append its bytes.✨
- radcli_avp_add_gigawords64(3)Append a 64-bit counter as an Octets/Gigawords attribute pair.✨
- radcli_avp_add_gigawords64_by_num(3)Look up the octets attribute by legacy numeric ID and append a 64-bit counter as an Octets/Gigawords pair.✨
- radcli_avp_add_ip4(3)Append an IPv4-address-typed attribute from a struct in_addr.✨
- radcli_avp_add_ip4_by_num(3)Look up an IPv4-address-typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_ip4prefix(3)Append an IPv4-prefix-typed attribute.✨
- radcli_avp_add_ip4prefix_by_num(3)Look up an IPv4-prefix-typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_ip6(3)Append an IPv6-address or IPv6-prefix-typed attribute.✨
- radcli_avp_add_ip6_by_num(3)Look up an IPv6-address or IPv6-prefix-typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_str(3)Append a string- or text-typed attribute.✨
- radcli_avp_add_str_by_num(3)Look up a string-typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_uint32(3)Append an integer/IPv4-address/date-typed attribute.✨
- radcli_avp_add_uint32_by_num(3)Look up an integer/IPv4-address/date- typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_uint64(3)Append a 64-bit integer- or ifid-typed attribute.✨
- radcli_avp_add_uint64_by_num(3)Look up a 64-bit integer-typed attribute by legacy numeric ID and append it.✨
- radcli_avp_add_username(3)Append a User-Name AVP, appending a realm as "username@realm" unless username already contains one.✨
- radcli_avp_concat_str(3)Concatenate every occurrence of an attribute into a bounded buffer.✨
- radcli_avp_concat_str_by_num(3)Look up an attribute by legacy numeric ID and concatenate every occurrence into a bounded buffer.✨
- radcli_avp_def(3)Return the attribute definition of a.✨
- radcli_avp_get(3)Find the idx-th occurrence of an attribute in a list.✨
- radcli_avp_get_by_num(3)Look up the idx-th occurrence of an attribute by legacy numeric ID.✨
- radcli_avp_get_bytes(3)Read an attribute's value as raw bytes.✨
- radcli_avp_get_bytes_by_num(3)Look up an attribute by legacy numeric ID and read its first occurrence's raw bytes.✨
- radcli_avp_get_cstr(3)Read an attribute's value as a NUL-terminated string, with no allocation or copy.✨
- radcli_avp_get_cstr_by_num(3)Look up an attribute by legacy numeric ID and read its first occurrence as a NUL-terminated string.✨
- radcli_avp_get_gigawords64(3)Reassemble a 64-bit counter from an Octets/Gigawords attribute pair.✨
- radcli_avp_get_gigawords64_by_num(3)Look up the octets attribute by legacy numeric ID and reassemble a 64-bit counter from an Octets/Gigawords pair.✨
- radcli_avp_get_ip4prefix(3)Read an attribute's value as an IPv4 prefix.✨
- radcli_avp_get_ip4prefix_by_num(3)Look up an IPv4-prefix-typed attribute by legacy numeric ID and read its first occurrence.✨
- radcli_avp_get_ip6(3)Read an attribute's value as an IPv6 address or prefix.✨
- radcli_avp_get_ip6_by_num(3)Look up an IPv6-address or IPv6-prefix-typed attribute by legacy numeric ID and read its first occurrence.✨
- radcli_avp_get_uint32(3)Read an attribute's value as an integer/IPv4-address/date.✨
- radcli_avp_get_uint32_by_num(3)Look up an integer/IPv4-address/date- typed attribute by legacy numeric ID and read its first occurrence.✨
- radcli_avp_get_uint64(3)Read an attribute's value as a 64-bit integer or ifid.✨
- radcli_avp_get_uint64_by_num(3)Look up a 64-bit integer-typed attribute by legacy numeric ID and read its first occurrence.✨
- radcli_avp_iter_next(3)Return the current attribute and advance.✨
- radcli_avp_list_error(3)Check whether any radcli_avp_add_*()/_by_num() call on list has ever failed.✨
- radcli_avp_list_free(3)Free a list and every attribute it holds.✨
- radcli_avp_list_iter(3)Begin iterating list.✨
- radcli_avp_list_new(3)Create an empty attribute-value pair list.✨
- radcli_ctx_apply(3)Validate the options set so far and initialise the transport.✨
- radcli_ctx_dispatch(3)Read what is ready on ctx's descriptor(s), validate it, and invoke the registered handler for anything that passes see radcli_dae_set_handler(). Also: drains any in-flight RADCLI_REQUEST_SENDONLY…✨
- radcli_ctx_free(3)Release a context.✨
- radcli_ctx_get_opt_int(3)Read back an integer-typed configuration option.✨
- radcli_ctx_get_opt_str(3)Read back a string-typed configuration option.✨
- radcli_ctx_get_poll(3)Report what to wait for on ctx's behalf, for the caller's own event loop radcli never calls poll()/select()/epoll_wait() itself.✨
- radcli_ctx_new(3)Create an empty context, ready for radcli_ctx_set_opt_str()/ _set_opt_int() and radcli_ctx_apply() the fully programmatic ("backup") way to configure radcli without a config file on disk.✨
- radcli_ctx_read_config(3)Create a context by parsing a config file the main, recommended way to configure radcli.✨
- radcli_ctx_read_dictionary(3)Load an additional attribute dictionary.✨
- radcli_ctx_read_dictionary_from_buffer(3)Load an additional attribute dictionary from an in-memory buffer.✨
- radcli_ctx_set_opt_int(3)Set an integer-typed configuration option.✨
- radcli_ctx_set_opt_str(3)Set a string-typed configuration option.✨
- radcli_ctx_set_secret(3)Set the RADIUS shared secret for the configured authserver and/or acctserver.✨
- radcli_ctx_set_tls_psk(3)Set the RFC 6614/7360 TLS-transport Pre-Shared Key credentials for the configured authserver.✨
- radcli_dae_free(3)Release a listener, closing its socket if radcli_dae_start() opened one.✨
- radcli_dae_new(3)Validate dae-* configuration and build a dynamic- authorization listener. Opens no socket see radcli_dae_start().✨
- radcli_dae_process(3)Validate a caller-supplied packet, without a radcli-owned socket the L0 counterpart of radcli_ctx_dispatch(), running the identical validation pipeline (REQ-DAE-NET-003) on a buffer and source…✨
- radcli_dae_reply(3)Answer a request with an ACK or NAK, selecting 41/42 or 44/45 from the request's own code, mirroring its Proxy-State attributes, and computing the Response Authenticator over the request's…✨
- radcli_dae_reply_error(3)Answer a request with a NAK carrying the given Error-Cause.✨
- radcli_dae_reply_to_buffer(3)Produce a reply as bytes instead of sending it the L0 counterpart of radcli_dae_reply()/radcli_dae_reply_error(), for a request that came from radcli_dae_process().✨
- radcli_dae_req_attrs(3)Return the request's decoded attributes.✨
- radcli_dae_req_code(3)Return the received packet's RADIUS code.✨
- radcli_dae_req_framed_ip(3)Return the request's Framed-IP-Address or Framed-IPv6-Address.✨
- radcli_dae_req_nas_port(3)Return the request's NAS-Port.✨
- radcli_dae_req_session_id(3)Return the request's Acct-Session-Id, if it carried one.✨
- radcli_dae_req_user_name(3)Return the request's User-Name, if it carried one.✨
- radcli_dae_request_free(3)Release a request.✨
- radcli_dae_set_handler(3)Register the callback radcli_ctx_dispatch() invokes for each validated request. May be called before or after radcli_dae_start().✨
- radcli_dae_start(3)Start receiving: binds the socket described by dae- listen.✨
- radcli_dict_lookup(3)Look up a dictionary attribute by its canonical name.✨
- radcli_dict_lookup_num(3)Look up a dictionary attribute by its legacy numeric ID and vendor.✨
- radcli_dict_lookup_oid(3)Look up a dictionary attribute by RFC 6929 §2.7 OID notation.✨
- radcli_dict_lookup_value(3)Resolve a dictionary VALUE by name, scoped to one attribute.✨
- radcli_request_attrs(3)Return the reply's decoded attributes.✨
- radcli_request_code(3)Return the reply's RADIUS code.✨
- radcli_request_done(3)Report r's outcome once radcli_ctx_dispatch() has resolved it a pure state query, performing no I/O of its own.✨
- radcli_request_free(3)Release a request.✨
- radcli_request_new(3)Create a request to send.✨
- radcli_request_perform(3)Send a request, optionally waiting for the reply.✨
- radcli_request_server(3)Return the name of the server a request was (or will be) sent to.✨
- rc_aaa(3)✨
- rc_aaa_ctx(3)✨
- rc_aaa_ctx_free(3)✨
- rc_aaa_ctx_get_secret(3)✨
- rc_aaa_ctx_get_vector(3)✨
- rc_aaa_ctx_server(3)✨
- rc_acct(3)✨
- rc_acct_async(3)Sends an accounting request to every configured accounting server without waiting for a reply.✨
- rc_acct_proxy(3)✨
- rc_add_config(3)✨
- rc_apply_config(3)✨
- rc_auth(3)✨
- rc_auth_proxy(3)✨
- rc_avpair_add(3)✨
- rc_avpair_assign(3)✨
- rc_avpair_copy(3)✨
- rc_avpair_free(3)✨
- rc_avpair_gen(3)✨
- rc_avpair_get(3)✨
- rc_avpair_get_attr(3)✨
- rc_avpair_get_in6(3)✨
- rc_avpair_get_raw(3)✨
- rc_avpair_get_uint32(3)✨
- rc_avpair_insert(3)✨
- rc_avpair_log(3)✨
- rc_avpair_new(3)✨
- rc_avpair_next(3)✨
- rc_avpair_parse(3)✨
- rc_avpair_remove(3)✨
- rc_avpair_tostr(3)✨
- rc_buildreq(3)✨
- rc_check(3)✨
- rc_check_tls(3)✨
- rc_conf_int(3)✨
- rc_conf_srv(3)✨
- rc_conf_str(3)✨
- rc_config_free(3)✨
- rc_config_init(3)✨
- rc_destroy(3)✨
- rc_dict_addattr(3)✨
- rc_dict_addval(3)✨
- rc_dict_addvend(3)✨
- rc_dict_findattr(3)✨
- rc_dict_findval(3)✨
- rc_dict_findvend(3)✨
- rc_dict_free(3)✨
- rc_dict_getattr(3)✨
- rc_dict_getval(3)✨
- rc_dict_getvend(3)✨
- rc_find_server_addr(3)✨
- rc_get_socket_type(3)✨
- rc_get_srcaddr(3)✨
- rc_getport(3)✨
- rc_mksid(3)✨
- rc_new(3)✨
- rc_openlog(3)✨
- rc_own_hostname(3)✨
- rc_read_config(3)✨
- rc_read_dictionary(3)✨
- rc_read_dictionary_from_buffer(3)✨
- rc_send_server(3)✨
- rc_setdebug(3)✨
- rc_test_config(3)✨
- rc_tls_fd(3)✨
💅
getting it ready, bestie…