Name

udpserver — format of udpserver component configuration

DESCRIPTION

General syntax rules of Kernun Firewall configuration files are described in configuration(7). This man page describes types, sections and items specific for the udpserver component configuration.

Repeatable sections/items are marked by the '*' before section/item name.

TYPES

Configuration directives have attributes of several value-types. For the basic types description, see configuration(7).

Enumeration is a list of words (names) representing integer values. Some enumerations accept both names and direct integer values; in this case, enumeration description contains values for every name (in parenthesis next to name). For other enumerations, using of names is obligatory.

The following enumerations are used in udpserver configuration directives:

udp-session-type (name-usage obligatory)

Style of session establishment.

one-way

Server never replies.

normal

Server replies from the IP address and port where the first datagram from the client has been sent to.

any-port

Server replies from the IP address where the first datagram from the client has been sent to, and from any port. The source port of the reply defines the server-side port used for all other datagrams of the same session.

any-sock

Server replies from any IP address and any port. The source IP address and port of the reply defines the server-side socket used for all other datagrams of the same session.

broadcast

Client sends broadcast messages, every recipient replies from its own address and port. This session type must not be mixed with normal unicast traffic.

ITEMS AND SECTIONS

Configuration of udpserver library component consists of following prototypes:


  udpserver { ... }
    

Description:

udpserver {


  max-sessions ... ;
}

        

General UDP server parameters.

Constraints:

Maximum number of sessions must be specified.

Items & subsections:

max-sessions number;

Maximum number of simultaneously active sessions.

number (type: uint16)

[End of section udpserver description.]

SEE ALSO

configuration(7)