Koozali.org: home of the SME Server
		Legacy Forums => Experienced User Forum => Topic started by: Paul on May 11, 2002, 03:31:56 PM
		
			
			- 
				Hi,
 
 I am trying to add the cvspserver service to my SME 5.1.2 Server. I have added the necessary entries in /etc/xinetd.conf and /etc/hosts.allow which I think are correct:
 
 xinetd.conf:
 service cvspserver
 {
 socket_type     = stream
 wait            = no
 user            = root
 server          = /usr/bin/cvs
 server_args     = --allow-root=/home/e-smith/files/ibays/cvsroot/files pserver
 disable         = no
 env             = HOME=/home/e-smith/files/ibays/cvsroot/files
 passenv         =
 }
 
 hosts.allow:
 cvspserver: 127.0.0.1, xxx.xxx.xxx.xxx/255.255.255.0
 
 However, I cannot access the CVS server using CVS, so I tried to connect to the CVS pserver port using SSH, I cannot get access to the pserver and get the following message in the /var/log/messages log file:
 
 May 11 11:25:06 nightjar xinetd[11312]: xinetd Version 2.3.3 started with libwrap options compiled in.
 May 11 11:25:06 nightjar xinetd[11312]: Started working: 8 available services
 May 11 11:25:09 nightjar xinetd: xinetd startup succeeded
 May 11 11:25:37 nightjar xinetd[11317]: libwrap refused connection to cvspserver
 from xxx.xxx.xxx.xxx
 
 Is there any other files (perhaps a libwrap file?) apart from xinetd.conf and hosts.allow that have to be edited to allow SME to use a new service?
 
 Paul
- 
				SME has a default /etc/hosts.deny of ALL:ALL and explictly specifies everything allowed in hosts.allow in addition to the ipchains firewalling in /etc/rc.d/init.d/masq.  To allow new services you need to make custom templates for these files.