[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: access control problem

Michael Dolan mtdolan@twinight.org
Tue, 4 Nov 2003 07:44:59 -0800 (PST)


> anyway, let me know how it goes and what you see.  this really should be
> working with the access list you have.

Yeah, that is what I thought too ;)

I've added the debug lines, made clean, made and tested...

./conserver -V

cons-server:/local/tools/conserver% ./sbin/conserver -V
conserver: conserver.com version 8.0.5
conserver: default access type `r'
conserver: default escape sequence `^Ec'
conserver: default configuration in `/local/tools/conserver/etc/conserver.cf'
conserver: default password in `/local/tools/conserver/etc/conserver.passwd'
conserver: default logfile is `/var/log/conserver'
conserver: default pidfile is `/var/run/conserver.pid'
conserver: default limit is 16 members per group
conserver: default primary port referenced as `782'
conserver: default secondary base port referenced as `0'
conserver: options: openssl
conserver: openssl version: OpenSSL 0.9.7c 30 Sep 2003
conserver: built with `./configure --prefix=/local/tools/conserver --with-regex --with-port=782 --with-openssl=/export/software/conserver/openssl --with-master=console --with-trustrevdns'

And the results performing the same test as before:

conserver started as "conserver -dvD"

[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:147] AccType(): ip=172.16.72.207
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:152] AccType(): who=127.0.0.1, trust=a
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [util.c:324] AllocString(): 0x136620 created string #25
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:121] AddrCmp(): host=95b348cf(95b348cf/ffffffff) acl=7f000001(7f000001/ffffffff)
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:152] AccType(): who=mydomain.com, trust=a
[Tue Nov  4 09:38:10 2003] conserver (29275): ERROR: AccType(): gethostbyname(mydomain.com): host lookup error
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:152] AccType(): who=newdomain.com, trust=a
[Tue Nov  4 09:38:10 2003] conserver (29275): ERROR: AccType(): gethostbyname(newdomain.com): host lookup error
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:152] AccType(): who=other.newdomain.com, trust=a
[Tue Nov  4 09:38:10 2003] conserver (29275): ERROR: AccType(): gethostbyname(other.newdomain.com): host lookup error
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:211] AccType(): WE TRUST REVERSE DNS
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:220] AccType(): TRD w=127.0.0.1, t=a
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:220] AccType(): TRD w=mydomain.com, t=a
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:220] AccType(): TRD w=newdomain.com, t=a
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [access.c:220] AccType(): TRD w=other.newdomain.com, t=a
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [util.c:324] AllocString(): 0x136640 created string #26
[Tue Nov  4 09:38:10 2003] conserver (29275): DEBUG: [util.c:298] DestroyString(): 0x129798 string destroyed (count==25)