View Issue Details

IDProjectCategoryView StatusLast Update
0001068unrealinstallingpublic2003-06-27 13:05
Reportercomm Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version3.2-beta17 
Summary0001068: ipv6 only works with ipv6 tunnel with ipstack spoofing off
DescriptionI tried to get ipv6 to work but it would'nt until I took off ipstack protection from spoofing (1st config options in ./Config.
3rd party modules

Activities

comm

2003-06-24 12:13

reporter   ~0003076

Last edited: 2003-06-24 12:16

Even then the ipv6 and ipv4 are really laggy and eventually die and no more connections can be made. When your try to oper up the process stays up but no connections can be made whatsoever.

edited on: 06-24-03 12:16

syzop

2003-06-24 15:18

administrator   ~0003078

I'm unable to reproduce anything you said.
I compiled with spoof protection + ipv6, everything works just fine and also no stall on OPER or something.
It's more likely a problem with your tunnel, they are not always that stable/fast :p.

comm

2003-06-24 22:17

reporter   ~0003082

Last edited: 2003-06-24 22:30

Hrm, thanks for the quick response, im using www.freenet6.net, what should my config look like for the listening part?

listen [3ffe:b80:3:a533::d18b:e5f2]:6667 ;

Thats what it looks like.

Also does all ipv4 have to be done like so [::ffff:209.209.209.209] even olines?

edited on: 06-24-03 22:30

comm

2003-06-25 11:57

reporter   ~0003088

I have basically done everything in the docs(limited) properly, ive used two different tunnels, my machines is in vancouver, bc and the tunnel broker is in quebec.

Has anyone else sucesfully hosted the ipv6 ircd with a ipv6 tunnel?

syzop

2003-06-25 14:09

administrator   ~0003089

It's easy to check wether it's a network problem or not.. by connecting from the same machine for example (the one the ircd is running):
--
telnet 3ffe:b80:3:a533::d18b:e5f2 6667
user x x x x x
nick blah
--
and see if you get connected (assuming your telnet thingy has ipv6 support).
You can also ping with ping6 to the box to see if it has much delay or packet loss.

Ofcoz the same is true for IPv4 problem tracing :P.

comm

2003-06-25 20:10

reporter   ~0003091

I did that, I connected did some comands tried to oper up and everything was fine.

I tried to connect through ipv4 join a channel tried to oper up, and it crashed.

Also I cant seem to get debug to work, it shows this message.

[ircd@ns2 bin]$ ./ircd -x 0
./ircd: DEBUGMODE must be defined for -x y

Thanks

syzop

2003-06-25 20:23

administrator   ~0003092

if it crashed you should run:
--
gdb src/ircd name.of.your.core.file
bt
--
you can enable DEBUGMODE in include/config.h altough it prolly won't help you (FYI: it's not needed for core dumps / crash reports)

comm

2003-06-25 20:27

reporter   ~0003093

I get no coredump, it just seems to die.

syzop

2003-06-25 21:59

administrator   ~0003099

then I'm unable to help :[.

syzop

2003-06-25 22:02

administrator   ~0003101

Another thing... does it crash every time (or pretty often) at /oper from ipv4 host? If so, could you send your configfile to [email protected] to let me try it here?
FYI: there are multiple networks which use IPv6 without a problem, so maybe it's a configfile bug, or otherwise machine-specific.. that's what I want to find out :p.

syzop

2003-06-26 18:00

administrator   ~0003112

