View Issue Details

IDProjectCategoryView StatusLast Update
0002114GNUnetexit daemonpublic2012-02-28 11:05
ReporterBart Polot Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002114: IPv6 exit doesn't work
Description[bart@saturn ~/svn/gnunet/src/vpn]$ svn info
Path: .
Working Copy Root Path: /home/bart/svn
URL: https://gnunet.org/svn/gnunet/src/vpn
Repository Root: https://gnunet.org/svn
Repository UUID: 140774ce-b5e7-0310-ab8b-a85725594a96
Revision: 19436
Node Kind: directory
Schedule: normal
Last Changed Author: grothoff
Last Changed Rev: 19415
Last Changed Date: 2012-01-25 22:41:54 +0100 (Mi, 25 Jan 2012)
[bart@saturn ~/svn/gnunet/src/vpn]$ svn info ../exit/
Path: /home/bart/svn/gnunet/src/exit
Working Copy Root Path: /home/bart/svn
URL: https://gnunet.org/svn/gnunet/src/exit
Repository Root: https://gnunet.org/svn
Repository UUID: 140774ce-b5e7-0310-ab8b-a85725594a96
Revision: 19436
Node Kind: directory
Schedule: normal
Last Changed Author: grothoff
Last Changed Rev: 19419
Last Changed Date: 2012-01-26 00:19:25 +0100 (Do, 26 Jan 2012)
[bart@saturn ~/svn/gnunet/src/vpn]$ ./test_gnunet_vpn-4_to_6
Beginning HTTP download from `http://169.254.20.231:48080/hello_world'
Jan 26 15:02:55-198621 gnunet-daemon-exit-9507 ERROR Assertion failed at tun.c:150.
Jan 26 15:02:55-199118 mesh-9509 ERROR Assertion failed at server_nc.c:420.
Error with ioctl on `/dev/net/tun': Device or resource busy
Fatal: could not initialize tun-interface
Jan 26 15:02:56-200563 gnunet-daemon-exit-9522 ERROR Assertion failed at tun.c:150.
Jan 26 15:02:56-201503 mesh-9523 ERROR Assertion failed at server_nc.c:420.
Error with ioctl on `/dev/net/tun': Device or resource busy
Fatal: could not initialize tun-interface
^C[bart@saturn ~/svn/gnunet/src/vpn]$ ./test_gnunet_vpn-4_over
Beginning HTTP download from `http://169.254.20.245:48080/hello_world'
MHD sends respose for request to URL `/hello_world'
Download complete, shutting down!
[bart@saturn ~/svn/gnunet/src/vpn]$

Steps To Reproduce.../vpn]$ ./test_gnunet_vpn-4_to_6
.../vpn]$ ./test_gnunet_vpn-6_over
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-26 16:08

manager   ~0005386

Reproduced.

Program terminated with signal 6, Aborted.
#0 0x00007f9a22016405 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) ba
#0 0x00007f9a22016405 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f9a22019680 in *__GI_abort () at abort.c:92
#2 0x00007f9a22a0aa84 in GNUNET_abort () at common_logging.c:273
#3 0x00007f9a22c571ed in GNUNET_TUN_calculate_tcp6_checksum (ip=0x7fff030ace88, tcp=0x7fff030ace88, payload=0x7fff030ad1dc, payload_length=20) at tun.c:149
#4 0x00000000004057a2 in prepare_ipv6_packet (payload=0x7fff030ad1dc, payload_length=20, protocol=6, tcp_header=0x7fff030ad1b8, src_address=0x2052c48, dst_address=0x2052c30,
    pkt6=0x7fff030ace88) at gnunet-daemon-exit.c:1425
#5 0x0000000000405bca in send_tcp_packet_via_tun (destination_address=0x2052c30, source_address=0x2052c48, tcp_header=0x7fff030ad1b8, payload=0x7fff030ad1dc, payload_length=20)
    at gnunet-daemon-exit.c:1511
#6 0x00000000004067ec in receive_tcp_remote (cls=0x0, tunnel=0x2052260, tunnel_ctx=0x20522a8, sender=0x7fff030ad170, message=0x7fff030ad1b0, atsi=0x7fff030ad080)
    at gnunet-daemon-exit.c:1706
#7 0x00007f9a227f20a2 in process_incoming_data (h=0x2051fa0, message=0x7fff030ad160) at mesh_api.c:971
#8 0x00007f9a227f236a in msg_received (cls=0x2051fa0, msg=0x7fff030ad160) at mesh_api.c:1028
#9 0x00007f9a22a07ee7 in receive_task (cls=0x20521b0, tc=0x7fff030ad2a0) at client.c:551
#10 0x00007f9a22a38ca6 in run_ready (rs=0x2051590, ws=0x2051620) at scheduler.c:684
#11 0x00007f9a22a39480 in GNUNET_SCHEDULER_run (task=0x7f9a22a32b0c <program_main>, task_cls=0x7fff030ad540) at scheduler.c:874
#12 0x00007f9a22a334ed in GNUNET_PROGRAM_run (argc=3, argv=0x7fff030ad718, binaryName=0x40c105 "gnunet-daemon-exit",
    binaryHelp=0x40c0d0 "Daemon to run to provide an IP exit node for the VPN", options=0x40c120, task=0x40a702 <run>, task_cls=0x0) at program.c:250
#13 0x000000000040b103 in main (argc=3, argv=0x7fff030ad718) at gnunet-daemon-exit.c:3160

Christian Grothoff

2012-01-26 16:09

manager   ~0005388

(gdb) print payload_length
$1 = 20
(gdb) print ntohs (ip->payload_length)
You can't do that without a process to debug.
(gdb) print ip->payload_length
$2 = 516

Christian Grothoff

2012-01-26 16:12

manager   ~0005389

Fixed in SVN 19442.

Issue History

Date Modified Username Field Change
2012-01-26 15:07 Bart Polot New Issue
2012-01-26 15:07 Bart Polot Status new => assigned
2012-01-26 15:07 Bart Polot Assigned To => Christian Grothoff
2012-01-26 16:08 Christian Grothoff Note Added: 0005386
2012-01-26 16:09 Christian Grothoff Note Added: 0005388
2012-01-26 16:12 Christian Grothoff Note Added: 0005389
2012-01-26 16:12 Christian Grothoff Status assigned => resolved
2012-01-26 16:12 Christian Grothoff Fixed in Version => 0.9.2
2012-01-26 16:12 Christian Grothoff Resolution open => fixed
2012-01-26 16:12 Christian Grothoff Target Version => 0.9.2
2012-02-28 11:05 Christian Grothoff Status resolved => closed