[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] GNUnet 0.4.2 released
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] GNUnet 0.4.2 released |
Date: |
Wed, 19 Jun 2002 14:39:10 -0500 |
On Wednesday 19 June 2002 10:26 am, you wrote:
> Im running gnunetd locally, and using gnunet-insert and gnunet-search from
> the same machine
>
> My gnunet.conf has the following
>
> BLACKLIST = 192.168.0.0/16;10.0.0.0/255.0.0.0;
> TRUSTED = 127.0.0.0/8;
>
> "Error obtaining reply from gnunetd!" in the client terminal
> and
> "Rejected unauthorized connection from 127.0.0.1." in the server terminal
>
> If i dont comment out the TRUSTED line gnunet.conf then i can insert and
> search no problem.
>
> It seems backwards to me, if localhost is considered to be trusted then
> shouldnt it accept connections from localhost and reject others.
Yes, that's the idea. In fact, if you ommit the TRUSTED line, gnunetd uses the
default (see configuration.c):
if (ch == NULL)
ch = "127.0.0.1/8;"; /* by default, trust localhost only */
Which makes this even more odd. Not to mention that I have the line that you
quote in my config file and it just works nicely. It would be great if
somebody who can reproduce this problem could investigate. All the related
code is in util/ipcheck.c, configuration.c and a tiny little call in
server/tcpserver.c.
Christian