All Implemented Interfaces:
Runnable, EventDispatcher

public class I2PSOCKSIRCTunnelextends I2PSOCKSTunnel
SOCKS tunnel specialized for IRC traffic with I2P filtering and security.

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.

  • Field Details

    • __clientId

      private static final AtomicInteger __clientId
      Hands out the client number for each new connection.
  • Constructor Details

    • I2PSOCKSIRCTunnel

      public I2PSOCKSIRCTunnel(int localPort, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
      Construct a SOCKS IRC tunnel.
      Parameters:
      localPort - the local port to listen on
      l - the logging instance
      ownDest - true if the tunnel has its own destination
      notifyThis - the event dispatcher for notifications
      tunnel - the I2P tunnel
      pkf - private key file name or null for transient key
  • Method Details