[zorp-hu] http parent proxy + transparent proxy?

narancs zorp-hu@lists.balabit.hu
Wed, 19 May 2004 12:24:38 +0200


Sziasztok!

zorp gpl 2.0.8.

k=E9rd=E9s: lehet-e olyat, hogy a zorp elkapja transparent proxyj=E1val =E9=
s=20
tov=E1bb=EDtja egy m=E1sik localhoston l=E9v=F5 proxynak?

May 19 12:13:45 zorp intra[15992]: (noname/nosession): Error parsing=20
policy file; filename=3D'/etc/
zorp/policy.py'
May 19 12:13:45 zorp intra[15992]: (noname/nosession): Error booting &=20
parsing policy;
May 19 12:13:45  intra[16252]: (Log thread):   File=20
"/etc/zorp/policy.py", line 297
May 19 12:13:45  intra[16252]: (Log thread):     self.parent_proxy =3D=20
"127.0.0.1"
May 19 12:13:45  intra[16252]: (Log thread):     ^
May 19 12:13:45  intra[16252]: (Log thread): SyntaxError: invalid syntax
May 19 12:13:48  intra[15992]: (noname/nosession): Error loading initial=20
policy, exiting;

konfig:

class PPIntraHttp(HttpProxyURIFilter):
        matcher=3DRegexpFileMatcher('/etc/zorp/http.deny',=20
'/etc/zorp/http.ignore')

        def config(self):
                HttpProxyURIFilter.config(self)
                self.transparent_mode =3D TRUE
                 self.parent_proxy =3D "127.0.0.1"
                 self.parent_proxy_port =3D 8080