13.    .

     Tomi Manninen <tomi.manninen@hut.fi>   
 PMS,          
.           Telnet, NetRom, Rose,  AX.25 
,      ,  Finger, Nodes, Heard  .. 
   ,        
Linux.       ax25d ,      TCP/IP inetd   
 TELNET,    .

  13.1.  /etc/ax25/node.conf .

  node.conf  -  -        . , 
   :

  # /etc/ax25/node.conf
  # configuration file for the node(8) program.
  #
  # Lines beginning with '#' are comments and are ignored.

  # Hostname
  # Specifies the hostname of the node machine
  hostname        radio.gw.vk2ktj.ampr.org

  # Local Network
  # allows you to specify what is consider 'local' for the
  # purposes of permission checking using nodes.perms.
  localnet        44.136.8.96/29

  # Hide Ports
  # If specified allows you to make ports invisible to users. The
  # listed ports will not be listed by the (P)orts command.
  hiddenports     rose netrom

  # Node Identification.
  # this will appear in the node prompt
  NodeId          LINUX:VK2KTJ-9

  # NetRom port
  # This is the name of the netrom port that will be used for
  # outgoing NetRom connections from the node.
  NrPort          netrom

  # Node Idle Timeout
  # Specifies the idle time for connections to this node in seconds.
  idletimout      1800

  # Connection Idle Timeout
  # Specifies the idle timer for connections made via this node in
  # seconds.
  conntimeout     1800

  # Reconnect
  # Specifies whether users should be reconnected to the node
  # when their remote connections disconnect, or whether they
  # should be disconnected complete.
  reconnect       on

  # Command Aliases
  # Provide a way of making complex node commands simple.
  alias           CONV    "telnet vk1xwt.ampr.org 3600"
  alias           BBS     "connect radio vk2xsb"

  # Externam Command Aliases
  # Provide a means of executing external commands under the node.
  # extcmd <cmdname> <flag> <userid> <command>
  # Flag == 1 is the only implemented function.
  # <command> is formatted as per ax25d.conf
  extcmd          PMS     1       root    /usr/sbin/pms pms -u %U -o VK2KTJ

  # Logging
  # Set logging to the system log. 3 is the noisiest, 0 is disabled.
  loglevel        3

  # The escape character
  # 20 = (Control-T)
  EscapeChar      20

  13.2.  /etc/ax25/node.perms .

   ,        .
,        (T) elnet,  (C) onnect 
 ..,     ,   ,   .  
    node.perms .

node.perms  -     ,        
 .      '*' ,   .  
      .

user - 

  -  ,      .  
 SSID .       'callsign'.

method - 

   -       . ,     
,    AX.25  NetRom,   (C) onnect ,   
   ,      telnet.  
 :

method  description -  

     
---------     -----------------------------------------------------------
ampr         - telnet,    amprnet (44.0.0.0)
ax25        ,   AX.25
host              
inet           - telnet,   non-loca, non-ampr 
local          telnet    
netrom     ,   NetRom
rose         ,   Rose
*               ,      .

port  - 

   -   .  ,      AX.25  
   .      AX.25.

password - 

  -      ,     .  
     ,      , 
    .          
,     . 

permissions - 

   -           'node.perms'.  
    ,      ,  
  ,    . 

       :

     
 ------------      -------------------------------------------------
  1                    .
  2                 AX25 (C) onnects .
  4                 NetRom (C) onnects .
  8                 (T) elnet  ,   .
  16               (T) elnet  amprnet (44.0.0.0)   .
  32               (T) elnet  , non-amprnet   .
  64                ,   AX.25 (C) onnects.
  128             Rose (C) onnects . 

     ,     ,   
,   ,     .        
.

 nodes.perms:

# /etc/ax25/node.perms
#
# The node operator is VK2KTJ, has a password of 'secret' and
# is allowed all permissions by all connection methods
vk2ktj           *         *       secret  255

# The following users are banned from connecting
NOCALL      *       *       *       0
PK232          *       *       *       0
PMS             *       *       *       0

# INET users are banned from connecting.
*       inet       *       *       0

# AX.25, NetRom, Local, Host and AMPR users may (C)onnect and (T)elnet
# to local and ampr hosts but not to other IP addresses.
*       ax25      *       *       159
*       netrom   *       *       159
*       local       *       *       159
*       host       *       *       159
*       ampr      *       *       159

  13.3.   ax25d

        ax25d       
    /etc/ax25/ax25d.conf .     ,  
  ,          . 
 Ax25d    ,    . ,  ax25d 
,  ,     ,   ,  
  VK2KTJ-1,    .   ,      
 /etc/ax25/ax25d.conf :

       [vk2ktj-1 via radio]
       default    *     *    *   *   *   0    root /usr/sbin/node node


  ,    Linux     callsign 'VK2KTJ-1'    
AX.25   '',    .

13.4.  ,  inetd

       telnet      ,    
,         .     
   4000,  Tomi    ,   
  telnet daemon     .

      .

   /etc/services  :

       node    3694/tcp        #OH2BNS's node software

    /etc/inetd.conf   :

node    stream  tcp     nowait  root    /usr/sbin/node node

     ,    ' inetd ' ,   ,  
  telnet  3694   ,       ,    
,       .

