R
Rene Paulokat
hi,
i run into trouble trying to restrict connection-attempts to
XMLRPC::Server using the method set_valid_ip
without using this restriction everything runs smoothe.
ips = ["127.0.0.1", "192.168.30.42"]
@@server.set_valid_ip(ips)
i start the server:
log says:
[Tue Aug 16 02:38:20 2005] HttpServer 192.168.30.42:8080 start
i connect with client:
log says:
HttpServer 192.168.30.42:8080 client:55058 insane<127.0.0.1> connect
but client gets an:
/usr/local/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc': HTTP-Error: 403 Forbidden (RuntimeError)
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from client.rb:7
although
@@server.get_valid_ip
--> [["127.0.0.1", "192.168.30.42"]]
so, if anybody got some hint...
would be great.
greetings
rene
i run into trouble trying to restrict connection-attempts to
XMLRPC::Server using the method set_valid_ip
without using this restriction everything runs smoothe.
ips = ["127.0.0.1", "192.168.30.42"]
@@server.set_valid_ip(ips)
i start the server:
log says:
[Tue Aug 16 02:38:20 2005] HttpServer 192.168.30.42:8080 start
i connect with client:
log says:
HttpServer 192.168.30.42:8080 client:55058 insane<127.0.0.1> connect
but client gets an:
/usr/local/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc': HTTP-Error: 403 Forbidden (RuntimeError)
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from client.rb:7
although
@@server.get_valid_ip
--> [["127.0.0.1", "192.168.30.42"]]
so, if anybody got some hint...
would be great.
greetings
rene