/usr/share/ion/configs/loopback-stcp/loopback.bprc is in ion-doc 3.0.1~dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # bprc configuration file for the loopback test.
# Command: % bpadmin loopback.bprc
# This command should be run AFTER ionadmin and ltpadmin and
# BEFORE ipnadmin or dtnadmin.
#
# Ohio University, July 2009
# Initialization command (command 1).
1
# Add an EID scheme.
# The scheme's name is ipn.
# This scheme's forwarding engine is handled by the program 'ipnfw.'
# This scheme's administration program (acting as the custodian
# daemon) is 'ipnadminep.'
a scheme ipn 'ipnfw' 'ipnadminep'
# Add endpoints.
# Establish endpoints ipn:1.1 and ipn:1.2 on the local node.
# The behavior for receiving a bundle when there is no application
# currently accepting bundles, is to queue them 'q', as opposed to
# immediately and silently discarding them (use 'x' instead of 'q' to
# discard).
# Note that the custodian endpoint "ipn:1.0" is automatically generated.
a endpoint ipn:1.1 q
a endpoint ipn:1.2 q
# Add a protocol.
# Add the protocol named stcp.
# Estimate transmission capacity assuming 1400 bytes of each frame (in
# this case, tcp on ethernet) for payload, and 100 bytes for overhead.
a protocol stcp 1400 100
# Add an induct. (listen)
# Add an induct to accept bundles using the stcp protocol.
# The induct will listen on port 4556, the IANA assigned default DTN
# TCP convergence layer port.
# The induct itself is implemented by the 'stcpcli' command.
a induct stcp 0.0.0.0:4556 stcpcli
# Add an outduct. (send to yourself)
# Add an outduct to send bundles using the stcp protocol.
# The outduct will connect to the localhost IP using the
# IANA assigned default DTN TCP port of 4556.
# The outduct itself is implemented by the 'stcpclo' command.
a outduct stcp 127.0.0.1:4556 stcpclo
# Start the Daemons.
s
|