Buenos Priamikov,

Friday, July 27, 2001, 11:14:18 AM, you wrote:

PA> ������ ����� �����!

PA> ������� ��������� �� ��������� �������:

PA> ��� ������ �������� ��������� �������:
PA> 1. ������ �� �������� mysql ��������������? ����������� � ����

    ����, ������, ���� �� ���������� �-)
PA> (� ��������������� �� ����� ��� ��). ������ ����.

PA> 2. ����� ������ �����, ������������ acl username? ������, ����������


    ����� ���������� ��� ������ � �ӣ: mm dach vicont
    ��, ����, ��� ����� (acl username) �� �������� ��� ����������
    ����������� mysql. �� ����, ���� auth_mysql ���������� �����,
    � � acl ��� ��� -- � ���� ���� �����.
    
PA> ������ ����� ������������� ��� � ��������? ������� �� ����� �� �������
PA> ���� � ��� ����� �������� ������, �� ����� �� ����� �����? ��� �
PA> ���������� passwd_file � ������ ����.

    � ���� ����� ���� ���������, ��������, networks_acl �ң�
    ��-���������, ����..

PA> ���������� ����� select.sql:
PA> select http.usr,http.passwd from http

PA> ��������� ������� ����� ����: ������ �������������, ������� ������ �
PA> �������, �� ���� � �������� �������� � MySQL.

    ������ �������, � ������ �����?

PA> acl     ADMINS          src_ip          127.0.0.1
PA> acl     PURGE           method          PURGE
PA> acl     CONNECT         method          CONNECT
PA> acl     SSLPORT         port            443

PA> acl     GOOD_USERS      username        
include:/usr/home/apriam/oops/good_users.txt
PA> acl_deny PURGE !ADMINS
PA> acl_deny CONNECT !SSLPORT
PA> acl_deny !GOOD_USERS

PA> group   UIC {
PA>     networks    193.233.109.0/24 213.59.89.0/24;
PA>     badports    [0:20],[22:79],110,138,139,513,[27300:27900],[6000:6010] ;
PA>     miss                allow;
PA>     redir_mods          redir;
PA>     auth_mods           passwd_mysql;
PA>     http {
PA>         allow   dstdomain * ;
PA>     }
PA> }
PA> group   world   {
PA>         networks        0/0;
PA>         badports        [0:79],110,138,139,513,[6000:6010];
PA>         http {
PA>                 deny    dstdomain * ;
PA>         }
PA>         icp {
PA>                 deny    dstdomain * ;
PA>         }
PA> }
PA> module passwd_mysql {
PA>         scheme          Basic
PA>         realm           HTTP proxy auth
PA>         host            localhost
PA>         user            root
PA>         password
PA>         database        internet
PA>         select          /usr/home/apriam/oops/select.sql
PA>         template        /usr/home/apriam/oops/auth_template.html
PA> }




-- 
Mike Marackaew
[EMAIL PROTECTED]
http://www.penza.net.ru/~mm/

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом