Anope IRC Services
Anope.org => Anope General => Topic started by: Aragon on October 20, 2009, 05:01:55 PM
-
Hi. I have been working on an IRC Services database conversion tool lately. It's at the point where it needs more testing on more platforms with more data.
Currently it only converts NickServ, MemoServ, and ChanServ data. I've personally tested it with IRC Services 5.0 and 5.1 data, but it should work back to 4.5 too. It's developed and tested on FreeBSD only, so please report portability issues here.
Usage output:
usage: is2an -r <directory> [-w <directory>] [-t <src>[:<dst>]] [-hv]
-r <directory> - Set the IRC Services database directory for reading.
-w <directory> - Set the Anope database directory for writing.
-t <src>[:<dst>] - Set which IRCD you use - default=0 (needed for converting
ChanServ MLOCK data):
0 = RFC1459, DALnet, TS8 (basic modes only, ie. +ntispkl)
1 = Unreal 2 = Bahamut 3 = PTLink 4 = Dreamforge
5 = Hybrid 6 = TR-IRCD
-v - Increase verbosity
-h - This help message.
For example:
is2an -r ~/ircservices/lib -w ~/anope/lib -t 1
It does not overwrite any data - you must ensure your Anope database directory does not contain nick.db or chan.db files when you run is2an.
For IRC Services 5.1: Your database must be in "version4" format. The new "standard" format introduced in 5.1 is not supported. See here (http://www.ircservices.za.net/docs/upgrade.html#5.0) for information on converting between IRC Services formats.
Tarball attached. Extract and run make to compile is2an.
-
Aragon,
Looks brilliant ! :)
What are you seeing that says no file uploads and I'll have a look :)
-
Hey Charles,
When I try, the forum comes back complaining that the temp directory is unwriteable.
-
Should be fixed now.
-
Thanks! It's working. I've edited my original post.
-
Someone recently unearthed a bug in this tool. I've updated my original post with a fixed version.
-
Is it just me or does anyone else have issues with the NickServ passwords not converting properly? We all keep getting an incorrect password message when attempting to identify.
-
Provide some info Source X, which version of anope etc.
-
Sorry for the late reply.
I got this working, it was due to an error on my part.
When converting your IRCServices database with no encryption using is2an, you cannot by default enable an encryption type for Anope IRC Services, which is what I did in this case. You must set the encryption type to 'none' unless you convert your database encryption using another tool that I have also found on this website.
-
From what I can see, the tool worked very well for my network's conversion.
Only problem that I had was trying to compile it. The version of linux (Debian) didn't seem to have the strlcpy function in it's libc implementation. Using a VM of FreeBSD 7, it compiled wonderfully.
Thanks again for the tool - you saved me hours of writing my own tool to do the conversion.
-
where is this is2an tools ? sorry i dont know where it is ..
-
Hello,
I have restored the missing attachment on the server, you should be able to click the link in the first post to download the file now.
I will go ahead and restore the other missing attachments from other threads too.
-
I took a few minutes and fixed up the old code, it compiles on ArchLinux i686 GNU/Linux, will test on BSD later
https://github.com/trystanscott/is2an
git clone i686 https://github.com/trystanscott/is2an.git
run ./configure then make
-
Going to take a long shot here and see if anyone might still have this tool. Currently using IRC Services and really want to move over to Anope. Links not working in this thread and can't find anything anywhere to convert over. Fingers crossed someone out there can humor me and help out.
-
Hello, http://arsiv.behroozwolf.net/index.php?dir=tools/ in here you can find it bsd and linux support both.