Whitelist auth users

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Whitelist auth users

Juanra-2
I have made a  patch to whitelist user that receive auth response:

@@ -3337,11 +3337,7 @@ sub getline {
          mlogRe($1,"Contentonly");
       $this->{contentonly}=1;
     }
-
-    if ($Con{$cli}->{relayok}){
-       $this->{whitelisted}=1;  #amonra whitelist authentificated users
-    }
-
+

     if ($this->{whitelisted}!=1 && $whiteListedDomains && $mf=~('('.$WLDRE.')')) {
       mlogRe($1,"WhiteDomain") ;



I would like to know if this patch is correct and i like if someone can add an option to enable and disable it.
Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Whitelist auth users

Fritz Borgstedt

>I would like to know if this patch is correc

what is the purpose of the patch?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Whitelist auth users

Juanra-2
The purpouse is that conections that receive AUTH OK bypass all checks.


2007/6/9, Fritz Borgstedt <[hidden email]>:

>I would like to know if this patch is correc

what is the purpose of the patch?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Whitelist auth users

Fritz Borgstedt
ASSP Development Discussion <[hidden email]>
schreibt:
>The purpouse is that conections that receive AUTH OK bypass all
>checks.

What check is not bypassed  in the current version 1.3.1

 and (1.3.2 beta) ?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel