Ezek együtt nem akarnak működni.
Ez a konfig:
class HttpS_C(PsslProxy):
class EHttp_C(HttpProxy):
def config(self):
HttpProxy.config(self)
self.transparent_mode = 1
self.request_headers["X-Host"] =
(HTTP_HDR_INSERT, self.session.client_address.ip_s)
def config(self):
self.client_need_ssl = 1
self.server_need_ssl = 0
self.client_cert = "/etc/zorp/wancrt.pem"
self.client_key = "/etc/zorp/wankey.pem"
self.client_verify_type = 1
self.transparent_mode = 1
self.stack_proxy = self.EHttp_C
Service("HttpS_S", HttpS_C, InbandRouter())
#Service("HttpS_S", HttpS_C, DirectedRouter(SockAddrInet("192.168.1.81",
80)))
Ez lesz belőle (az ssl rendben van), loglevel 10:
(.../HttpS_S:1/pssl): calling __startup__() event;
(.../HttpS_S:1/pssl): calling startUp() event;
(Log thread): Traceback (most recent call last):
(Log thread): File "/usr/share/zorp/pylib/Zorp/Proxy.py", line 273, in
connectServer
(Log thread): self.session.chainer.chainParent(self.session)
(Log thread): File "/usr/share/zorp/pylib/Zorp/Chainer.py", line 180,
in chainParent
(Log thread): remote = session.server_address.clone(0)
(Log thread): remote = session.server_address.clone(0)
(Log thread): AttributeError: 'None' object has no attribute 'clone'
Mit rontok el? Direktedrouter esetén működik. Segíthet, hogy ha csinálok
még egy http proxyt, amelyik inbandrouterrel odatalál a hostokhoz, és
ahhoz a proxyhoz irányítom direktedrouterrel az ssl nélküli forgalmat?
Ez is 2.1.7 gpl, debian sid.