DRB ruby ACL problems

I have spent several hours trying to workout why drb ruby will not allow
a remote pc to connect to my server to pull objects…
Here’s where I stand with the problem:
Debian server is on running ruby 1.8.2
Windows client is on running ruby 1.8.4
I know the versions are different, but I’m worried that updating Debian
might break some packages… I’m still looking into that part… if I
could at least get it to connect I would be happy

run drbtest.rb on debian server, do the following tests,
run drbclient from debian server: connects
run drbclient from a windows machine: does not connect
run telnet to the drb port on debian server: does not connect
run telnet to the drb port, but have netcat running: connects

for some reason I can’t get access to that port from another machine
with ruby running. I have tried to create an ACL list, but it doesn’t
seem to help. If anyone can point me in the direction of documentation,
or a code snippet that might fix the problem, it would be greatly

Server code snippet:

require ‘drb’
require ‘drb/acl’

class TestServer
def doit
“Hello, Distributed World”

acl = ACL.new(%w[deny all
allow 192.168.0.*
allow localhost
] )


aServerObject = TestServer.new
DRb.start_service(‘druby://cindy:88585’, aServerObject)
DRb.thread.join # Don’t exit just yet!

Client code snippet:

require ‘drb’
obj = DRbObject.new(nil, ‘druby://cindy:9999’)

Now use obj

p obj.doit

Brandon Coleman wrote:

run drbtest.rb on debian server, do the following tests,

What error message are you getting when you try to connect to the
server? I remember I had a similar problem a while back. It turned out
to have something to do with not having the correct config in my
/etc/hosts file, I think. In other words, it wasn’t a drb problem, but
something with how the network addresses were getting resolved.

Sorry I can’t remember more. I think I remember someone having a
similar issue a few months ago on this list, so you might want to search
the archives.

Jamey C.

Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and/or privileged information. If you are not the intended
recipient(s), you are hereby notified that any dissemination,
unauthorized review, use, disclosure or distribution of this email and
any materials contained in any attachments is prohibited. If you receive
this message in error, or are not the intended recipient(s), please
immediately notify the sender by email and destroy all copies of the
original message, including attachments.