If you have a new question, enter it on this page and leave the Answer: section blank. Someone will eventually add text that provides an answer. At least, that's the theory...

  1. General
    1. When will the next release be ready?
    2. Is wraith a rootkit, DoS tool/bot, or malicious software?
    3. Does wraith support TCL?
    4. Why wraith?
    5. What do you get if you multiply six by nine?
  2. Operating
    1. The binary won't run on 64-bit
    2. Why do the bots punish me if I am +n or +a or a perm owner? Shouldn't those flags be exempt or there be an option to make us exempt?
    3. Why do bots kick people as if they were banned when they clearly are not?
    4. Why do the bots flood with "!!! OVER MAXIMUM MODE QUEUE" in the partyline?
    5. How can I make only one or two bots join a channel?
    6. What does this mean? -NOTICE- :*
    7. How do I make the bots join a keyed channel?
    8. What message commands does wraith support?
    9. How can I control a leaf from the hub?
    10. What are op cookies / What are these silly bots doing unbanning so much?
    11. How do I get a bot to voice people or set limit?
    12. What flag is needed to dcc chat?
    13. How do I get a bot to accept dcc chat?
    14. How do I DCC into a leaf?
    15. How do I connect to my hub?
    16. What are the best settings to secure a channel?
    17. How do I transfer my main hub to another server?
    18. Bot doesn't op itself
    19. How can I reset an owner's password?
    20. How can I set the channel to …
    21. What flag does a user need to …
    22. My hub bot says it cannot listen on the IPV6 port
    23. How can I make a bot remove itself?
    24. How come the 2nd hub does not send the userfile to the first?
    25. My hub userfile is gone/deleted, how can I fix?
    26. Why can't I run command X from a leaf/hub?
    27. How do I change a bot's irc nickname?
    28. What do the colors mean in .bottree?


General

When will the next release be ready?

See the roadmap.


Is wraith a rootkit, DoS tool/bot, or malicious software?

No.


Does wraith support TCL?

It currently does not. It is planned to be added in 2.0.


Why wraith?

The bot was started from a base of eggdrop1.6.12 and the ghost botpack. See a definition of wraith here. The code has since evolved substantially from its eggdrop and ghost base.


What do you get if you multiply six by nine?

42


Operating

The binary won't run on 64-bit

Get the admin to install the 32bit compatibility libraries, or compile it on the shell.


Why do the bots punish me if I am +n or +a or a perm owner? Shouldn't those flags be exempt or there be an option to make us exempt?

The main goal of wraith is to design a secure bot that is not easily hijacked or abused. There are many downsides to user exempts. Consider the following cases:

  • Your BitchX session is 'scr-bx'd while you are detached by an abusive admin.
  • Your connection is process/socket hijacked.
  • An oper spoofs as you.
  • Someone uses a name server exploit resulting in spoofing as you.

I hope now that you can see why I have chosen to not include any sort of exemption in wraith. Any ill effects from a punishment can be easily fixed if you are perm owner, or +a. In the worst case, you'll have to edit your userfile; see bryan about this first though.


Why do bots kick people as if they were banned when they clearly are not?

This is a desync between IRC servers. It has been observed on EFNet at least that after netsplits, bans which were removed weeks ago have resurfaced. The best solution to this currently is to perform this command to the bot kicking the people: .botcmd <bot> resetbans #channel This will make all bans not matching any internal bans set in the bot be unset.


Why do the bots flood with "!!! OVER MAXIMUM MODE QUEUE" in the partyline?

