AIOCOAP-RD(1)
πΈ AIOCOAP-RD β the resource directory that literally just exists to hold your registrations π
okay so bestie, this is aiocoap-rd, a plain CoAP Resource Directory server, living its best life according to RFC9176 β <https://datatracker.ietf.org/doc/html/rfc9176>
it's giving "I'm a registry for CoAP endpoints and I do it with zero drama." β¨
π¨ Known Caveats (read these, fr fr)
- It is very permissive. Not only is no security implemented.
- This may and will make exotic choices about discoverable paths wherever it can (see
StandaloneResourceDirectorydocumentation). - Split-horizon is not implemented correctly.
- Unless enforced by security (ie. not so far), endpoint and sector names (
ep,d) are not checked for their lengths or other validity. - Simple registrations don't cache
.well-known/corecontents.
π no cap, that security situation is a whole vibe check failure. deploy accordingly.
π«Ά USAGE
usage: aiocoap-rd [-h] [--bind BIND] [--credentials CREDENTIALS]
[--tls-server-certificate CRT] [--tls-server-key KEY]
[--version] [--proxy-domain PROXY_DOMAIN] [--lwm2m-compat]
[--no-lwm2m-compat] [--verbose]
β¨ NAMED ARGUMENTS β¨
--bindβ host and/or port to bind to (peep--help-bindfor the deets) π--credentialsβ a JSON file pointing to credentials for the server's identity/ies. π--tls-server-certificateβ TLS certificate (chain) to present to connecting clients, in PEM format. π--tls-server-keyβ TLS key to load that supports the server certificate. ποΈ--versionβ show program's version number and exit. so iconic of it honestly π¦--proxy-domainβ enable the RD proxy extension. Example:proxy.example.netwill produce base URIs likecoap://node1.proxy.example.net/. The names must all resolve to an address the RD is bound to. π--lwm2m-compatβ compatibility mode for LwM2M clients that can not perform some discovery steps (moving the registration resource to/rd). π--no-lwm2m-compatβ disable all compatibility with LwM2M clients that can not perform some discovery steps (not even accepting registrations at/rdwith warnings).
Default: True
--verboseβ increase debug log output (repeat for increased verbosity). π₯
Default: 0
pro tip from your girl: the defaults on--no-lwm2m-compatand--verboseare exactly as listed, don't come for me.
π Copyright
Christian AmsΓΌss and the aiocoap contributors.
and that's the whole page, main character energy only. version 0.4, dated Apr 04, 2026, from the aiocoap crew β slay, bye ππ§π
π¦ where this page comes from
- ubuntu stonking: python3-aiocoap 0.4.17-2 Β· MIT/X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms