NFD-AUTOREG(1)
π NFD-AUTOREG(1) β nfd-autoreg π
okay so before we even start: this page lives in the Named Data Networking Forwarding Daemon (NFD) manual, and it's about nfd-autoreg, the automatic prefix registration daemon. she's lowkey the most helpful little background app you'll ever meet, fr fr. π¦
β¨ NAME β¨
nfd-autoreg β NFD automatic prefix registration daemon
likeβ¦ she registers prefixes for you. automatically. main character energy honestly. π
πΈ SYNOPSIS πΈ
nfd-autoreg [-i|--prefix prefix]... [-a|--all-faces-prefix prefix]...
[-b|--blacklist network]... [-w|--whitelist network]... [-c|--cost cost]
nfd-autoreg -h|--help
nfd-autoreg -V|--version
(and yes bestie, -a/--all-faces-prefix is in the synopsis up there β the OPTIONS section below just doesn't describe it, so I'm not gonna make stuff up about it π iykyk)
π DESCRIPTION π
nfd-autoreg is a daemon application that automatically registers the prefix(es) you specify when new on-demand faces get created. translation: when a new UDP face pops into existence as the result of an incoming packet, or when a new TCP face shows up as the result of an incoming connection β that's when she does her thing. no cap, she's just sitting there waiting to be useful. β
π OPTIONS π
-i <prefix>,--prefix <prefix>β the prefix that should get automatically registered when a new remote face is created β¨. you can repeat this multiple times to specify additional prefixes β stack 'em up, she can handle it.-b <network>,--blacklist <network>β a blacklisted network, e.g.192.168.2.32/30or::1/128π«. can be repeated multiple times to specify multiple blacklisted networks. the prefixes will be auto-registered only when the remote IP address is NOT inside the specified range(s), but IS inside the range defined by the whitelist(s), if any. default: none.-w <network>,--whitelist <network>β a whitelisted network, e.g.192.168.2.0/24or::1/128β . can be repeated multiple times to specify multiple whitelisted networks. the prefixes will be auto-registered only when the remote IP address is inside the specified range(s), excluding any blacklisted range(s). default:0.0.0.0/0and::/0.-c <cost>,--cost <cost>β the RIB cost to assign to auto-registered prefixes. if you don't specify it, the cost is set to255. that's the default, bestie, she said so π .-h,--helpβ print the help message and exit. your girl is helpful like that π«Ά.-V,--versionβ show version information and exit. slay.
π¦ EXIT STATUS π¦
0β no error. we love a clean exit β¨1β an unspecified error occurred π (vague, ominous, iconic)2β malformed command line, e.g. invalid, missing, or unknown argument π (check your flags, bestie)4β insufficient privileges π (you need more power for this one)
π EXAMPLES π
nfd-autoreg -i /app1/video -i /app2/pictures -b 10.0.0.0/8
auto-register two prefixes β /app1/video and /app2/pictures β for any newly created on-demand faces, except the ones that have their remote IP address in the 10.0.0.0/8 network. obsessed. two prefixes, one blacklist, zero stress π₯
π Copyright π
Copyright Β© 2014-2024 Named Data Networking Project.
and that's the whole page, bestie π«Ά version 24.07, dated 1980-01-01, straight out of the Named Data Networking Forwarding Daemon (NFD) manual set β go forth and auto-register responsibly π
π
π¦ where this page comes from
- nixos 26.05: nfd 24.07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms