Problems with security files, not connecting
Robert Lubbers
robert.lubbers at networktelephone.net
Fri Oct 21 14:53:01 EDT 2005
# netstat -na | grep LISTEN
tcp6 0 0 *.4321 *.* LISTEN
tcp4 0 0 192.168.55.127.22 *.* LISTEN
tcp4 0 0 192.168.55.127.25 *.* LISTEN
tcp4 0 0 192.168.55.129.25 *.* LISTEN
tcp4 0 0 *.80 *.* LISTEN
tcp4 0 0 192.168.55.129.80 *.* LISTEN
tcp4 0 0 127.0.0.1.25 *.* LISTEN
# telnet 127.0.0.1
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
yet
# telnet ::1
Connected to ::1.
Escape character is '^]'.
%rwhois V-1.5:003fff:00 rwhois.mydosmain.com (by Network Solutions, Inc. V-1.5.9.5)
-quit
%ok
Connection closed by foreign host.
-----Original Message-----
From: Ron Mansolino [mailto:rmsolino at netaxs.com]
Sent: Friday, October 21, 2005 1:47 PM
To: Robert Lubbers
Cc: rwhois at rwhois.net
Subject: Re: Problems with security files, not connecting
(ok, it's been a while since I compiled it)
Is tcpwrapper support an option?
Do you have 127.0.0.1 in your hosts.allow as "ALL : 127.0.0.1 : allow"
Does netstat say anything is listening on port 4321?
(what happens when you "telnet 127.0.0.1 4321"
did you make a user called rwhois, and does it have read/write permission on the directory and data files?
> Hello to everyone on this list.
>
> I have compiled RWhoisD on FreeBSD 5.3, and am having a lot of problems getting connecting to the daemon. I am assuming it is some problem with the hosts.allow and hosts.deny files.
>
> Looking at this I can see that it would be a very good thing to be able to deny access to the RwhoisD server, because it looks like you can add and delete records remotely. However, I can't even attach to the server from the local host.
>
> Is there some interaction with DNS that needs to be set up in order to allow for the hosts.allow and hosts.deny files to work properly? Also, I don't have tcpwrapper installed on this machine. Is that necessary?
>
> Robert Lubbers
>
>
> Here are my files:
>
> RWHOISD.CONF
> ***************************************************
> root-dir: /data0/local/rwhois
> bin-path: bin
> auth-area-file: /data0/local/rwhois/rwhoisd.auth_area
> directive-file: /data0/local/rwhois/rwhoisd.dir
> x-directive-file: rwhoisd.x.dir
> max-hits-ceiling: 60
> register-spool:register_spool
> punt-file: rwhoisd.root
> local-host: tweek.mylocation.mydomain.net
> local-port: 4321
> security-allow: /data0/local/rwhois/rwhoisd.allow
> security-deny: /data0/local/rwhois/rwhoisd.deny
> deadman-time: 100
> server-type: standalone
> userid: rwhois
> pid-file: rwhoisd.pid
> server-contact: robert.lubbers at mydomain.net
> use-syslog: NO
> default-log-file: rwhoisd.log
> warn-log-file: rwhois.info.log
> notice-log-file: rwhois.info.log
> info-log-file: rwhois.info.log
> debug-log-file: rwhois.info.log
> verbosity: 7 # info
>
> RWHOISD.ALLOW
> ********************************************************
> xfer: ALL
> rwhoisd:ALL
>
> RWHOISD.DENY
> ********************************************************
> x-date: ALL
--
Ron Mansolino RMsolino at netaxs.com http://www.netaxs.com/~rmsolino/
More information about the Rwhois
mailing list