public class I2PSOCKSIRCTunnel extends I2PSOCKSTunnel
This class extends I2PSOCKSTunnel to provide IRC-specific filtering through I2PTunnelIRCClient filters, combining the flexibility of SOCKS (dynamic destination specification) with IRC security features. It applies inbound and outbound IRC filters to protect against common IRC attacks and ensure proper IRC protocol handling.
This allows users to connect to any IRC server through I2P without pre-configuring individual tunnels for each server, while maintaining the security benefits of IRC-specific filtering.
AUTH_REALM, DEFAULT, INITIAL_SO_TIMEOUT, PROP_OUTPROXY_TYPE, PROP_PROXY_DEFAULT, PROP_PROXY_PREFIX_clientId, _context, _log, _ownDest, dest, l, listenerReady, mySockets, PROP_USE_SSL, sockLock, sockMgr, ssopen, tunnel| Constructor and Description |
|---|
I2PSOCKSIRCTunnel(int localPort,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel,
String pkf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientConnectionRun(Socket s)
Same as in I2PSOCKSTunnel, but run the filters from I2PTunnelIRCClient
instead of I2PTunnelRunner
|
buildOptions, getDefaultProxies, getProxies, getProxyMap, optionsUpdatedbuildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, close, closeSocket, createI2PSocket, createI2PSocket, createI2PSocket, destroy, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, killSharedClient, manageConnection, run, startRunning, verifySocketManagerconnected, disconnected, errorOccurred, getBooleanOption, getId, getTunnel, isOpen, reportAbuse, routerDisconnected, setId, setName, setTunnel, toStringattachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValuepublic I2PSOCKSIRCTunnel(int localPort,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel,
String pkf)
pkf - private key file name or null for transient keyprotected void clientConnectionRun(Socket s)
clientConnectionRun in class I2PSOCKSTunnel