Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: is2an: IRC Services conversion tool  (Read 7376 times)

0 Members and 1 Guest are viewing this topic.

Aragon

  • Anope User
  • Offline Offline
  • Posts: 11
is2an: IRC Services conversion tool
« 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 for information on converting between IRC Services formats.

Tarball attached.  Extract and run make to compile is2an.

« Last Edit: April 23, 2010, 12:32:23 AM by Aragon »
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: is2an: IRC Services conversion tool
« Reply #1 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 :)
Logged

Aragon

  • Anope User
  • Offline Offline
  • Posts: 11
Re: is2an: IRC Services conversion tool
« Reply #2 on: October 21, 2009, 07:43:28 PM »

Hey Charles,

When I try, the forum comes back complaining that the temp directory is unwriteable.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: is2an: IRC Services conversion tool
« Reply #3 on: October 22, 2009, 10:54:03 AM »

Should be fixed now.
Logged

Aragon

  • Anope User
  • Offline Offline
  • Posts: 11
Re: is2an: IRC Services conversion tool
« Reply #4 on: October 23, 2009, 07:52:14 AM »

Thanks!  It's working.  I've edited my original post.
Logged

Aragon

  • Anope User
  • Offline Offline
  • Posts: 11
Re: is2an: IRC Services conversion tool
« Reply #5 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.
Logged

Source X

  • Anope User
  • Offline Offline
  • Posts: 4
Re: is2an: IRC Services conversion tool
« Reply #6 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.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: is2an: IRC Services conversion tool
« Reply #7 on: July 17, 2010, 04:02:27 PM »

Provide some info Source X, which version of anope etc.
Logged

Source X

  • Anope User
  • Offline Offline
  • Posts: 4
Re: is2an: IRC Services conversion tool
« Reply #8 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.
Logged

Chris

  • Anope User
  • Offline Offline
  • Posts: 1
Re: is2an: IRC Services conversion tool
« Reply #9 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.
Logged

adi safuan

  • Anope User
  • Offline Offline
  • Posts: 1
Re: is2an: IRC Services conversion tool
« Reply #10 on: January 05, 2014, 11:44:26 AM »

where is this is2an tools ? sorry i dont know where it is ..
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: is2an: IRC Services conversion tool
« Reply #11 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.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: is2an: IRC Services conversion tool
« Reply #12 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
Logged
my God my tourniquet, return to me salvation

Jahner

  • Anope User
  • Offline Offline
  • Posts: 1
Re: is2an: IRC Services conversion tool
« Reply #13 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.
Logged
Pages: [1]   Go Up