---
src/connman.h |1 +
src/ipv4.c|5 +
src/service.c | 56
3 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 08bd7a9..24816a0 100644
--- a/src/connman.h
+++
---
src/connman.h |2 ++
src/ipconfig.c |9 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 6202db3..5014291 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -253,6 +253,8 @@ void __connman_ipconfig_set_element_ipv6_gateway(
Hi,
the following patches create 6to4 tunnel automatically if enabled for
a given service, IPv6 is enabled and device has public IP address.
Regards,
Jukka
Jukka Rissanen (6):
doc: Add comment about 6to4 tunnelling.
ipconfig: Add function to return the system address pointer.
6to4: Add
---
doc/service-api.txt |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index b3e758e..35e03a6 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -386,6 +386,15 @@ Properties string State [readonly]
This is described in RFC 3041 and RFC 4941
---
src/ipconfig.c | 64
1 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 1fb8281..f6af4c4 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@
---
src/ipconfig.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 1fb8281..f8ca414 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -299,13 +299,13 @@ static gboolean get_ipv6_state(gchar *ifname)
int
This is described in RFC 3041 and RFC 4941
---
src/ipconfig.c | 66
1 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 1fb8281..0f676d3 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@
Hi David,
... but while ConnMan is driving the device we *always* use this horrid
'privacy' mode when IPv6 is enabled?
What kind of problems there is with the privacy mode?
Regards,
Jukka
___
connman mailing list
connman@connman.net
---
Hi,
This fixes the issue when ipconfig IPv6 method is AUTO and
config is loaded during connman startup, now depending on timing
it is possible that IPv4 address is not loaded at all.
This can happen easily for WLAN connections, ethernet connections
will probably work ok without the patch.
This is done so that if service is disconnected, the kernel
created autoconf routes need to be cleared also.
That can be done easiest by disabling IPv6 for that interface.
The disabling of IPv6 is only done for autoconfigured interfaces.
When service is connected, the IPv6 is enabled for the used
mode immediately,
it seems to require that interface goes down before activation.
Same thing happens if privacy mode is disabled, the temporary addresses
do not disappear until the interface is taken down. At least this
was happening in my test system with kernel 2.6.32.
Regards,
Jukka
Jukka
---
src/ipconfig.c | 113 ++--
1 files changed, 109 insertions(+), 4 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 1fb8281..481133b 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -51,6 +51,8 @@ struct connman_ipconfig {
---
test/set-ipv6-method | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/test/set-ipv6-method b/test/set-ipv6-method
index 274e89b..c0b251e 100755
--- a/test/set-ipv6-method
+++ b/test/set-ipv6-method
@@ -4,7 +4,7 @@ import sys
import dbus
def
---
doc/service-api.txt | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index b3e758e..55c5b6e 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -375,6 +375,24 @@ Properties string State [readonly]
Hi Grant,
On 17 February 2011 20:10, Grant Erickson maratho...@gmail.com wrote:
To isolate the leaks, I systematically eliminated processes from the system
until I was left with:
- syslogd
- klogd
- wpa_supplicant
- dbus-daemon
- connmand
I have run connmand under
?
Regards,
Jukka
Jukka Rissanen (7):
doc: Add comment 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
---
doc/service-api.txt |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 9695059..c662aaf 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -377,6 +377,15 @@ Properties string State [readonly]
---
Makefile.am |2 +-
src/6to4.c| 569 +
src/connman.h |3 +
3 files changed, 573 insertions(+), 1 deletions(-)
create mode 100644 src/6to4.c
diff --git a/Makefile.am b/Makefile.am
index 144fcc5..8f13f56 100644
---
---
src/connman.h |1 +
src/ipv4.c|5 +
src/service.c | 56
3 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index a8ef170..0d90b6b 100644
--- a/src/connman.h
+++
---
test/list-services |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/list-services b/test/list-services
index 3ae6a4d..20295b1 100755
--- a/test/list-services
+++ b/test/list-services
@@ -50,7 +50,7 @@ for path in properties[Services]:
val
---
Hi,
this sets the IPv6 status correctly by
- enabling IPv6 when service config is loaded and method is AUTO or MANUAL
- and disabling IPv6 when service is connected and method is OFF
Regards,
Jukka
include/ipconfig.h |1 +
src/ipconfig.c | 25 ++---
---
src/rtnl.c | 122 +++
1 files changed, 97 insertions(+), 25 deletions(-)
diff --git a/src/rtnl.c b/src/rtnl.c
index 5b09ca4..42b1632 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -633,7 +633,7 @@ static void process_deladdr(unsigned char
Hi,
here is some preliminary work for IPv6 route handling. The patch
catches IPv6 route additions and deletions and updates ipconfig
accordingly.
Regards,
Jukka
Jukka Rissanen (2):
rtnl: Catch IPv6 route netlink messages.
ipconfig: Catch IPv6 default route creation and deletion.
src
---
src/ipconfig.c | 16 ++--
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 62d3766..59dd987 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -720,7 +720,8 @@ void __connman_ipconfig_newroute(int index, int family,
unsigned
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
---
Makefile.am |2 +-
src/6to4.c| 569 +
src/connman.h |3 +
3 files changed, 573 insertions(+), 1 deletions(-)
create mode 100644 src/6to4.c
diff --git a/Makefile.am b/Makefile.am
index 144fcc5..8f13f56 100644
---
---
test/list-services |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/test/list-services b/test/list-services
index 3ae6a4d..bfb0f73 100755
--- a/test/list-services
+++ b/test/list-services
@@ -12,7 +12,13 @@ def extract_values(values):
if
---
test/test-connman | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/test/test-connman b/test/test-connman
index 9a855fb..c297cf7 100755
--- a/test/test-connman
+++ b/test/test-connman
@@ -18,6 +18,7 @@ if len(sys.argv) 2:
---
src/ipconfig.c | 141 +--
1 files changed, 135 insertions(+), 6 deletions(-)
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 6511370..5d4e755 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -51,6 +51,8 @@ struct connman_ipconfig {
---
test/set-ipv6-method | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/test/set-ipv6-method b/test/set-ipv6-method
index 274e89b..c0b251e 100755
--- a/test/set-ipv6-method
+++ b/test/set-ipv6-method
@@ -4,7 +4,7 @@ import sys
import dbus
def
---
doc/service-api.txt | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 65554a2..e13808e 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -332,6 +332,16 @@ Properties string State [readonly]
is not set in gweb,
we are just hoping that the routing in the device forces the check
go through tunnel.
Regards,
Jukka
Jukka Rissanen (10):
doc: Add description about 6to4 tunnelling.
inet: MTU and tunnel setup functions added.
inet: Add routines to send IPv6 router solicitation message
---
include/inet.h |8 ++
src/inet.c | 315
2 files changed, 323 insertions(+), 0 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 9a9411d..3ed19c4 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -25,6 +25,8 @@
---
include/inet.h |3 ++
src/inet.c | 71 ++-
2 files changed, 72 insertions(+), 2 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 9ba7781..9a9411d 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -73,6 +73,9 @@
---
Makefile.am |2 +-
src/6to4.c| 498 +
src/connman.h |3 +
3 files changed, 502 insertions(+), 1 deletions(-)
create mode 100644 src/6to4.c
diff --git a/Makefile.am b/Makefile.am
index 3ad1ee9..95aefc7 100644
---
---
src/6to4.c | 47 ++-
1 files changed, 46 insertions(+), 1 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index 68472e6..52a0c53 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -41,10 +41,15 @@
#include connman.h
#include connman/log.h
#include
---
src/service.c | 10 +-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/service.c b/src/service.c
index 29d6af5..77e16a5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -987,8 +987,16 @@ static void append_ipv4(DBusMessageIter *iter, void
*user_data)
if
---
src/6to4.c| 20
src/connman.h |1 +
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index 52a0c53..8593e71 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -541,3 +541,23 @@ void __connman_6to4_remove(struct connman_ipconfig
---
src/dhcp.c|4
src/service.c |2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index 6fda67d..dd7c498 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -73,6 +73,8 @@ static void dhcp_invalid(struct connman_dhcp *dhcp)
if (ipconfig
---
test/list-services |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/test/list-services b/test/list-services
index 3ae6a4d..bfb0f73 100755
--- a/test/list-services
+++ b/test/list-services
@@ -12,7 +12,13 @@ def extract_values(values):
if
---
include/inet.h |3 ++
src/inet.c | 71 ++-
2 files changed, 72 insertions(+), 2 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 9ba7781..9a9411d 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -73,6 +73,9 @@
---
include/inet.h |8 ++
src/inet.c | 315
2 files changed, 323 insertions(+), 0 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 9a9411d..3ed19c4 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -25,6 +25,8 @@
---
doc/service-api.txt |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 65554a2..7e87e6e 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -347,12 +347,16 @@ Propertiesstring State [readonly]
---
Makefile.am |2 +-
src/6to4.c| 498 +
src/connman.h |3 +
3 files changed, 502 insertions(+), 1 deletions(-)
create mode 100644 src/6to4.c
diff --git a/Makefile.am b/Makefile.am
index 3ad1ee9..95aefc7 100644
---
---
src/6to4.c | 47 ++-
1 files changed, 46 insertions(+), 1 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index 68472e6..52a0c53 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -41,10 +41,15 @@
#include connman.h
#include connman/log.h
#include
---
gweb/gweb.c | 29 -
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/gweb/gweb.c b/gweb/gweb.c
index f3c8a7e..1bb1c70 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -31,6 +31,7 @@
#include string.h
#include sys/socket.h
#include arpa/inet.h
---
src/dhcp.c|4
src/service.c |2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index 6fda67d..dd7c498 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -73,6 +73,8 @@ static void dhcp_invalid(struct connman_dhcp *dhcp)
if (ipconfig
---
src/6to4.c| 20
src/connman.h |1 +
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index 52a0c53..8593e71 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -541,3 +541,23 @@ void __connman_6to4_remove(struct connman_ipconfig
---
src/connman.h |3 ++-
src/ipconfig.c |9 -
src/service.c |3 ++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index a4ebbbe..47f3c89 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -247,7 +247,8 @@ void
Hi Marcel,
On 17 March 2011 09:29, Marcel Holtmann mar...@holtmann.org wrote:
Hi Jukka,
diff --git a/src/inet.c b/src/inet.c
index 858d34c..40d8a8d 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -4,6 +4,10 @@
*
* Copyright (C) 2007-2010 Intel Corporation. All rights reserved.
*
+
Hi Marcel,
On 17 March 2011 18:50, Marcel Holtmann mar...@holtmann.org wrote:
Hi Jukka,
you don't have to go this much over board with this. I just needed to
double check by myself that we are GPLv2 compatible before going any
further with this patch.
Ok, I just wanted to be exact :)
hoping that the routing in the device forces the check
go through tunnel.
Regards,
Jukka
Jukka Rissanen (9):
doc: Add description about 6to4 tunnelling.
inet: MTU and tunnel setup functions added.
inet: Add routines to send IPv6 router solicitation message.
gweb: Add support for connecting
---
doc/service-api.txt |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 65554a2..7e87e6e 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -347,12 +347,16 @@ Propertiesstring State [readonly]
IPv6 router solicitation handling is from MIPL project.
Original code can be found at
git://linux-ipv6.org/gitroot/mipv6-daemon.git
and
http://www.linux-ipv6.org/gitweb/gitweb.cgi?p=gitroot/mipv6-daemon.git;a=blob;f=src/ndisc.c
---
src/connman.h |9 ++
src/inet.c| 313
---
include/inet.h |3 ++
src/inet.c | 71 ++-
2 files changed, 72 insertions(+), 2 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 9ba7781..9a9411d 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -73,6 +73,9 @@
---
gweb/gweb.c | 29 -
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/gweb/gweb.c b/gweb/gweb.c
index f3c8a7e..1bb1c70 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -31,6 +31,7 @@
#include string.h
#include sys/socket.h
#include arpa/inet.h
Netlink support routines taken from iproute2 package.
Iproute2 source code can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
---
Makefile.am |2 +-
src/6to4.c| 497 +
src/connman.h |3 +
3
---
src/6to4.c | 47 ++-
1 files changed, 46 insertions(+), 1 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index 767c866..e6815a0 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -40,10 +40,15 @@
#include connman.h
#include connman/log.h
#include
---
src/dhcp.c|4
src/service.c |2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index 3106c3d..03a2b90 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -73,6 +73,8 @@ static void dhcp_invalid(struct connman_dhcp *dhcp)
if (ipconfig
---
src/6to4.c| 20
src/connman.h |1 +
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/6to4.c b/src/6to4.c
index e6815a0..3877bfb 100644
--- a/src/6to4.c
+++ b/src/6to4.c
@@ -540,3 +540,23 @@ void __connman_6to4_remove(struct connman_ipconfig
---
src/connman.h |3 ++-
src/ipconfig.c |9 -
src/service.c |3 ++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index d466b21..01dca1b 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -256,7 +256,8 @@ void
automagically
when IPv6 is disabled.
13 - Mark the IPv6 gateway handling as done
Jukka
Jukka Rissanen (13):
inet: Changed error prints to print the error string.
inet: Fixed indentation.
service: Fixed indentation.
inet: Added support functions for setting and clearing IPv6 gateway
---
src/inet.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/inet.c b/src/inet.c
index e3adb7e..c55af06 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -783,7 +783,8 @@ int connman_inet_del_ipv6_network_route(int index, const
char *host,
close(sk);
---
src/inet.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/inet.c b/src/inet.c
index c55af06..05ead31 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -796,7 +796,7 @@ int connman_inet_del_ipv6_host_route(int index, const char
*host)
int
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 88b8ad8..1693109 100644
--- a/src/network.c
+++ b/src/network.c
@@ -657,6 +657,9 @@ int connman_network_set_associating(struct connman_network
*network,
---
src/service.c | 56 +---
1 files changed, 49 insertions(+), 7 deletions(-)
diff --git a/src/service.c b/src/service.c
index eca4ef2..216fa47 100644
--- a/src/service.c
+++ b/src/service.c
@@ -26,6 +26,7 @@
#include errno.h
#include
---
src/connman.h |1 +
src/ipconfig.c | 30 --
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 7e22b78..9e28837 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -249,6 +249,7 @@ enum connman_ipconfig_method
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 4abcb09..0ae77ca 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1101,6 +1101,9 @@ static gboolean set_connected(gpointer user_data)
---
include/ipconfig.h |1 +
src/ipconfig.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 8980a78..34463eb 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -99,6 +99,7 @@ void
---
src/network.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 0ae77ca..ac7bd07 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1104,6 +1104,17 @@ static gboolean set_connected(gpointer user_data)
---
TODO | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/TODO b/TODO
index 7420ba0..8937041 100644
--- a/TODO
+++ b/TODO
@@ -64,16 +64,6 @@ Core
not all driver (especially WiFi ones) implement runtime PM hooks.
-- IPv6 gateway handling
-
- Priority:
Hi Samuel,
On 06/21/2011 07:11 PM, Samuel Ortiz wrote:
Hi Jukka,
On Mon, Jun 20, 2011 at 02:05:26PM +0300, Jukka Rissanen wrote:
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 4abcb09..0ae77ca 100644
Hi Samuel,
On 06/21/2011 07:10 PM, Samuel Ortiz wrote:
Hi Jukka,
On Mon, Jun 20, 2011 at 02:05:23PM +0300, Jukka Rissanen wrote:
---
include/ipconfig.h |1 +
src/connection.c | 495
src/connman.h |9 +-
src/ipconfig.c
---
src/service.c | 56 +---
1 files changed, 49 insertions(+), 7 deletions(-)
diff --git a/src/service.c b/src/service.c
index 3f6df36..7f55bbf 100644
--- a/src/service.c
+++ b/src/service.c
@@ -26,6 +26,7 @@
#include errno.h
#include
---
include/inet.h |2 +
src/inet.c | 92
2 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/include/inet.h b/include/inet.h
index 19f4455..1aa23ea 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -69,6 +69,8 @@
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 88b8ad8..1693109 100644
--- a/src/network.c
+++ b/src/network.c
@@ -657,6 +657,9 @@ int connman_network_set_associating(struct connman_network
*network,
---
src/network.c | 23 +++
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/network.c b/src/network.c
index acc374f..4abcb09 100644
--- a/src/network.c
+++ b/src/network.c
@@ -960,6 +960,8 @@ static int manual_ipv6_set(struct connman_network *network,
---
include/ipconfig.h |1 +
src/connection.c | 495 +++-
src/connman.h |9 +-
src/ipconfig.c | 18 +-
src/network.c |3 +-
5 files changed, 393 insertions(+), 133 deletions(-)
diff --git a/include/ipconfig.h
The reason for this patch is that service disconnect code path
is different from service change code path. In disconnect,
the __connman_ipconfig_address_remove() is called which clears the
addresses from interface. When changing from one service to another,
the function
---
include/ipconfig.h |1 +
src/ipconfig.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 8980a78..34463eb 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -99,6 +99,7 @@ void
The new function removes the address from interface but does not
touch internal data structures.
---
src/connman.h |1 +
src/ipconfig.c | 30 --
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index da8323d..948a285
---
src/network.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 0ae77ca..ac7bd07 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1104,6 +1104,17 @@ static gboolean set_connected(gpointer user_data)
---
TODO | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/TODO b/TODO
index e376522..36f8240 100644
--- a/TODO
+++ b/TODO
@@ -57,16 +57,6 @@ Core
not all driver (especially WiFi ones) implement runtime PM hooks.
-- IPv6 gateway handling
-
- Priority:
Hi,
this patchset implements a simple DNS A and record caching
based on their TTL. The caching is implemented inside dnsproxy.
Following limits are implemented in the cache:
- max number of cached entries is currently 256 (in order to not use
too much memory, each cache entry is about 100
---
TODO |9 -
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/TODO b/TODO
index 36f8240..22078c8 100644
--- a/TODO
+++ b/TODO
@@ -36,15 +36,6 @@ Core
credentials, ConnMan should be able to initiate a WiSPR authentication.
-- DNS caching
-
- Priority: Low
-
---
src/dnsproxy.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index a9bab01..1bf5328 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -306,7 +306,7 @@ static gboolean request_timeout(gpointer user_data)
---
src/dnsproxy.c | 412 ++-
1 files changed, 404 insertions(+), 8 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index d03b734..a9bab01 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -90,6 +90,7 @@ struct server_data {
Hi Marcel,
On 07/07/2011 08:52 AM, Marcel Holtmann wrote:
Hi Jukka,
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 9701343..246a6a2 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -123,6 +123,52 @@ struct listener_data {
guint tcp_listener_watch;
};
+struct cache_data {
+
server constants (NS_) from resolv.h
Regards,
Jukka
Jukka Rissanen (2):
dnsproxy: Implement A and DNS record caching.
TODO: DNS caching
TODO |9 -
src/dnsproxy.c | 708 +++-
2 files changed, 699 insertions(+), 18
---
src/dnsproxy.c | 708 +++-
1 files changed, 699 insertions(+), 9 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 9701343..37e6b1e 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -32,6 +32,7 @@
#include sys/types.h
---
TODO |9 -
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/TODO b/TODO
index 36f8240..22078c8 100644
--- a/TODO
+++ b/TODO
@@ -36,15 +36,6 @@ Core
credentials, ConnMan should be able to initiate a WiSPR authentication.
-- DNS caching
-
- Priority: Low
-
---
src/provider.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 9ae62cd..f3b10a0 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -879,7 +879,10 @@ int connman_provider_append_route(struct connman_provider
*provider,
---
src/service.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/service.c b/src/service.c
index c11ae44..dbd0c83 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3428,7 +3428,7 @@ static void report_error_cb(struct connman_service
*service,
}
}
If the userconnect is not set, then informatation about authentication
errors cannot be reported by agent API.
---
src/service.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/service.c b/src/service.c
index b2670aa..c11ae44 100644
--- a/src/service.c
+++
We should not try to change the state if the corresponding ipconfig
is set to be OFF. What this means that we change the state and
combine ipv4 and ipv6 states only if both are active. This patch is
needed by provider and the VPN authentication failure case.
---
src/service.c | 20
---
src/provider.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index f0ede5e..90f145d 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -571,11 +571,12 @@ int __connman_provider_create_and_connect(DBusMessage
*msg)
The reference counting problems were clearly seen with VPN service.
---
src/connection.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 4f3b3f8..38269d6 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -227,6 +227,7
itself so there are no processes left around.
21 - Mark l2tp and pptp support as done.
Regards,
Jukka
Jukka Rissanen (15):
vpn: Add null checks.
l2tp: Add l2tp makefile and configure file.
pptp: Add pptp makefile and configure file.
scripts: Compile libppp-plugin.so properly.
l2tp: Set
---
plugins/vpn.c | 18 --
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/plugins/vpn.c b/plugins/vpn.c
index 506a71c..a1759c9 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -77,6 +77,9 @@ static int stop_vpn(struct connman_provider *provider)
From: Mohamed Abbas mab...@linux.intel.com
Change task notify to allow client to send dbus reply. This
will allow vpn plugin to send requested user/password info.
---
include/task.h |2 +-
plugins/vpn.c |8 +---
src/task.c | 30 +-
3 files changed,
101 - 200 of 1860 matches
Mail list logo