https://bugs.contribs.org/show_bug.cgi?id=10430

--- Comment #1 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to Mark Leman from comment #0)
> I keep accidentally blocking myself when SSHing in from my internal network
> (yes I have fat fingers sometimes ;-)

you might also get locked out by AutoBlock .... which has no whitelist feature

> 
> My PCs IP address comes from the SME DHCP server and I don't really want to
> fix it, so I can not add it to the 'Allowed Host' list.


by using the dhcp of sme you can fix this : use the host panel and configure
the SME to use the same IP address for your laptop every time.

> 
> However I note that Denyhosts supports ranges in the Authorized IP formats:
> 
> (quoted from http://denyhosts.sourceforge.net/faq.html#3_7)
> 
> # This line prevents all IP address in the 1.1.1 network from being blocked
> # 1.1.1.* 
> # 
> # This line prevents IP addresses in the range 1.1.1.6 to 1.1.1.23 from
> being blocked
> # 1.1.1.[6-23]

I am aware of this flexibility for an advanced customization. The interface is
intended for use in a safe and easy way.

> 
> Unfortunately the web panel does not allow these to be entered in the
> "Authorized IP" field.
> 
> I manually added a DB entry of 192.168.1.[1-254] and it works, the entry is
> even listed in the Allowed hosts list in the web panel.
> 
> So it looks like if the ode that validates the "Authorized IP" field was
> modified this feature could be added.
> 
> Thanks for a useful contrib and I hope this suggestion will be considered.


this has been done so by design to avoid people to enter such things as
0.0.0.0/0.0.0.0 (worst case, but few variants could harm as much with a typo in
the netmask calculation, or in this case trying to write a regex without
understanding what is a regex), which will defeat the purpose of denyhost.
the bug I see here would be that you were able to have it work manually
entering the value. The template should be fixed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to