blob: 0d5dba5be9084b7f637e0105026efb782b2a4c43 [file] [log] [blame]
Nick Gordon221531c2017-06-08 11:44:45 -05001\section{NFD RIB Command Processor}
2\label{sec:nfd-rib-commands}
3
4The NFD RIB Command Processor allows modification of NLSR's advertised
5name prefixes using NFD's RibMgmt commands. Such commands may
6originate from something like NFD's Readvertise module, which permits
7routes inserted in NFD to be propagated through to NLSR, so that NLSR
8can provide routing support for them.
9
10\subsection{Advertising and Withdrawing Routes}
11The processor accepts valid RibMgmt commands that have the name prefix
12to manipulate the origin of the route specified. No other validation
13is performed, as stated below.
14
15The processor does not send any kind of response to commands.
16
17\subsection{Security}
18Any RibMgmt commands received on the \texttt{/localhost/nlsr/rib}
19prefix are considered secure, and are processed. This introduces a
20security hole because anyone who can send a RibMgmt command on this
21prefix can arbitrarily manipulate NLSR's advertised prefixes. However,
22because sending commands to this prefix requires root access, a
23would-be attacker will already have root access locally.