The Official iroffer Website - Frequently Asked Questions (With Answers)


home
why use iroffer
download
version history
contact info
mailing list
FAQ
to do list
screen shots
bitkeeper
documentation

Q: I have a linksys cable/dsl 'router'. DCCs dont work, why? [ link ]
Q: I'm running iroffer behind a NAT/masquerade box, DCCs dont work at all, why? [ link ]
Q: I can't connect to iroffer, DCCs just timeout and no one can get anything, why? [ link ]
A: If the computer you run iroffer (or any other IRC client) on does not use a public IP address (the one the IRC server sees), DCC commands sent to the IRC server must be translated. This is done on most modern NAT/masquerade devices. The device will intercept DCC commands and modify them on route to and from the IRC server.

You will need to check the documentation of the nat device you are using to see if it supports IRC DCC translation. If it does support DCC translation make sure it is turned on.

If it does not you may still be able to use iroffer if the device supports inbound tcp port forwarding to a specific host on the private network. You will need to setup inbound tcp port forwarding for either a specific TCP port number range or all TCP port numbers. Configure iroffer with your public IP address under the 'usenatip' configurable. If you use a specific port number range you must enable the 'firewall' and 'dccrangestart' options in the iroffer config file and forward 100 TCP ports starting at the dccrangestart port number.

Also note that some NAT devices only detect DCC commands if you connect to port 6667 of the irc server. Make sure you are using port 6667 if you are having problems.

 
Q: I'm behind a NAT/masquearde box, DCCs work, but resume doesn't, why? [ link ]
A: Some NAT devices will tranlate some DCC commands (send/chat/etc..) but will not translate resume commands. this means normal transfers will work but not resume.

This will generally be seen by this message from iroffer:
WARNING: Couldn't find transfer that user tried to resume!

