cvs with xinetd on Suse 8.2
Hi everyone, I hope someone can help me with this problem.. I'm setting up cvs pserver (a customer requested it so no I cannot use subversion ;-)) on a suse 8.2 server with xinetd and it works, so thats the good news, the bad news: I want it to work with tcpd so I can make the setup more secure but when I try that I cannot login to the cvs server, and I get this in my /var/log/messages Jun 23 10:28:07 servername tcpd[30218]: connect from 1.2.3.4 (1.2.3.4) Jun 23 10:28:38 servername last message repeated 31711 times This is my working /etc/xinetd.d/cvs without tcpd: service cvspserver { socket_type = stream protocol = tcp wait = no user = cvs group = cvs server = /usr/bin/cvs server_args = -f --allow-root=/usr/local/cvsroot pserver } This is the "problem" /etc/xinetd.d/cvs { socket_type = stream protocol = tcp wait = no user = cvs group = cvs server = /usr/sbin/tcpd server_args = /usr/bin/cvs -f --allow-root=/usr/local/cvsroot pserver } regards Chantal
On Monday 27 June 2005 17:04, Chantal Rosmuller wrote: Try with this:
This is the "problem" /etc/xinetd.d/cvs { socket_type = stream protocol = tcp wait = no user = cvs group = cvs flags = NAMEINARGS server = /usr/sbin/tcpd server_args = /usr/bin/cvs -f --allow-root=/usr/local/cvsroot pserver }
Thank you Silviu I used ip-tables instead of xinetd with tcp but you are right, without this flag it won't work Regards Silviu Marin-Caea wrote:
On Monday 27 June 2005 17:04, Chantal Rosmuller wrote:
Try with this:
This is the "problem" /etc/xinetd.d/cvs { socket_type = stream protocol = tcp wait = no user = cvs group = cvs
flags = NAMEINARGS
server = /usr/sbin/tcpd server_args = /usr/bin/cvs -f --allow-root=/usr/local/cvsroot pserver }
-- Met vriendelijke groeten, Chantal Rosmuller Systeembeheerder Site4u support@site4u.nl
participants (2)
-
Chantal Rosmuller
-
Silviu Marin-Caea