AuthHosts syntax

William Hooper whooper@freeshell.org
Wed Jul 9 17:25:01 2003


ben.blackmore@triumph-international.co.uk said:
> But if you had "+10.0.60.101" wouldn't it only accept a connection from
> that IP anyway, all others would be rejected? So does it need
> to have "-10.0.60.100" in there?
>
> Ben

According to the documentation, "By default, the template is empty and
connections from all hosts are accepted."  I would interpret that to mean
that unless the connect is specifically denied (or query) that it is
accepted.  That is why all the examples of only allowing one IP start with
"-:" first.  As an example "-:+10.0.60.101" specifically denies all
connections, then allows 10.0.60.101.

-- 
William Hooper