In order for iroffer to resume a transfer, it needs to know:

  • the nick of who is requesting the resume
  • the filename of the transfer _or_
  • the tcp port number

    The filename should be good in most cases, but some windows irc clients don't return the actual filename in the resume request.

    The tcp port number will be correct if your NAT device translates the resume request

    iroffer needs to know either (or both) the filename or the tcp port number to resume the connection.

    If your nat device is broken the tcp port number will be bad. If the person trying to resume is using a broken irc client the filename will be bad.

    iroffer can handle one of these two cases, but not both

  •  
    Q: iroffer keeps excess flooding itself, what can I do? [ link ]
    A: Excess flood protection is a very hard problem to solve.

    IRC servers will excess flood a client if the server can't keep up with the commands sent from the client. Unfornately this means there is no predefined rate at which a client can safely send text. One rate of commands can be acceptable at certain times (when the IRC server is idle) while the same rate can be unacceptable at other times (if the IRC server is very busy).

    iroffer queues all commands sent to the IRC server and rate limits the data sent. This allows bursts of commands to happen quickly, but will rate limit if large amounts of text is sent.

    iroffer also queues and combines XDCC LIST and PLIST output. For example if two users request an XDCC LIST at around the same time iroffer will send the listing to both users simultaneously, saving commands sent to the server

    The best way to prevent excess flooding is to reduce the amount of data sent to the server. This can be done by:

  • using the same plist time for all channels
  • using the same plistoffset for all channels
  • using the minimal or summary plist formats
  • denying private lists with the 'restrictprivlist' configurable
  •  
    Q: My password isn't accepted even though I set it in the config file, what's going on? [ link ]
    Q: I get an 'adminpass does not appear to be encrypted' error, what's that mean? [ link ]
    A: You didn't encrypt your password using 'iroffer -c' in your config file.

    Run iroffer with the '-c' flag and follow the instructions to generated an encrypted password, then enter that in the config file:

    WRONG: adminpass foo12345
    RIGHT: adminpass F37ls723XrFQ2

     
    Q: I'm trying to compile iroffer for windows, Configure fails horribly. [ link ]
    A: The base install of cygwin doesn't include developent tools and libraries needed by iroffer to compile.

    You need to run the cygwin installer and select these additional packages:

    Under devel:

  • binutils
  • gcc
  • make

    Under libs:

  • crypt
  •  
    Q: Can you send me src/iroffer_config.h, it's not in the download? [ link ]
    A: This is a generated file, you need to run Configure before make
     
    Q: I'm tyring to use server_join_raw or channel_join_raw, but it doens't work, what's going on? [ link ]
    A: server_join_raw and channel_join_raw send RAW IRC commands just like the 'raw' command.

    WRONG: server_join_raw msg person hi there
    WRONG: server_join_raw message person hi there
    WRONG: server_join_raw /msg person hi there
    WRONG: server_join_raw privmsg person hi there
    WRONG: server_join_raw person hi there
    RIGHT: server_join_raw PRIVMSG person :hi there

     
    Q: I'm trying to connect to IRC, but it keeps telling me I'm banned. [ link ]
    Q: Why does iroffer keep saying I'm K-Lined? I can't get it to work [ link ]
    A: The IRC server you are connecting to has blacklisted your computer, username, or network. There's nothing I can do to help with this.
     
    Q: How large of a file can I offer? [ link ]
    Q: Does iroffer include large file support? [ link ]
    A: iroffer can support files upto either 2GB or 4GB depending on your underlying OS environment.

    If the underlying operating system supports large files (greater than 2GB) then iroffer will work with files upto 4GB in size. If large files are not supported, then 2GB is the upper limit.

    It is important to note that the currently defined DCC protocol cannot support files larger than 4GB because the application level ACKing in DCC transfers uses a 32bit number.

    Also, just because iroffer can support files upto 4GB does not mean the client on the other end of the transfer supports it. Most irc clients will not receive files larger than 2GB.

     
    Q: Can iroffer automatically update 'usenatip'? [ link ]
    A: No, but I have added a shell script to automatically create and update a config file containing a 'usenatip' line. See the file 'dynip.sh' in the lastest iroffer. You can run this from a cronjob to keep usenatip up-to-date.
     
    Q: I cant get iroffer to work. When i open iroffer it closes really quickly. It doesnt even open for a second. [ link ]
    A: You're probably a clueless windows user if you are asking this. Run iroffer from a DOS window or simply drag your config file onto the iroffer executable.
     
    Q: Why doesn't iroffer encrypt more of the config file? [ link ]
    A: Your administrative password can be encrypted because iroffer is the one doing authentication. iroffer simply takes your plain text password attempt and compars it against the encrypted password stored in your config file. The encrypted password in your config file uses a one-way cypher (encrypt only).

    Channel keys, nickserv password and other items cannot be encrypted in the config file because iroffer needs to send them in plain text to the irc server. These items cannot use a one-way cypher as iroffer needs to decryprt them.

    iroffer could use a two-way cypher but the logic needed to decrypt them would need to be stored within iroffer. This isn't very practical as it would either need to be fixed at compile time or initialzed every time iroffer starts from a user-input.

     
    Q: Why isn't there an admin command to add/remove channels. [ link ]
    Q: Can I change the config file remotely? [ link ]
    A: iroffer does not modify your configuration file. I have no intention of adding this support as the config file is a free-form text file.

    Login to your shell and modify it.

     
    Q: How do I add color/styles to my offer list? [ link ]
    A: You can add color and style tags to your offer list by using the DCC chat administration interface. Simply add the color and/or style to the text that you send via a 'chdesc' or 'chnote' command.
     
    Q: Does iroffer support SOCKS4/5? [ link ]
    A: no.
     
    Q: What TCP/IP ports does iroffer use? [ link ]
    A:

    iroffer makes outgoing TCP connections to irc servers. Typically this is on port 6667 but this can be configured differently in the iroffer configuration file. iroffer will also make outgoing TCP connections for users who upload files or request a DCC chat. The port number used for uploads/DCC chat is dynamic and determined by the user performing the upload not iroffer.

    iroffer accpets incoming TCP connections from clients that download files from it or request DCC chat. Depending on settings in the iroffer configuation file this can either by dynamic (choosen by the OS) or within a fixed range (for users who have incoming connections firewalled). The fixed range starts at the 'dccrangestart' configurable.

     
    Q: Iroffer crashes/hangs my computer [ link ]
    A:

    If you are using iroffer on a very fast internet connection iroffer can easially stress your computer's disk and network hardware as well as your OS and hardware drivers. If you suspect iroffer is causing problems with your computer please try a different program that similarly stresses your computer such as a ftpd. It is most likely a sign that either your OS or drivers are flawed or you have faulty hardware.

     
    Q: I "lost" my password but have the config file. Can I decrypt it? [ link ]
    A:

    The password stored in the config file is encrypted with a standard UNIX crypt(). You can use any brute-force password cracker designed for 13 character DES passwords.

     
    Q: Why can't I use *!*@* as an adminhost? [ link ]
    A:

    That's a very bad security decision. iroffer will not let you use very weak adminhosts. I will not change this.

    Use a better hostmask for administration. You can define as many hostmasks as you want.

     
    Q: Why does iroffer keep opening lots of ports? My firewall is going crazy. [ link ]
    Q: I see "WARNING: socketpair(): Connection refused" error messages. What's going on? [ link ]
    A:

    Whenever iroffer connects to an irc server it calls socketpair() to pass information to a fork'ed process that does DNS lookups for the server.

    The cygwin implementation of socketpair() emulates AF_UNIX sockets with AF_INET. Because of this limitation, cygwin opens a UDP/IP port using an OS assigned port number, then connets to it using the localhost address (127.0.0.1). This connection should only last for the duration of the DNS lookup and then be closed.

    If you are seeing the "Connection refused" error message, your firewall may be denying UDP packets to/from 127.0.0.1. You will need to allow these.

    When running iroffer on OS's without cygwin this problem does not happen as AF_UNIX socket types are supported.

     
    Q: What do I need to do to get iroffer to run chrooted? [ link ]
    Q: DNS doesn't work when I chroot. What's going on? [ link ]
    A:

    To run iroffer from within a chrooted environment you need to:

    1. Use the iroffer_chroot executable which includes the NSS libraries
    2. Run iroffer with the -t and -u flags which will cause iroffer to chroot and drop root privledges
    3. Place the following files into your chroot:
      • [chroot]/etc/resolv.conf
      • [chroot]/mybot.config
      • [chroot]/files/*
      • [chroot]/upload/*

    NOTE: When using the -t flag no shared libaries or even the iroffer executable are needed within the chroot directory, but your config file does need to be.

     
    Q: My admin/upload/download host doesn't work. [ link ]
    A:

    Most likely you have trailing whitespace in your config file.

     
    Q: Can I link to iroffer.org on my website? [ link ]
    A:

    Yes, that's what the web was designed for.

     
    Q: I get 'Permission Denied' or 'Access Denied' when I run Configure. What's this about? [ link ]
    A:

    Make sure Configure and /bin/sh are executable (chmod a+x Configure).

     
    Q: I get 'Permission Denied' or 'Access Denied' when I run iroffer. What's this about? [ link ]
    A:

    Make sure iroffer is executable (chmod a+x iroffer). For windows users make sure your account has permission to execute it and a virus/security/firewall program isn't denying access to iroffer.

     
    Q: How do I un-install iroffer from my Windows computer. [ link ]
    A: If you are asking this question, your computer most likely got broken into by someone using a known security bug. Once they obtained access to your computer they installed lots of software on it including iroffer.

    Neither the author of iroffer nor anyone associated with iroffer.org broke into your computer or installed iroffer. iroffer was not and can not (by design) be used to break into your computer. Questions, accusations, threats, or complaints directed at us will be refered to this FAQ or ignored.

    Unfortuntately many crackers use rootkits that install iroffer for their own use after breaking into your computer. The official versions of iroffer (found on this site) are not maliscious in nature and are not used to break into your computer, it was just placed on your computer for the cracker to harness your computing and network resources.

    If you want to remove iroffer you'll need to find the executable, startup scripts, config, etc... You'll probably want to find the security bug so it wont happen again, but I can't help you with that.

    iroffer consists of at least 4 components, however if you were cracked, they could be cleaverly named and hidden to deceive you.

    • the iroffer executable
    • the iroffer configuration file (text file)
    • the iroffer state file (binary file)
    • the actual offered files

    If you are running windows, you can find the first 2 files by doing a 'Search for files and folders' and look for files containing the text 'user_nick'.

    Once you have found the configuration file you can then use it to locate the state file by looking for the 'statefile' line.

    If iroffer was configured to create a logfile ('logfile' in the config file). You can use that to see who setup the bot via DCC chat from such logs as:

    ** 2004-03-24-11:09:14: DCC CHAT attempt authorized from NICK!USER@HOST.COM
    ** 2004-03-24-11:09:14: DCC CHAT received from NICK, attempting connection to 192.168.5.44:16674
    

    You can use the IP address above to determine what host connected to iroffer to set it up.

    You can use the config file to get the irc server names and channel names ('server' and 'channel' lines). Use the server information and visit the website of the server. You should be able to obtain an 'abuse' email address or other contact information for the server. Please use this information to report the channel's name plus information you obtained from the logfile the irc server's operators to prevent further abuse by the channel.

     
    Q: Why does my Windows virus scanner say iroffer is a virus or backdoor or trojan? [ link ]
    Q: I downloaded iroffer from here, but my Windows virus scanner says it's infected with a trojan. [ link ]
    A: Some Windows virus scanner software companies classify every version of iroffer it finds as a back-door program, no matter what the intent of the installer was or how it got there.

    There is nothing inherent about iroffer that makes it a back-door or virus program anymore than any FTP server or webserver program. iroffer does not trick you into installing it. iroffer does not replicate itself and must be installed by either yourself or another program that has run on your computer.

    The versions of iroffer you can download from this site do not provide remote command or execute access to your system. It does what it was intended to do, namely download of only the files you specify, upload of files (if configured to do so), and nothing else. This is equivilant to a FTP or HTTP server.

    You should contact the manufacturer of your virus scanning software and tell them you are trying to use iroffer for legitimate purposes.

     

    Page last modified: 02/12/06



    Shop Now! amazon.com