x25daemon(1)

Name

x25daemon - X.25 server daemon

Syntax

x25daemon [-c] [-d vcs] [-D xinetdev] [-n] [-p pktdev] [-T time] [-l logfile] [-L logdepth] [-s pktsize] [incallsfile]

Description

x25daemon, the X.25 server, monitors incoming calls on all the X.25 links.

When started, usually by x25net, x25daemon links together X.25 STREAMS modules and drivers required for X.25 network services. X.25 services are then started for each network defined in /etc/packetnets. If an error occurs establishing X.25 network services, x25daemon logs an error and exits; consequently X.25 services for each network are stopped. See packetnets(1) for more information on the format of this file.

x25daemon listens for incoming calls from each X.25 network and disposes of each call according to the rules contained in incallsfile, the default being /etc/x25incalls. This file is reread by default every 5 minutes, but may be read more or less often as specified by the -T option. Upon receipt of signals SIGUSR1 or SIGUSR2, x25daemon also rereads this file. SIGUSR2, in addition, causes x25daemon to display the file on the console. See the Administrator's Guide for more information on the file format.

x25daemon remains active when there are no calls to process. x25daemon, and consequentially X.25 services, may be stopped using thex25net command.

Diagnostics

While starting X.25 services and monitoring incoming calls, x25daemon logs errors and information on each incoming call in, by default, file /usr/spool/x25/x25dlog.

Options

-c

Display incallsfile in a verbose manner and exit, i.e. do not attempt to provide X.25 services. If incallsfile is not specified, /etc/x25incalls is displayed.

-d vcs

Allocate vcs virtual circuits for xinet (RFC877). Unless the -d option is specified, virtual circuits are not allocated for xinet.

-D xinetdev

Use xinetdev as the xinet special device file instead of the default file, /dev/x25inet0.

-n

Do not listen for incoming calls. Normally x25daemon builds the X.25 protocol stack and then listens for incoming calls, passing them to the applications given in /etc/x25incalls. If you have written a program which is the default listener for incoming calls then you need to stop x25daemon from listening since only one application may be the default.

See the programmers guide for more information on X25listen.

-p pktdev

Use pktdev as the device on which to listen for incoming calls instead of the default device, /dev/x25pkt.

-T time

Reread incallsfile every time seconds rather than the default of 300 seconds. If incallsfile is not specified, /etc/x25incalls will be reread.

-l logfile

Log errors and incoming call messages in logfile rather than in the default file, /usr/spool/x25/x25dlog.

-L logdepth

Set the type of information to log on incoming calls to logdepth rather than the default value 0. logdepth may be any of the following values:

0

Only log errors; do not log information on each incoming call.

1

In addition to logging errors, for each incoming call log whether the call was accepted, what subnet address was used, what calling address was used, what call user data was used, and where the call was routed.

2

In addition to the information logged by depth 1, log any parsing errors that occur when reading incallsfile. If incallsfile is not specified, /etc/x25incalls is used.

3

In addition to the information logged by depth 2, for each incoming call log the subnet addresses, calling addresses and call user data that were not used on the call.

-s pktsize

Set the maximum data packet size to use during the call to pktsize bytes rather than the link's default packet size (see x25config(1)). pktsize may be 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

incallsfile

Use incallsfile to determine how to dispose of incoming calls rather than the default file, /etc/x25incalls.

Files

/dev/x25pkt
/dev/x25inet0
/etc/x25incalls
/etc/packetnets
/usr/spool/x25/daemonlog
/usr/spool/x25/x25dlog

See Also

x25net(1)
signal(5)


Revision 1.1 (January 2002)

Copyright © 1997-2002 The Software Group Limited. All Rights Reserved.
® Netcom is a registered trademark of The Software Group Limited.