Hi, The v3 patch moves 6to4 property to IPv4 dict.
The v2 patch checks if the tunnel has internet connectivity. The check is done by trying to connect to ipv6.google.com:80 via the tunnel. The google host was choosen as it only provides connectivity via IPv6. This could be changed to connman.net when it provides the same kind of service. The IPv6 address of the host is resolved by async DNS so that mainloop is not blocked. The timeouts I used were 10 sec for DNS query and 2 sec for connection test but these can be tweaked of course. Regards, Jukka Jukka Rissanen (7): doc: Add description about 6to4 tunnelling. ipconfig: Add function to return the system address pointer. 6to4: Add 6to4 tunnel support. service: Create 6to4 tunnel if enabled. test: Add support for 6to4 tunnel status printing. test: Add support for enabling/disabling 6to4 tunnel. 6to4: Check the connectivity via tunnel after creating it. Makefile.am | 10 +- configure.ac | 4 + doc/service-api.txt | 11 + src/6to4.c | 789 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/connman.h | 9 +- src/ipconfig.c | 25 ++- src/ipv4.c | 5 + src/service.c | 61 ++++- test/list-services | 8 +- test/test-connman | 37 +++ 10 files changed, 947 insertions(+), 12 deletions(-) create mode 100644 src/6to4.c _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman