Package com.biglybt.core.proxy
Interface AEProxyAddressMapper
- All Known Implementing Classes:
AEProxyAddressMapperImpl
public interface AEProxyAddressMapper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionapplyPortMapping
(InetAddress address, int port) externalise
(String address) externalise
(URL url) getLocalAddress
(InetSocketAddress remote) internalise
(String address) SOCKS 5 is limited to 255 char DNS names.internalise
(URL url) registerPortMapping
(int proxy_port, int local_port, String local_ip, int remote_port, String remote_ip, Map<String, Object> properties) registerPortMapping
(int proxy_port, String remote_ip) registerPortMapping
(int proxy_port, String remote_ip, Map<String, Object> properties)
-
Field Details
-
MAP_PROPERTY_DISABLE_AZ_MESSAGING
- See Also:
-
MAP_PROPERTY_PROTOCOL_QUALIFIER
- See Also:
-
MAP_PROPERTY_CONNECTION_INCOMING
- See Also:
-
-
Method Details
-
internalise
SOCKS 5 is limited to 255 char DNS names. So for longer ones (e.g. I2P 'names') we have to replace then with somethin shorter to get through the SOCKS layer and then remap them on the otherside. These functions are only active if a SOCKS proxy is enabled and looping back (in process is the assumption)- Parameters:
address
-- Returns:
-
externalise
-
internalise
-
externalise
-
registerPortMapping
-
registerPortMapping
AEProxyAddressMapper.PortMapping registerPortMapping(int proxy_port, String remote_ip, Map<String, Object> properties) -
registerPortMapping
-
applyPortMapping
-
getLocalAddress
-