Opened 6 years ago

Closed 6 years ago

#904 closed enhancement (fixed)

IRC tunnel filters SASL

Reported by: DISABLED Owned by: str4d
Priority: minor Milestone: 0.9.6
Component: apps/i2ptunnel Version: 0.9.4
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

SASL is useful for authenticating to IRC networks.
Will I2P support it in the IRC tunnel? Thanks!

Subtickets

Change History (5)

comment:1 Changed 6 years ago by killyourtv

Type: defectenhancement

Do you know of a publicly accessible IRC server on I2P with SASL support?

comment:2 Changed 6 years ago by zzz

Milestone: 0.9.5

Low-priority unless an I2P IRC op supports a SASL server and lobbies for it.

Pointer to specification, and specifics of what's getting filtered and what needs to change, would also help.

comment:3 Changed 6 years ago by str4d

https://github.com/atheme/charybdis/blob/master/doc/sasl.txt appears to document the current standard for IRC SASL. The two required message types are CAP and AUTHENTICATE.

comment:4 Changed 6 years ago by str4d

Owner: set to str4d
Status: newaccepted

Having now grepped apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java, CAP is already allowed; preventing SASL being filtered should just require adding AUTHENTICATE to the allowedCommands lists for both inboundFilter() and outboundFilter(). I'll try setting up a SASL server to test this on.

comment:5 Changed 6 years ago by str4d

Milestone: 0.9.6
Resolution: fixed
Status: acceptedclosed

[b1f1a10c8536c08ba270cb7a1db89306d936a67a] adds AUTHENTICATE to the list of allowed IRC commands. Tested with UnrealIRCd + Atheme Services + XChat:

  • SASL auth works directly connecting to the server.
  • SASL auth times out connecting via IRC client/server tunnels before the patch.
  • SASL auth works connecting via IRC client/server tunnels after the patch.
Note: See TracTickets for help on using tickets.