You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
3.6 KiB
144 lines
3.6 KiB
## |
|
## xinetd.conf -- xinetd(8) configuration |
|
## |
|
|
|
# The default settings |
|
defaults { |
|
instances = 60 |
|
log_type = FILE @l_prefix@/var/xinetd/xinetd.log |
|
log_on_success = HOST PID |
|
log_on_failure = HOST |
|
cps = 25 30 |
|
} |
|
|
|
# An internal xinetd service, listing active services. |
|
service services |
|
{ |
|
type = INTERNAL UNLISTED |
|
port = 9098 |
|
socket_type = stream |
|
protocol = tcp |
|
wait = no |
|
disable = yes |
|
only_from = 127.0.0.1 |
|
} |
|
|
|
# An xinetd internal service which generate characters. The xinetd |
|
# internal service which continuously generates characters until the |
|
# connection is dropped. This is the TCP version. |
|
service chargen |
|
{ |
|
type = INTERNAL |
|
id = chargen-stream |
|
socket_type = stream |
|
protocol = tcp |
|
user = root |
|
wait = no |
|
disable = yes |
|
} |
|
|
|
# An xinetd internal service which generate characters. The xinetd |
|
# internal service which continuously generates characters until the |
|
# connection is dropped. This is the UDP version. |
|
service chargen |
|
{ |
|
type = INTERNAL UNLISTED |
|
id = chargen-dgram |
|
socket_type = dgram |
|
protocol = udp |
|
user = root |
|
wait = yes |
|
port = 19 |
|
disable = yes |
|
} |
|
|
|
# An xinetd internal service which echo's characters back to clients. |
|
# This is the TCP version. |
|
service echo |
|
{ |
|
type = INTERNAL |
|
id = echo-stream |
|
socket_type = stream |
|
protocol = tcp |
|
user = root |
|
wait = no |
|
disable = yes |
|
} |
|
|
|
# An xinetd internal service which echo's characters back to clients. |
|
# This is the UDP version. |
|
service echo |
|
{ |
|
type = INTERNAL UNLISTED |
|
id = echo-dgram |
|
socket_type = dgram |
|
protocol = udp |
|
user = root |
|
wait = yes |
|
port = 7 |
|
disable = yes |
|
} |
|
|
|
# An internal xinetd service which gets the current system time then |
|
# prints it out in a format like this: "Wed Nov 13 22:30:27 EST 2002". |
|
# This is the TCP version. |
|
service daytime |
|
{ |
|
type = INTERNAL |
|
id = daytime-stream |
|
socket_type = stream |
|
protocol = tcp |
|
user = root |
|
wait = no |
|
disable = yes |
|
} |
|
|
|
# An internal xinetd service which gets the current system time then |
|
# prints it out in a format like this: "Wed Nov 13 22:30:27 EST 2002". |
|
# This is the UDP version. |
|
service daytime |
|
{ |
|
type = INTERNAL UNLISTED |
|
id = daytime-dgram |
|
socket_type = dgram |
|
protocol = udp |
|
user = root |
|
wait = yes |
|
port = 13 |
|
disable = yes |
|
} |
|
|
|
# An RFC 868 time server. This protocol provides a site-independent, |
|
# machine readable date and time. The Time service sends back to the |
|
# originating source the time in seconds since midnight on January |
|
# first 1900. This is the TCP version. |
|
service time |
|
{ |
|
type = INTERNAL |
|
id = time-stream |
|
socket_type = stream |
|
protocol = tcp |
|
user = root |
|
wait = no |
|
disable = yes |
|
} |
|
|
|
# An RFC 868 time server. This protocol provides a site-independent, |
|
# machine readable date and time. The Time service sends back to the |
|
# originating source the time in seconds since midnight on January |
|
# first 1900. This is the UDP version. |
|
service time |
|
{ |
|
type = INTERNAL UNLISTED |
|
id = time-dgram |
|
socket_type = dgram |
|
protocol = udp |
|
user = root |
|
wait = yes |
|
port = 37 |
|
disable = yes |
|
} |
|
|
|
# Include possibly existing additional service descriptions |
|
includedir @l_prefix@/etc/xinetd/xinetd.d |
|
|
|
|