Re: [RFC v0] supplicant: Do proper SSID UTF-8 encoding

2011-11-01 Thread Patrik Flykt
Hi, On Mon, 2011-10-31 at 16:54 +0100, Daniel Wagner wrote: BTW, I have tested this and the result and without the patch not network name was printet but with it it looks like this: And by writing the German umlauts in ISO 8859-15 charset you get question marks in the name, right?

[PATCH] network: Disconnect network properly.

2011-11-01 Thread Jukka Rissanen
When network is removed (for example when ethernet cable is disconnected), then network needs to be disconnected also. The disconnect was not done at all because of the reference counting fixes in dhcp code. --- src/network.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH] network: Check device pointer when doing IPv6 autoconf

2011-11-01 Thread Jukka Rissanen
The device can disappear if network is disconnected while setting autoconf parameters. --- src/network.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/network.c b/src/network.c index c0e6024..e010aaa 100644 --- a/src/network.c +++ b/src/network.c @@ -1027,6

[PATCH dhcpv6-sl v2 0/2] dhcpv6: Support stateless DHCPv6

2011-11-01 Thread Jukka Rissanen
Hi, this version fixes the issues found out in v1. The patchset has been reworked so that it is now streamlined with stateful DHCPv6 patcheset (coming soon to mailing list). Cheers, Jukka Jukka Rissanen (2): gdhcp: Generic stateless DHCPv6 support. dhcpv6: Support stateless DHCPv6

[PATCH dhcpv6-sl v2 1/2] gdhcp: Generic stateless DHCPv6 support.

2011-11-01 Thread Jukka Rissanen
The patch adds support for information-request DHCPv6 message. --- gdhcp/client.c | 503 gdhcp/common.c | 202 ++- gdhcp/common.h | 43 +- gdhcp/gdhcp.h | 24 +++- gdhcp/server.c |2 +- 5 files changed,

[PATCH dhcpv6-sf v1 05/10] dhcpv6: Request message implemented.

2011-11-01 Thread Jukka Rissanen
--- gdhcp/client.c | 36 - gdhcp/gdhcp.h |8 src/dhcpv6.c | 123 3 files changed, 166 insertions(+), 1 deletions(-) diff --git a/gdhcp/client.c b/gdhcp/client.c index 10042c8..4be5374 100644 ---

[PATCH dhcpv6-sf v1 08/10] dhcpv6: Handle address expiration by restarting the stack.

2011-11-01 Thread Jukka Rissanen
--- gdhcp/client.c | 18 ++- gdhcp/gdhcp.h |4 ++- src/dhcpv6.c | 65 +++ src/network.c | 28 +-- 4 files changed, 100 insertions(+), 15 deletions(-) diff --git a/gdhcp/client.c b/gdhcp/client.c

[PATCH dhcpv6-sf v1 06/10] dhcpv6: Renew message implemented.

2011-11-01 Thread Jukka Rissanen
--- gdhcp/client.c | 46 - gdhcp/gdhcp.h |5 ++- src/connman.h |2 + src/dhcpv6.c | 125 +++- src/network.c |2 + 5 files changed, 177 insertions(+), 3 deletions(-) diff --git a/gdhcp/client.c

[PATCH dhcpv6-sf v1 07/10] dhcpv6: Rebind message implemented.

2011-11-01 Thread Jukka Rissanen
--- gdhcp/client.c | 48 - gdhcp/gdhcp.h |4 ++- src/dhcpv6.c | 107 --- 3 files changed, 150 insertions(+), 9 deletions(-) diff --git a/gdhcp/client.c b/gdhcp/client.c index f1ce555..3e6b596 100644 ---

[PATCH dhcpv6-sf v1 10/10] dhcpv6: Allow address setting in IPv6 auto mode.

2011-11-01 Thread Jukka Rissanen
The DHCPv6 is used when doing autoconfiguration so we must allow address setting/unsetting in auto mode. --- src/ipconfig.c |6 +++--- src/network.c |4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index cced765..2443735 100644 ---

[PATCH dhcpv6-sf v1 00/10] dhcpv6: Support stateful DHCPv6

2011-11-01 Thread Jukka Rissanen
Hi, this patchset adds stateful DHCPv6 support. Cheers, Jukka Jukka Rissanen (10): inet: Return router advertisement packet length in callback. inet: Get router advertisement prefix option information. ipconfig: Return IPv6 privacy status. dhcpv6: Initial stateful DHCPv6 support.

[PATCH dhcpv6-sf v1 09/10] dhcpv6: Release message impelemented.

2011-11-01 Thread Jukka Rissanen
--- gdhcp/client.c | 31 gdhcp/gdhcp.h |1 + src/connman.h |2 + src/dhcpv6.c | 61 src/network.c | 17 ++- 5 files changed, 111 insertions(+), 1 deletions(-) diff --git

[PATCH dhcpv6-sf v1 03/10] ipconfig: Return IPv6 privacy status.

2011-11-01 Thread Jukka Rissanen
--- src/connman.h |1 + src/ipconfig.c |8 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index efa38f4..f4059c2 100644 --- a/src/connman.h +++ b/src/connman.h @@ -250,6 +250,7 @@ int __connman_ipconfig_load(struct connman_ipconfig

[PATCH dhcpv6-sf v1 01/10] inet: Return router advertisement packet length in callback.

2011-11-01 Thread Jukka Rissanen
The length of the RA packet must be returned in callback, otherwise callback cannot check RA options. The prefix length RA option is needed in stateful DHCPv6 implementation. --- src/6to4.c|5 +++-- src/connman.h |2 +- src/inet.c|8 +--- src/network.c |3 ++- 4 files

[PATCH dhcpv6-sf v1 02/10] inet: Get router advertisement prefix option information.

2011-11-01 Thread Jukka Rissanen
--- src/connman.h |2 ++ src/inet.c| 50 ++ 2 files changed, 52 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 97cd81b..efa38f4 100644 --- a/src/connman.h +++ b/src/connman.h @@ -137,6 +137,8 @@ typedef

[PATCH dhcpv6-sf v1 04/10] dhcpv6: Initial stateful DHCPv6 support.

2011-11-01 Thread Jukka Rissanen
This patch contains solicitation message support. --- gdhcp/client.c | 419 ++-- gdhcp/common.c | 25 gdhcp/common.h |2 + gdhcp/gdhcp.h | 15 ++ src/connman.h |2 + src/dhcpv6.c | 324

Re: [PATCH 00/14] iptables-test tool: match feature support

2011-11-01 Thread Tomasz Bursztyka
Hi Samuel, I'm ok with having our own connman chain, although this won't solve any of the iptables existing race conditions. I know it's not really possible to solve iptables race conditions and I am not trying to fix it. But if the table is modified by the user directly, who knows what he is

Re: [RFC v0] supplicant: Do proper SSID UTF-8 encoding

2011-11-01 Thread Daniel Wagner
Hi Patrik, On 11/01/2011 09:50 AM, Patrik Flykt wrote: On Mon, 2011-10-31 at 16:54 +0100, Daniel Wagner wrote: BTW, I have tested this and the result and without the patch not network name was printet but with it it looks like this: And by writing the German umlauts in ISO 8859-15 charset