Most likely, there is a botfight in one of your chans. Cycle all your chans until you find where the fight/flood is occuring, then you can deal with it from there.

  • If bots are kicking with ban msgs, have a bot that is kicking perform .resetbans for that channel.
  • If bots are kicking other bots (and it's +closed), check that its host is added to its bot record. If it is, then do a .reload or, .unlink any bots which are kicking it.
  • If something else is occuring which you cannot figure out, try to use .clearqueue MODE on the bot causing the problems.

How can I make only one or two bots join a channel?

This can be done by doing .botjoin <bot> <#chan>. Be aware though that currently the botjoin isn't saved in the userfile, which will end up making all bots join the channel eventually. Keep track of #21 for updates on botjoin saving.


What does this mean? -NOTICE- :*

Please see #71. This is a bug in csircd which is running on a few EFnet servers. Also note that csircd servers are no longer in the default/recommended server list as of 1.3. Run '.set -YES servers -' to reset your list to the recommended default.


How do I make the bots join a keyed channel?

.chanset #chan chanmode { +ntk key }

You can also just do:

.bl dump join #channel key

That bot will then share the key with the rest of the botnet.


What message commands does wraith support?

The botnet admin needs to set the cmd for msging to get opped. OP, PASS, IDENT, RELEASE can all be customized:

.set msg-op op
.set msg-pass pass
.set msg-ident ident
.set msg-invite invite
.set msg-release release
/msg bot OP <password> [channel]
/msg bot PASS <password> [newpassword]
/msg bot IDENT <password> <username>
/msg bot INVITE <password> [channel]
/msg bot RELEASE <password>

Also see: .help set


How can I control a leaf from the hub?

See: .help botcmd

.botcmd bot op bryan *
.bl op bryan *

What are op cookies / What are these silly bots doing unbanning so much?

08:56:05 -!- mode/#wraith [+o-b bryan 9f7!4926@1203432965] by wtest

Please see CookieOps. In short, it helps prevent a MITM attack by validating that the MODE line came from the BOT, and not someone in the middle. It also prevents replay attacks.


How do I get a bot to voice people or set limit?

First see .help whois. Then you'll see that you can set a bot +y to voice/op people, and +l to set limits.

.chattr bot +ly

What flag is needed to dcc chat?

First see .help whois. A user only needs +j to chat into a bot. They also need +p to be able to talk on the partyline. Just give them both.

For hubs, users need +i to be able to .relay or telnet into a hub.


How do I get a bot to accept dcc chat?

First see .help whois. Set a bot +c. These are the only bots which will accept /MSG cmds as well, such as OP.

.chattr bot +c

How do I DCC into a leaf?

There are 2 ways. The first is used if your hostmask is already recognized by the bot.

/DCC CHAT bot

The bot will then say some random stupid line to you after it opens DCC. Simply enter your password and then you're in.

The other way is if your hostmask is not recognized:

/CTCP bot CHAT

The bot will then open a dcc chat saying some random line again. Enter your username. Then it will say something else. Now enter your password and you're in!


How do I connect to my hub?

The most secure way would be to SSH to the shell the hub is running on first, then to telnet in locally.

Either telnet in:

telnet hub1.yourdomain.com 1234

Or relay in from a leaf bot:

.relay hub

Once you connect, you will see a BLANK LINE. Now just enter in your username... and then the bot will ask for your password. Then enter your password and you're in.


What are the best settings to secure a channel?

Please read over .help chaninfo for an explanation of all of these settings:

.chanset #chan +bitch -fastop mdop deop manop deop mop deop +nomassjoin -autoop +private bad-cookie kick flood-mjoin 6:1 flood-kick 2:30 +protect

How do I transfer my main hub to another server?

There are only 2 things you need to do this correctly:

  1. Copy the .u file from your hub's directory to the new server (If you do not have access to this server any longer, use the .u file from a backup hub instead.)
  2. Change dns on your hub hostname.

That's it!.


Bot doesn't op itself

First off, ensure that the bot's hostmask is recognized. Run the following command from a hub, or directly from a leaf bot:

.bl swhois nick

This will show you a server-whois for the bot in quesiton. Check if username appears, and who (if anyone) it matches. If no username shows up, you need to add a hostmask to the bot with +host.

Another great way to diagnose bots not opping is by setting your console to see log messages from the getop system:

.console +g

Also make sure your bot is not +d and is +o.


How can I reset an owner's password?

New method

Run the hub in terminal mode. ./hub -nt, then just .newpass handle to change the owner's password.

Old method

If you're on an older version, you'll need to manually modify the hub's userfile. Easiest way is to completely remove yourself from the hub's userfile and kill -HUP it. Then you will be readded based on what you put into PackConfig. Here is how you can do this:

  ./hub -d .u userfile
  pico userfile
  (Find your user entry, remove it, including any --HOST lines, etc., save+exit)
  ./hub -e userfile .u
  rm -f userfile
  ps ux
  kill -HUP pid

How can I set the channel to …

  .help chaninfo

What flag does a user need to …

  .help whois

My hub bot says it cannot listen on the IPV6 port

Ignore it as long as you can connect in over ipv4 fine.


How can I make a bot remove itself?

  .botcmd BOT suicide

Beware that running .suicide on a hub will remove its userfile and backups.


How come the 2nd hub does not send the userfile to the first?

Right now wraith's userfile sharing is top-down only. Sharing upwards to the first hub is a planned enhancement.


My hub userfile is gone/deleted, how can I fix?

You have 2 options:

  1. First check the directory ... with ls -al for the files .u, .u.0 or .u.1. Copy one of these to the directory where the hub is and name it .u. Then start your hub.
  2. Copy the .u file from the 2nd hub via FTP and upload to your main hub's directory. Then start your hub.

Why can't I run command X from a leaf/hub?

There is a separation of commands for hub and leaf bots. The commands are different. See .help on both for a listing of commands.


How do I change a bot's irc nickname?

Use botset.

.botset <bot> nick <ircnick>

Then you can use botnick and netnick to see what irc nicknames each bot has.


What do the colors mean in .bottree?

  • Yellow are hubs
  • Red are localhubs (first bot in binary, see .bl help conf and .help botcmd)
  • Grey are normal leaf bots
Last modified 6 years ago Last modified on Jan 4, 2012, 12:04:24 AM