rc_check_tls(3)
π rc_check_tls β the manual, but make it a vibe π
okay bestie, buckle up, we're looking at rc_check_tls(3) from the Radius client library β yes, the whole library, she's iconic like that. π
β¨ NAME β¨
rc_check_tls β and literally nothing else. no description. the manpage left it blank, so we're all just gonna have to keep reading like the main characters we are. π
πΈ SYNOPSIS πΈ
#include <radcli/radcli.h>
int rc_check_tls(
rc_handle *rh
);
look at her. one handle, one function call, zero drama. π
π¦ DESCRIPTION π¦
so what does she do? she checks your established TLS/DTLS channels and makes sure they're actually operational. π«Ά
this function will check whether the channel(s) established for TLS or DTLS are operational, and it will re-establish the channel if necessary. so if a connection ghosted you, she goes and gets it back. obsessed.
β οΈ but listen β if this function fails, then the TLS or DTLS state should be considered as disconnected. no cap. that's the whole mood. π
also, you have to call it at a time when the sessions are not in usage β like, in a different thread. don't be calling her mid-conversation, she needs the room to herself. π
π note: it is recommended to run this function periodically if you have a DTLS channel, because an undetected server reset may result to a black hole behavior of the server. yes, actual black hole. not metaphor. run it on a schedule, bestie, fr fr. π³οΈ
π PARAMETERS π
rhβ a handle to parsed configuration. that's it. that's the whole parameter. she's low-maintenance. π
β RETURN VALUE β
0on success β¨ (slay)-1on error π (not slay)
π₯ SEE ALSO π₯
the whole friend group, in order, no one left out, periodt:
radcli.h(3)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_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)
and that's the whole page, babe. π brought to you by radcli, dated 2023-01-29 β go forth, check your TLS, and stay operational. π§β¨
π¦ where this page comes from
- alpine 3.24: radcli-doc 1.4.0-r0 Β· BSD-2-Clause AND MIT
- epel 10: radcli-devel 1.5.2-3.el10_3 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 43: radcli-devel 1.4.0-5.fc43 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 43: radcli-devel 1.4.0-5.fc43 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 44: radcli-devel 1.4.0-6.fc44 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 44: radcli-devel 1.4.0-6.fc44 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 44: radcli-devel 1.5.2-3.fc44 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- fedora 44: radcli-devel 1.5.2-3.fc44 Β· BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
- nixos 26.05: radcli 1.5.1
- nixpkgs unstable: radcli 1.5.2
- opensuse-leap 16.0: radcli-devel 1.4.0-bp160.1.11 Β· BSD-2-Clause AND MIT
- opensuse-leap 16.0: radcli-devel 1.4.0-bp160.1.11 Β· BSD-2-Clause AND MIT
- opensuse-leap 16.0: radcli-devel 1.4.0-bp160.1.11 Β· BSD-2-Clause AND MIT
- opensuse-leap 16.0: radcli-devel 1.4.0-bp160.1.11 Β· BSD-2-Clause AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms