I am running oops-1.5.22 on FreeBSD 4.5. I require to controll bandwidth
based on users instead of IP address. I am using 2 proxies running on two
network interface of same machine and configured "bind_acl" options to send
different IP based on users to parent proxy,
but the parent proxy gets "192.168.55.1" (parent proxy) instead of virtual
IP's (192.168.55.2 or 192.168.55.3).

any idea why this is not working ?

Regards
Yasin

my oops.cfg
vkl-proxy# cat oops.cfg
nameserver 127.0.0.1
bind            172.18.100.10
http_port       3128
icp_port        3130
userid  root
accesslog       /usr/local/oops/logs/access.log { 3 9m} buffered
pidfile         /var/run/oops.pid
statistics      /var/run/oops_statfile
mem_max         32m
lo_mark         4m
last-modified-factor    5
dont_cache_without_last_modified
default-expire-interval 1
icp_timeout     1000
force_http11
always_check_freshness
maxresident     1m
insert_x_forwarded_for  no
insert_via              no
fetch_with_client_speed no
acl     sys_execs        username yasin
stop_cache      ?
stop_cache      cgi-bin
bind_acl      192.168.55.3 sys_execs
bind_acl      192.168.55.2  !sys_execs
parent          192.168.55.1   3128
group   paco    {
        miss            allow;
        networks        172.18/16 130.52/16 ;
        auth_mods pam;
        maxreqrate      1000;
        http {
                allow   dstdomain * ;
        }
}

group   world   {
        networks        0/0;
        http {
                deny    dstdomain * ;
        }
        icp {
                deny    dstdomain * ;
        }
}

module lang {
        default_charset koi8-r
        CharsetRecodeTable windows-1251
/usr/local/etc/oops/tables/koi-win.tab
        CharsetRecodeTable ISO-8859-5 /usr/local/etc/oops/tables/koi-iso.tab
        CharsetRecodeTable ibm866 /usr/local/etc/oops/tables/koi-alt.tab
        CharsetAgent windows-1251 AIR_Mosaic IWENG/1 MSIE WinMosaic (Windows
(Wi
nNT;
        CharsetAgent windows-1251 (Win16; (Win95; (Win98; (16-bit) Opera/3.0
        CharsetAgent ibm866 DosLynx Lynx2/OS/2
}

module err {
        template /usr/local/etc/oops/err_template.html
        lang en
}

module pam {
        realm           Vakola Firewall
        scheme          Basic
        service         oops
        template        /usr/local/etc/oops/auth_template.html
}


module oopsctl {
        # path to oopsctl unix socket
        socket_path     /var/run/oops/oopsctl
        # time to auto-refresh page (seconds)
        html_refresh    300
}




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