[spambayes-bugs] [ spambayes-Patches-790615 ] Allowed remote connections management

SourceForge.net noreply at sourceforge.net
Mon Aug 18 09:34:07 EDT 2003


Patches item #790615, was opened at 2003-08-18 17:32
Message generated for change (Comment added) made by gfx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=790615&group_id=61702

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Romain Guy (gfx)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allowed remote connections management

Initial Comment:
Right now, SpamBayes let the user choose between
allowing either any one to log into the web interface,
either localhost only.

This patch let the user managed the remote connections
in a better way, with a single field. It appears in the
Proxy options, in the configuration page and accepts
the following values :

* - Allows any remote connection to log in
localhost - Only localhost is allowed
192.168.0.4 - A specific IP is allowed
192.168.0.4,192.168.0.5 - Two specific IPs are allowed
192.168.0.* - A range of IPs is allowed
192.*.1.* - Another kind of range

Note that * (the default value) is similar to *.*.*.*

The regex used check if the IPs are valid. Thus,
257.1.2.3 won't be allowed. The attached zip file
contains the diff against current CVS version as well
as the .py files if you want to overwrite your files
directly.

I only have a two computers LAN here and it worked
well. Yet, I'll be glad if you helped testing this
patch :-)

----------------------------------------------------------------------

>Comment By: Romain Guy (gfx)
Date: 2003-08-18 17:34

Message:
Logged In: YES 
user_id=6845

One more thing : you can perfectly mix specific IPs with
ranges like this :
192.168.0.*,253.94.17.2,80.53.*.*

Maybe could we consider adding subranges (for instance :
192.168.0.[4-10])

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=790615&group_id=61702



More information about the Spambayes-bugs mailing list