WeeChat

From I2P Wiki
Jump to navigation Jump to search

WeeChat is a lightweight and extensible IRC client.[1]

Configuring for I2P

Add IRC2P (or really any IRC network) as a server (adjust according to I2P router's local IP):

/server add irc2p 127.0.0.1/6668 -notls

Connect with:

/connect irc2p

Disconnect with:

/disconnect

Adding anonymity and security

WeeChat has some options for enhancing anonymity and privacy[2]:

Disable part/quit messages:

/set irc.server_default.msg_part ""
/set irc.server_default.msg_quit ""

Disable giving info on CTCP queries:

/set irc.ctcp.clientinfo ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""

Disable DCC:

/plugin unload xfer
/set weechat.plugin.autoload "*,!xfer"

Don't forget to run this command to save:

/save

Auto login and relogin after disconnect

By default, WeeChat reconnects after disconnect, but does not do anything else. In IRC2P after you connect, you need to message NickServ to authenticate with your password. Here's how to make WeeChat authenticate automatically after connecting (works after sudden disconnects too):

First, set a secure storage password:

/secure passphrase <put password here without brackets>

Then save your IRC password into secure storage:

/secure set irc2p <your irc2p password without brackets>

Finally, tell WeeChat to run a command after connecting to IRC server:

/set irc.server.irc2p.command "/msg NickServ identify ${sec.data.irc2p}"

Don't forget to:

/save

References