This class implements directed routing, which means that the destination address is a preset address for each session.
Example 5.31. DirectedRouter example |
---|
The following service uses a DirectedRouter that
redirects every connection to the Service(name="demo_service", proxy_class=HttpProxy, router=DirectedRouter(dest_addr=SockAddrUnix('/var/sample.socket'), overrideable=FALSE, forge_addr=FALSE)) The following service uses a DirectedRouter that
redirects every connection to the Service(name="demo_service", proxy_class=HttpProxy, router=DirectedRouter(dest_addr=SockAddrInet('192.168.2.24', 8080), overrideable=FALSE, forge_addr=FALSE)) |
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu