Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Johan Van den Brande on September 13, 2001, 01:26:26 AM
-
Hi,
I installed cvs on my e-smith machine. I wish to access the
e-smith gateway from the outside to access my CVS repository.
I have created next ipchain entries, and they seem to work
/sbin/ipchains --append input -p tcp -s 0/0 -d $OUTERNET 2401 -j ACCEPT
/sbin/ipchains --append output ! -y -p tcp -d 0/0 -s $OUTERNET 2401 -j ACCEPT
Now, I've updated xinetd.conf ( also via the templates ) and the cvs part is:
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/e-smith/files/ibays/cvsroot/files pserver
disable = no
}
When I telnet to the gateway
>telnet 10.0.0.1 2401
Trying 10.0.0.1...
Connected to 10.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
I do not get the CVS response ( like in the sourceforge example )
>telnet cvs.sourceforge.net 2401
Trying 216.136.171.202...
Connected to cvs.sourceforge.net.
Escape character is '^]'.
cvs [pserver aborted]: bad auth protocol start:
Connection closed by foreign host.
So, I do not get the remote pserver access working ...
Can somebody please help?
thanks!!
Johan
-
Hi Johan,
You probably also have to change the (templates for) the tcpwrapper-file /etc/hosts.allow
Otherwise access is still blocked at that level.
Hope this helps....
Bart