blob: d1522b481eba77aed9e85da81f1dab6f308d7a89 [file] [log] [blame]
Nick Gordonf3a9ecb2017-01-24 13:55:14 -06001\section{Prefix Update Processor}
2\label{sec:prefix-update}
Nick Gordon221531c2017-06-08 11:44:45 -05003
4The Prefix Update processor allows manipulation of NLSR's advertised
5name prefixes with ordinary ControlCommands. Such commands may
6originate from something like \texttt{nlsrc}, the command line tool
7for manipulating NLSR.
8
9\subsection{Advertising and Withdrawing Routes}
10The processor accepts valid ControlCommands that are signed by the site operator's key. Additionally, the commands must be received on the \texttt{/localhost/nlsr/prefix-update/} prefix. The full condition list is specified in the validator rules in the configuration file.
11
12The processor will send responses to commands.
13
14\subsection{Security}
15Prefix Update commands are similar to NFD RIB commands, but with one
16additional requirement, so they are more secure. In addition to being
17on the root-only \texttt{/localhost/} prefix, Prefix Update commands
18must be signed by the site operator's key. If the site operator's key
19were compromised, an attacker could create any number of NLSRs that
20impersonate the legitimate NLSR running at that site.