unable to connect
Blair Brown
brownlb at epb.net
Thu Jun 2 18:44:21 EDT 2005
I just installed rwhois and it starts fine:
mgmt# /usr/local/lib/rwhois/sbin/rwhoisd -c
/usr/local/lib/rwhois/rwhoisd.conf
debug: reading directive config file (rwhoisd.dir)
debug: reading extended directive config file (rwhoisd.x.dir)
debug: reading auth-area config file (rwhoisd.auth_area)
debug: reading schema for auth-area '66.18.32.0/24'
debug: loading attributes for class 'network' in auth-area
'66.18.32.0/24'
debug: loading attributes for class 'EPB-Internet' in auth-area
'66.18.32.0/24'
debug: reading schema for auth-area 'fd00:1234::/32'
debug: loading attributes for class 'network' in auth-area
'fd00:1234::/32'
--------------------------------
root-dir: /usr/local/lib/rwhois
auth-area-file: rwhoisd.auth_area
directive-file: rwhoisd.dir
x_directive-file: rwhoisd.x.dir
register-spool: register_spool
security-allow: rwhoisd.allow
security-deny: rwhoisd.deny
bin-path: bin
local-host: rwhois.epbinternet.net
local-port: 4321
userid: rwhois
max-hits-ceiling: 60
max-hits-default: 20
chrooted: YES
server-type: DAEMON
pid-file: rwhoisd.pid
server-contact: my email
verbosity-level: 7
use_syslog: NO
default-log-file: rwhoisd.log
--------------------------------
However, when I try to connect, it works okay if I telnet to
localhost:
mgmt# telnet localhost 4321
Trying ::1...
Connected to localhost.epbinternet.net.
Escape character is '^]'.
%rwhois V-1.5:003eff:00 mgmt.epbinternet.net (by Network Solutions,
Inc. V-1.5.9.3)
^C
Connection closed by foreign host.
But if I try to use anything else, such as the IP or fqdn, I get:
mgmt# telnet rwhois.epbinternet.net 4321
Trying 66.18.32.55...
telnet: connect to address 66.18.32.55: Connection refused
telnet: Unable to connect to remote host
I think I've got it pretty much open to anything with the allow/deny
files:
mgmt# cat rwhoisd.allow
xfer: ALL
x-date: 198.41.0.241
rwhoisd:ALL
mgmt# cat rwhoisd.deny
x-date: ALL
Does anyone know why it won't connect to anything but localhost?
Thanks!
Blair
More information about the Rwhois
mailing list