Chapter 4. SYSLOG

Table of Contents

Trace

Errors, debug messages, traces, etc, are logged through syslog with aftr as the program name.

The default facility is LOG_LOCAL5 (can be changed at compile time by setting AFTRFACILITY), the default openlog() option is LOG_NDELAY (can be changed at compile time by setting AFTRLOGOPTION, for instance to add LOG_PID). Levels are:

Trace

Trace messages are:

  • tunnel add|del client_IPv6

  • seconds bucket client_IPv6 natted_IPv4 tcp|udp [#port]+

If TRACE_NAT was defined at compile time (default is undefined):

if NOPRIVACY is kept undefined:

  • seconds nat add|del client_IPv6 tcp|udp natted_IPv4 port

if NOPRIVACY is defined:

  • seconds nat add|del client_IPv6 tcp|udp client_IPv4 client_port natted_IPv4 natted_port destination_IPv4 destination_port