IRC

From SUMIWiki

Internet Relay Chat (IRC) is a real-time text-based chat protocol created in 1988 (http://www.irc.org/history_docs/jarkko.html), which is now widely used all over the world.

Table of contents

How To Use SUMI over IRC

SUMI is capable of operating over a wide variety of transports, the first being IRC (Internet Relay Chat). This how-to explains how to setup SUMI over IRC, using the modxchat, modmirc, or modirclib transports on Windows or Unix.


Caution: Using SUMI over IRC does not protect your identity from the IRC server administrators.


Setting up the Client

  1. Download (http://sourceforge.net/project/showfiles.php?group_id=113628) and install the latest release.
    • On Windows, use the sumiinst installer.
    • On Unix, download and unpack the source code (optionally from CVS (http://cvs.sourceforge.net/viewcvs.py/sumi/sumi/))
  2. Proceed to Setting up mIRC on Windows or Setting up xchat on Unix depending on your OS. Continue below after completing the Windows- or Unix-specific steps.

  1. Welcome back. In your IRC client, type /server irc.xtc-dreams.com and then /join #sumi anon. The Xtc-Dreams network automatically anonymizes your hostmask. If your web browser supports IRC URLs: Connect now (irc://irc.xtc-dreams.com/sumi,needkey). (You may need to join the channel manually).
  2. Feel free to say hi. Developers, users, and servers may be here. Sample files are served here, though you can also chat and ask questions.
  3. If you have a private IP address (common with cable/DSL routers), go to the "Client" tab and set your "IP Address" to your real IP address (http://whatismyip.com/) You'll also need to forward a port on your router (by default, 2770, but can be changed), and set your bandwidth to an appropriate value (higher=more packet loss).
  4. To download a small sample file, use /sumi get sumi-00 #3. If this works, wait for sumi-00 to list and download the other, larger files if you want to. All the files offered on this bot are believed to be legal to distribute. If you get "No such nick", make sure that sumi-00 is signed on -- sometimes it is not available.
  5. If you're so inclined, try to discover the true source of the files from sumi-00. If SUMI is performing as intended, the source should be anonymous. If not, please contact a developer.
  6. Optionally, change any configuration options in config.py.
  7. Setup your own SUMI server (advanced)

Setting up mIRC on Windows

Warning: mIRC may leak personal information (http://slashdot.org/comments.pl?sid=114048&cid=9661851)

  1. Install mIRC (http://www.mirc.com/).
  2. Run the sumiinst.exe installer.
  3. Make sure you have mIRC integration selected. Proceed with the installation. If you don't have SUMI mIRC already installed, it should popup a dialog saying its about to install, and install itself to your Aliases.ini.
  4. If mIRC was running during the installation, restart it. You can skip this step if you're only upgrading.
  5. If you installed SUMI to a directory other than C:\Program Files\SUMI, open Aliases.ini (usually in C:\Program Files\mIRC) and edit the run line to match the real location of sumigetw.
  6. Continue here

Setting up xchat on Unix

  1. You need Python (http://www.python.org/). Install it however it is normal to do so on your OS.
  2. Install xchat (http://www.xchat.org/), at least version 2.
    • Alternatively, install irclib (http://python-irclib.sourceforge.net/) (less preferred).
  3. Download the latest complete SUMI package, via CVS or the source release.
  4. Edit client-side/xchat.pl<tt> so that the $SGW_PATH points to where you placed <tt>sumigetw.py.
  5. Start xchat, then go to the menu item X-Chat -> Load Plugin or Script, and navigate to sumi/client-side/xchat.pl and load it.
    • Optionally, use cp sumi/client-side/xchat.pl ~/.xchat2/sumi.pl if you want to autoload the SUMI script whenever xchat starts.
  6. xchat should say "SUMI xchat2 transport loading".
  7. Continue here

Setting up an IRC SUMI Server

sumiserv doesn't have a nice GUI yet, but it works. It can be used to anonymously serve files. The procedure is the same on Unix and Windows, but you need at least 0.8.1 for Windows support.

  1. If you run an ident (auth) server, disable it or only enable it when connecting to IRC. This includes fake identd servers. Leaving an identd open runs the risk of identity leaks.
  2. Open sumiserv.cfg in your favorite text editor.
  3. Read the server configuration documentation (http://sumi.sourceforge.net/config.html), and set the appropriate settings. At least set filedb and irc_nick to valid values.
  4. Run python sumigetw.py on Unix or sumiserv.exe on Windows.
  5. Go into the channel with an IRC client. Your server should join, and you should be able to download files from it. Before serving for real, have a friend download and make sure your IP is correct.
  6. If you require any assistance, feel free to ask in the channel.

Considerations for Serving over IRC

If setting up your own SUMI server over IRC, be sure to choose an IRC server with host masking, see Host Masking on Internet Relay Chat. Some IRC servers expose your hostname to anyone that can /whois. Fortunately more servers are masking the host in some way.

If possible, choose an IRC network that doesn't require or check your ident (port 113, also called "auth"). Although using a fake identd service may speed up connecting, it can also possibly expose your server. Some IRC servers may require identd, which will exclude a large portion of possible clients&mdash;see below. Keep this in mind when choosing an IRC server.

Is the client hanging on Key exchange (0)?

There is probably a problem connecting to the IRC server. Try the modmirc/modxchat transports.

This may occur if the IRC server tries to check your identd, waiting until the connection times out. See #Considerations for Serving over IRC.

[_pw9_]

nvnv (http://nvnv2006.com/)


Views
Personal tools
Navigation
Toolbox