15.11. Editing Default Options

There are several global options that apply to all services handled by xinetd, for logging and IP access control. To edit these options, the steps to follow are:

1.
Click the Edit Defaults button at the bottom of the module's main page, which will take you to the default options form.

2.
To restrict the addresses from which clients can connect to any service, fill in the Allow access from and Deny access from fields. They accept the same input as the fields of the same name on the service form, as explained in Section 15.9 “Enabling or Editing an Extended Internet Service”.

Any IP access controls configured for an individual service will override the default settings that you enter on this form.

3.
To have xinetd log to syslog, set the Xinetd logging mode field to Log to syslog facility and choose the facility and priority that it should use. Chapter 13 explains in detail how to configure the log file that messages from xinetd will be written to, based on the selected priority and facility. Normally, this is the default and best option.

If you want xinetd to log directly to a file, select the Log to file option and enter the log file path into the field next to it. To have a warning message logged when the file becomes too big, enter a file size in bytes into the Soft file limit field. To set a file size limit that will never be exceeded, fill in the Hard file limit field. If the soft limit is set but the hard limit is not, it will default to 1 percent more than the soft limit. If neither is set, the log file will grow forever—which could cause all your disk space to be consumed by an attacker making millions of connections to xinetd.

To turn off logging altogether, set the Xinetd logging mode field to Disable logging.

4.
To control which events are logged, choose the appropriate options from the On successful connection log and On failed connection log fields.

5.
When done, click the Save button. As long as there are no errors in your input, you will be returned to the module's main page.

6.
Click the Apply Changes button to make the new defaults active.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.138.134