[zorp-hu] https redirect

Gabor Halasz zorp-hu@lists.balabit.hu
Fri, 21 Feb 2003 11:09:00 +0100


Czak=F3 Kriszti=E1n wrote:
> Hello,
>=20
> L=E9tezik valami tr=FCkk arra, hogy Zorp 1.4 alatt SSL proxyba =E1gyazo=
tt
> http-b=F5l m=F3dos=EDtsam a c=E9lszervert?

class HttpS_C(PsslProxy):
     class EHttp_C(HttpProxy):
         def config(self):
             HttpProxy.config(self)
             self.transparent_mode =3D 1
     def config(self):
                 self.client_need_ssl =3D 1
                 self.server_need_ssl =3D 0
                 self.client_cert =3D "/etc/zorp/zorp.cert"
                 self.client_key =3D "/etc/zorp/zorp.key"
                 self.copy_to_server =3D 1
                 self.copy_to_client =3D 1

Service("HttpS_S", HttpS_C, DirectedRouter(SockAddrInet("192.168.1.31", 8=
080)))
Listener(SockAddrInet("xxx.xxx.xxx.xxx", 443), "HttpS_S")

EGy h=E1tr=E1nya van, az fw =E9s a server k=F6z=F6tt nem ssl, de h=E1zon =
bel=FCl csak=20
elverem, aki sniffelni pr=F3b=E1lja a dmz-t.