Anope IRC Services

Anope.org => Anope General => Topic started by: Aragon on October 20, 2009, 05:01:55 PM

Title: is2an: IRC Services conversion tool
Post 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:

Code: [Select]
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:

Code: [Select]
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.

Title: Re: is2an: IRC Services conversion tool
Post by: Charles Kingsley on October 21, 2009, 02:44:52 PM
Aragon,

Looks brilliant ! :)

What are you seeing that says no file uploads and I'll have a look :)
Title: Re: is2an: IRC Services conversion tool
Post by: Aragon on October 21, 2009, 07:43:28 PM
Hey Charles,

When I try, the forum comes back complaining that the temp directory is unwriteable.
Title: Re: is2an: IRC Services conversion tool
Post by: Charles Kingsley on October 22, 2009, 10:54:03 AM
Should be fixed now.
Title: Re: is2an: IRC Services conversion tool
Post by: Aragon on October 23, 2009, 07:52:14 AM
Thanks!  It's working.  I've edited my original post.
Title: Re: is2an: IRC Services conversion tool
Post by: Aragon on April 23, 2010, 12:33:40 AM
Someone recently unearthed a bug in this tool.  I've updated my original post with a fixed version.
Title: Re: is2an: IRC Services conversion tool
Post by: Source X on July 17, 2010, 03:18:25 AM
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.
Title: Re: is2an: IRC Services conversion tool
Post by: Charles Kingsley on July 17, 2010, 04:02:27 PM
Provide some info Source X, which version of anope etc.
Title: Re: is2an: IRC Services conversion tool
Post by: Source X on July 24, 2010, 03:06:47 AM
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.
Title: Re: is2an: IRC Services conversion tool
Post by: Chris on January 08, 2011, 04:41:12 PM
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.
Title: Re: is2an: IRC Services conversion tool
Post by: adi safuan on January 05, 2014, 11:44:26 AM
where is this is2an tools ? sorry i dont know where it is ..
Title: Re: is2an: IRC Services conversion tool
Post by: Charles Kingsley on January 05, 2014, 12:00:53 PM
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.
Title: Re: is2an: IRC Services conversion tool
Post by: Trystan Scott Lee on January 10, 2014, 05:09:11 PM
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
Title: Re: is2an: IRC Services conversion tool
Post by: Jahner on June 22, 2017, 06:56:47 PM
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.
Title: Re: is2an: IRC Services conversion tool
Post by: BehroozWolf on November 15, 2019, 09:42:52 PM
Hello, http://arsiv.behroozwolf.net/index.php?dir=tools/ in here you can find it bsd and linux support both.