[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get cvs pserver working with xinetd?
From: |
manuel 'fmf' ferrero |
Subject: |
Re: how to get cvs pserver working with xinetd? |
Date: |
Fri, 27 May 2005 09:59:10 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 |
王宗涛, on 27/05/2005 4.44 wrote:
> but when I issue command # netstat -lnp | grep cvs
> the system echo nothing ,so i think the service cvspserver does not working
AFAIK services in (x)inetd aren't in listening until someone didn't try
to connect to them.
But i'm not so sure about it.
I have cvs pserver in inetd:
Consulente1:/etc/apt# grep cvs /etc/inetd.conf
# cvs pserver
cvspserver stream tcp nowait root /usr/bin/cvs cvs
--allow-root=/usr/local/cvs pserver
And it isn't listed in netstat:
Consulente1:/etc/apt# netstat -lnp|grep cvs
Consulente1:/etc/apt#
But it works for me when i try to connect to it:
Consulente1:/etc/apt# grep pserver /var/log/syslog.0
May 26 08:44:55 Consulente1 tcpspy[295]: connect: user root, local
10.1.6.60:cvspserver, remote 10.1.53.67:1207
Ah, i have a firewall on the server and i had to open pserver port:
Consulente1:/etc/apt# grep cvs /etc/shorewall/rules
# cvs
ACCEPT loc $FW tcp cvspserver
HTH HAND
--
manuel 'fmf' ferrero | http://www.servidellagleba.it/~manuel/blog/
"- Answer to question. Did you see a sign out in front of my house that
said, Dead nigger storage?
- Naw man, I didn't.
- You know why you didn't see that sign?
- Why?
- 'Cause storin' dead niggers ain't my fuckin' business!"
-- Jimmie Dimmick & Jules Winnfield