dtn2admin - baseline "dtn" scheme administration interface
configures the local ION node's routing of bundles to endpoints
whose IDs conform to the dtn
endpoint ID scheme. dtn
non-CBHE-conformant scheme. The structure of dtn
endpoint IDs remains
somewhat in flux at the time of this writing, but endpoint IDs in the
scheme historically have been strings of the form "dtn://
]", where node_name
identifies a computer somewhere on the network and demux_token
identifies a specific application processing point. Although the dtn
endpoint ID scheme imposes more transmission overhead than the ipn
scheme, ION provides support for dtn
endpoint IDs to enable
interoperation with other implementations of Bundle Protocol.
operates in response to "dtn" scheme configuration
commands found in the file commands_filename
, if provided; if not,
prints a simple prompt (:) so that the user may type commands
directly into standard input.
The format of commands for commands_filename
can be queried from
with the 'h' or '?' commands at the prompt. The commands are
documented in dtn2rc
- "0" Successful completion of "dtn"
- "1" Unsuccessful completion of "dtn"
scheme administration, due to inability to attach to the Bundle Protocol
system or to initialize the "dtn" scheme.
- Enter interactive "dtn" scheme configuration
command entry mode.
- dtn2admin host1.dtn2rc
- Execute all configuration commands in host1.dtn2rc,
then terminate immediately.
(5) for details of the DTN scheme configuration commands.
No environment variables apply.
: all ION administration utilities expect source file input to be
lines of ASCII text that are NL-delimited. If you edit the dtn2rc file on a
Windows machine, be sure to use dos2unix to convert it to Unix text
before presenting it to dtn2admin
will detect syntax errors and will not function
The following diagnostics may be issued to the logfile ion.log:
- dtn2admin can't attach to BP.
- Bundle Protocol has not been initialized on this computer.
You need to run bpadmin(1) first.
- dtn2admin can't initialize routing database.
- There is no SDR data store for dtn2admin to use.
Please run ionadmin(1) to start the local ION node.
- Can't open command file...
- The commands_filename specified in the command line
Various errors that don't cause dtn2admin
to fail but are noted in the
log file may be caused by improperly formatted commands given
at the prompt or in the commands_filename
file. Please see
(5) for details.
Report bugs to <firstname.lastname@example.org>