/usr/share/ion/configs/loopback-ltp/loopback.ltprc 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 51 | # ltprc configuration file for the loopback test.
# Command: % ltpadmin loopback.ltprc
# This command should be run AFTER ionadmin and BEFORE bpadmin.
#
# Ohio University, July 2009
#
# A warning: the ltp configuration is not ideal in this case.
# please consult manual pages and other documentation for a
# better description.
# Initialization command (command 1).
# Establishes the LTP retransmission window.
# (Prohibiting LTP from seizing all available storage).
# A maximum of 32 sessions. A session is assumed to be around one
# second of transmission. This value should be estimated at the sum
# of maximum round-trip times (in seconds) for all "spans."
# Suggest throwing 20% higher number of sessions to account for extra-
# long sessions which contain an actual retransmission.
# Set a total LTP memory space usage limit as the sum of the memory
# space usage of all spans (more or less the number of bytes in transit
# on all links for their duration).
1 128 262144
# Add a span. (a connection)
# Identify the span as engine number 1. That is the ipn node number
# of the node on the other end of this span.
# Use 128 as the maximum number of export sessions.
# Use 1024 as the maximum size of an export block. This more or less
# limits the maximum size of a bundle in the system.
# The next two items are the maximum number of import sessions and the
# maximum size of an imported block. Since this is loopback, we just
# copy the export numbers here.
# 1024 is the maximum segment size- more or less, the amount of data
# that can be held in a single frame of the underlying protocol. In
# this case, UDP packets are the frame, and we will give a conservative
# limit.
# Limit the aggregation size to 1024 bytes, and set a time limit on
# aggregation to 1 second.
# Use the command 'udplso localhost:1113' to implement the link
# itself. In this case, we use udp to connect to localhost (this is
# loopback) using port 1113 (defined by IANA as the default UDP port
# for Licklider Transmission Protocol). The single quote is
# important, don't use double quotes.
a span 1 128 1024 128 1024 1024 1024 1 'udplso localhost:1113'
# Start command.
# This command actually runs the link service output commands
# (defined above, in the "a span" commands).
# Also starts the link service INPUT task 'udplsi localhost:1113' to
# listen on UDP port 1113 for incoming LTP traffic.
s 'udplsi 0.0.0.0:1113'
|