[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] inetd
ive now shut down inetd and am running 3 xinetd servers 1 for telnet and two
seperate ftp serveras incase the first fails.
My hosts.(allow,deny) files are both blank)
My config files are as follows
this approach seems to work although ive not had a class in to test it yet
but could do with a way to test if the service is ruuning and if not then
restart it from CRON.
Cheers Kevin
IT Technician Minsthorpe Community College.
minsweb:/etc # more xinetd.conf
defaults
{
log_type = FILE /var/log/telnet
log_on_success = HOST PID
log_on_failure = HOST
}
service telnet
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.telnetd
bind = 192.168.2.249
}
minsweb:/etc # more xinetdftp.conf
defaults
{
log_type = FILE /var/log/ftp
log_on_success = HOST PID
log_on_failure = HOST
}
service ftp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/proftpd
bind = 192.168.2.252
}
minsweb:/etc # more xinetdftp2.conf
defaults
{
log_type = FILE /var/log/ftp
log_on_success = HOST PID
log_on_failure = HOST
}
service ftp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/proftpd
bind = 192.168.2.253
}
inetd.conf file.
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# echo stream tcp nowait root internal
# echo dgram udp wait root internal
# discard stream tcp nowait root internal
# discard dgram udp wait root internal
# daytime stream tcp nowait root internal
# daytime dgram udp wait root internal
# chargen stream tcp nowait root internal
# chargen dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
#
# These are standard services.
#
#ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
# ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
#
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.