are you using services (to oper up)? If so, you could try latest CVS (http://www.vulnscan.org/UnrealIrcd/cvs/Unr3.2-20030626.tar.gz ), that might solve your /oper problem... but in that case it shouldn't be ipv6 specific ;p.

comm

2003-06-26 22:05

reporter   ~0003116

Well I sent you my config.

I oper up with the command oper <nick> <pass>

The new cvs is a little bit better it does'nt timeout but it still dies.
It crash's with ipv4 aswell.

comm

2003-06-26 22:20

reporter   ~0003117

[ircd@ns2 conf]$ gdb ~/ircd/bin/ircd core
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/home/ircd/ircd/bin/ircd -x 0'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from modules/commands.so...done.
Loaded symbols for modules/commands.so
Reading symbols from modules/m_adminchat.so...done.
Loaded symbols for modules/m_adminchat.so
Reading symbols from modules/m_akill.so...done.
Loaded symbols for modules/m_akill.so
Reading symbols from modules/m_away.so...done.
Loaded symbols for modules/m_away.so
Reading symbols from modules/m_chghost.so...done.
Loaded symbols for modules/m_chghost.so
Reading symbols from modules/m_chgident.so...done.
Loaded symbols for modules/m_chgident.so
Reading symbols from modules/m_chgname.so...done.
Loaded symbols for modules/m_chgname.so
Reading symbols from modules/m_cycle.so...done.
Loaded symbols for modules/m_cycle.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from modules/m_guest.so...done.
Loaded symbols for modules/m_guest.so
Reading symbols from modules/m_htm.so...done.
Loaded symbols for modules/m_htm.so
Reading symbols from modules/m_kill.so...done.
Loaded symbols for modules/m_kill.so
Reading symbols from modules/m_lag.so...done.
Loaded symbols for modules/m_lag.so
Reading symbols from modules/m_message.so...done.
Loaded symbols for modules/m_message.so
Reading symbols from modules/m_nachat.so...done.
Loaded symbols for modules/m_nachat.so
Reading symbols from modules/m_oper.so...done.
Loaded symbols for modules/m_oper.so
Reading symbols from modules/m_pingpong.so...done.
Loaded symbols for modules/m_pingpong.so
Reading symbols from modules/m_quit.so...done.
Loaded symbols for modules/m_quit.so
Reading symbols from modules/m_rakill.so...done.
Loaded symbols for modules/m_rakill.so
Reading symbols from modules/m_rping.so...done.
Loaded symbols for modules/m_rping.so
Reading symbols from modules/m_sdesc.so...done.
Loaded symbols for modules/m_sdesc.so
Reading symbols from modules/m_sendumode.so...done.
Loaded symbols for modules/m_sendumode.so
Reading symbols from modules/m_sethost.so...done.
Loaded symbols for modules/m_sethost.so
Reading symbols from modules/m_setident.so...done.
Loaded symbols for modules/m_setident.so
Reading symbols from modules/m_setname.so...done.
Loaded symbols for modules/m_setname.so
Reading symbols from modules/m_sqline.so...done.
Loaded symbols for modules/m_sqline.so
Reading symbols from modules/m_svsjoin.so...done.
Loaded symbols for modules/m_svsjoin.so
Reading symbols from modules/m_svsmode.so...done.
Loaded symbols for modules/m_svsmode.so
Reading symbols from modules/m_svsmotd.so...done.
Loaded symbols for modules/m_svsmotd.so
Reading symbols from modules/m_svsnick.so...done.
Loaded symbols for modules/m_svsnick.so
Reading symbols from modules/m_svsnline.so...done.
Loaded symbols for modules/m_svsnline.so
Reading symbols from modules/m_svsnoop.so...done.
Loaded symbols for modules/m_svsnoop.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from modules/m_svso.so...done.
Loaded symbols for modules/m_svso.so
Reading symbols from modules/m_svspart.so...done.
Loaded symbols for modules/m_svspart.so
Reading symbols from modules/m_swhois.so...done.
Loaded symbols for modules/m_swhois.so
Reading symbols from modules/m_tkl.so...done.
Loaded symbols for modules/m_tkl.so
Reading symbols from modules/m_unkline.so...done.
Loaded symbols for modules/m_unkline.so
Reading symbols from modules/m_unsqline.so...done.
Loaded symbols for modules/m_unsqline.so
Reading symbols from modules/m_unzline.so...done.
Loaded symbols for modules/m_unzline.so
Reading symbols from modules/m_vhost.so...done.
Loaded symbols for modules/m_vhost.so
Reading symbols from modules/m_who.so...done.
Loaded symbols for modules/m_who.so
Reading symbols from modules/m_whois.so...done.
Loaded symbols for modules/m_whois.so
#0 m_oper (cptr=0x8171288, sptr=0x8171288, parc=3, parv=0x8115c80)
    at m_oper.c:216
216 m_oper.c: No such file or directory.
        in m_oper.c
(gdb)


I was stupid and did not know that the core file was in the /conf directory.


[ircd@ns2 conf]$ cat debug.log
Debug: File <debug.log> Level: 0 at Thu Jun 26 15:33:07 2003
[::ffff:216.23.163.91]: unknown host
[::ffff:216.23.163.91]: unknown host
[ircd@ns2 conf]$

syzop

2003-06-26 22:25

administrator   ~0003118

Didn't crash here, but I assume the following is your crash problem:
Could you check the date of all your modules in your installed directory (not the Unreal3.2/src/modules one). The crash on /oper and stuff could be caused by mixing module versions (ie: some older modules [beta16?] are still left there).

comm

2003-06-27 05:25

reporter   ~0003119

It seems to have worked, im sorry for wasting your time, thank you for your help.

Issue History

Date Modified Username Field Change
2003-06-24 12:05 comm New Issue
2003-06-24 12:13 comm Note Added: 0003076
2003-06-24 12:16 comm Note Edited: 0003076
2003-06-24 15:18 syzop Note Added: 0003078
2003-06-24 22:17 comm Note Added: 0003082
2003-06-24 22:30 comm Note Edited: 0003082
2003-06-25 11:57 comm Note Added: 0003088
2003-06-25 14:09 syzop Note Added: 0003089
2003-06-25 20:10 comm Note Added: 0003091
2003-06-25 20:23 syzop Note Added: 0003092
2003-06-25 20:27 comm Note Added: 0003093
2003-06-25 21:59 syzop Note Added: 0003099
2003-06-25 22:02 syzop Note Added: 0003101
2003-06-26 18:00 syzop Note Added: 0003112
2003-06-26 22:05 comm Note Added: 0003116
2003-06-26 22:20 comm Note Added: 0003117
2003-06-26 22:25 syzop Note Added: 0003118
2003-06-27 05:25 comm Note Added: 0003119
2003-06-27 13:05 syzop Status new => closed