Subject: Re: Trouble checking out CVS src
To: Frederick Bruckman <>
From: Ian P.Thomas <>
List: current-users
Date: 02/20/2002 19:15:19
On Wednesday, February 20, 2002, at 12:15 PM, Frederick Bruckman wrote:

> On Wed, 20 Feb 2002, Ian P.Thomas wrote:
>> ~ solo > echo $CVSROOT
>> 	I use tcsh so it's setenv for me, and I put it in my .login file.
>> Here is the whole sequence of events.
>> /usr solo > sudo cvs login
>> (Logging in to
>> CVS password: ( I type in anoncvs here)
>> /usr solo > sudo cvs checkout -P src
>> cvs checkout: authorization failed: server rejected
>> access to /cvsroot for user anoncvs
>> cvs checkout: authorization failed: server rejected
>> access
>> cvs checkout: used empty password; try "cvs login" with a real password
> I think the "sudo" thing is confusing cvs, so that it doesn't know where
> to find your ~/.cvslogin file.
>> 	This is my second attempt after trying the first time.  This time
>> I'm su'd to root.
> You know, you don't need to be root to checkout sources. If you want
> your tree to be owned by root, that should work, though.
>> solo# echo $CVSROOT
>> solo# cvs login
>> (Logging in to
>> CVS password:
>> solo# cvs checkout -P src
>> 	I don't get my prompt back and no traffic is passed.  It just sits
>> there.  I do have a firewall setup using ipfilter.  Could this be
>> causing a problem?  Right now my ruleset denies everything unless I
>> initiate the connection.  It works fine for every other kind of
>> connection: sftp, ssh, scp, etc.
> That works for me too. Do you log denied packets?
	I do indeed, and here is the culprit.

Feb 20 11:15:58 solo ipmon[111]: 11:15:57.244810             ppp0 @0:1 b 
nbanonc,11569 ->,29540 PR tcp len 20 
10240 -

Feb 20 11:16:05 solo ipmon[111]: 11:16:04.417953             ppp0 @0:1 b,31008 ->,29810 PR tcp 
20 10240 -AR IN

         My first rule,

# Deny everything by default
block in log quick on ppp0

         is where the packets are getting blocked.  This shouldn't matter 
because the next rule is...

# Allow any outgoing connections that we initiate
pass out quick on ppp0 proto tcp from any to any keep state

         and I'm the one initiating the connection the anoncvs server.  
I'm going to try to bring my system up sans firewall and see if I can 
authenticate with anoncvs then.  More to follow.


Of course it runs NetBSD

Do You Yahoo!?
Get your free address at