com.aelitis.azureus.core.proxy
Interface AEProxyAddressMapper
- All Known Implementing Classes:
- AEProxyAddressMapperImpl
public interface AEProxyAddressMapper
- Author:
- parg
MAP_PROPERTY_DISABLE_AZ_MESSAGING
static final String MAP_PROPERTY_DISABLE_AZ_MESSAGING
- See Also:
- Constant Field Values
MAP_PROPERTY_PROTOCOL_QUALIFIER
static final String MAP_PROPERTY_PROTOCOL_QUALIFIER
- See Also:
- Constant Field Values
internalise
String internalise(String address)
- 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
String externalise(String address)
internalise
URL internalise(URL url)
externalise
URL externalise(URL url)
registerPortMapping
AEProxyAddressMapper.PortMapping registerPortMapping(int local_port,
String ip)
registerPortMapping
AEProxyAddressMapper.PortMapping registerPortMapping(int local_port,
String ip,
Map<String,Object> properties)
applyPortMapping
AEProxyAddressMapper.AppliedPortMapping applyPortMapping(InetAddress address,
int port)