[PATCH 7/7] todo: removed wispr task.

2011-06-29 Thread Tomasz Bursztyka
--- TODO | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index 36f8240..5be0320 100644 --- a/TODO +++ b/TODO @@ -26,16 +26,6 @@ Core See http://www.mail-archive.com/connman@connman.net/msg01653.html -- WiSPR support - - Priority: Medium -

[PATCH 6/7] test: added wispr username/password request input handlers in simple-agent.

2011-06-29 Thread Tomasz Bursztyka
--- test/simple-agent | 61 ++--- 1 files changed, 53 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index b0990de..cda9693 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -14,6 +14,8 @@ class Agent(dbus

Re: [PATCH 0/7] WISPr support

2011-06-29 Thread Tomasz Bursztyka
Hi Marcel, > Please do not delete tools/wispr.c since that will be still a very good > testing tool for various people. I wanna keep that around. > Ok forget about patch 2 then. I am going to send a new version of patch 3. Tomasz ___ connman mailing list

[PATCH] wispr: merged location/portal and wispr support in one place.

2011-06-29 Thread Tomasz Bursztyka
--- src/connman.h | 10 +- src/wispr.c | 673 + 2 files changed, 680 insertions(+), 3 deletions(-) diff --git a/src/connman.h b/src/connman.h index d9d0307..f1fc20f 100644 --- a/src/connman.h +++ b/src/connman.h @@ -302,9 +302,6 @@ void

[PATCH 0/2] WPAD and ipconfig type

2011-06-30 Thread Tomasz Bursztyka
dress family. Question is: will we in the future handle different proxy configuration, one for ipv4 and one for ipv6? Please review, Tomasz Bursztyka (2): gresolv: added the capability to restrict the results to a specific address family. wpad: switching to separated ip family context

[PATCH 1/2] gresolv: added the capability to restrict the results to a specific address family.

2011-06-30 Thread Tomasz Bursztyka
--- gweb/gresolv.c | 26 ++ gweb/gresolv.h |2 ++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/gweb/gresolv.c b/gweb/gresolv.c index a334d84..27de74e 100644 --- a/gweb/gresolv.c +++ b/gweb/gresolv.c @@ -62,6 +62,8 @@ struct resolv_lookup { G

[PATCH 2/2] wpad: switching to separated ip family context based logic.

2011-06-30 Thread Tomasz Bursztyka
--- src/connman.h |3 +- src/service.c |2 +- src/wpad.c| 147 +++- 3 files changed, 105 insertions(+), 47 deletions(-) diff --git a/src/connman.h b/src/connman.h index 90572b5..bbeb8ed 100644 --- a/src/connman.h +++ b/src/connman.h

[PATCH 1/1] service: Add __connman_service_ipconfig_indicate_state().

2011-06-30 Thread Tomasz Bursztyka
--- src/connman.h |4 src/service.c | 44 2 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 0c6d6b1..4cc2429 100644 --- a/src/connman.h +++ b/src/connman.h @@ -497,6 +497,10 @@ void __connman_

[PATCH 1/1] service: Use __connman_service_ipconfig_indicate_state()

2011-06-30 Thread Tomasz Bursztyka
--- src/connection.c |6 -- src/connman.h|2 -- src/location.c |2 +- src/network.c| 52 src/provider.c |6 +++--- src/service.c| 50 +- 6 files changed, 53

[PATCH 0/4] Service State Machine Transition NG - new

2011-07-01 Thread Tomasz Bursztyka
cate_state() service 0x1fbdaf0 (wifi_a088b4318bd8_496e74656c_managed_psk) state 5 (online) type 1 (IPv4) connmand[27885]: src/service.c:__connman_service_indicate_state() service 0x1fbdaf0 old ready - new online/ready => online Please review, Cheers, Tomasz Bursztyka (4): monitor-connman: Par

[PATCH 1/4] monitor-connman: Parse Notification messages.

2011-07-01 Thread Tomasz Bursztyka
--- test/monitor-connman | 47 +-- 1 files changed, 45 insertions(+), 2 deletions(-) diff --git a/test/monitor-connman b/test/monitor-connman index cf8f7a6..4d44519 100755 --- a/test/monitor-connman +++ b/test/monitor-connman @@ -7,12 +7,54 @@ import

[PATCH 2/4] service: Add __connman_service_ipconfig_indicate_state().

2011-07-01 Thread Tomasz Bursztyka
--- src/connman.h |4 src/service.c | 44 2 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 0c6d6b1..4cc2429 100644 --- a/src/connman.h +++ b/src/connman.h @@ -497,6 +497,10 @@ void __connman_

[PATCH 3/4] service: Use __connman_service_ipconfig_indicate_state()

2011-07-01 Thread Tomasz Bursztyka
--- src/connection.c |6 -- src/connman.h|2 -- src/location.c |2 +- src/network.c| 52 src/provider.c |6 +++--- src/service.c| 48 6 files changed, 52 in

[PATCH 4/4] service: separating the ipconfig state handling logic and the service state one.

2011-07-01 Thread Tomasz Bursztyka
In previous patch, __connman_service_ipconfig_indicate_state() was introduced. Now the ipconfig state logic which was in __connman_service_indicate_state() has been moved there. If relevant, __connman_service_indicate_state() will be called from __connman_service_ipconfig_indicate_state(). Now, a s

Re: [PATCH 1/2] gresolv: added the capability to restrict the results to a specific address family.

2011-07-01 Thread Tomasz Bursztyka
Hi Marcel, >> gboolean g_resolv_cancel_lookup(GResolv *resolv, guint id); >> >> +gboolean g_resolv_set_result_address_family(GResolv *resolv, int family); >> + > why is not using g_web_set_address_family() enough and just restrict > outgoing and result at the same time? gweb is not used in wpad

[PATCH 0/2] gweb/gresolv consistency against address family restiction.

2011-07-01 Thread Tomasz Bursztyka
Hi, Here is two patches to make address family restriction consistent in both gweb and gresolv. First patch adds g_resolv_set_address_family() and second one add its usage inside g_web_set_address_family() so the resolver in gweb gets the restriction applied too. Please review, Tomasz

[PATCH 1/2] gresolv: added the capability to restrict the results to a specific address family.

2011-07-01 Thread Tomasz Bursztyka
--- gweb/gresolv.c | 26 ++ gweb/gresolv.h |2 ++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/gweb/gresolv.c b/gweb/gresolv.c index a334d84..42a3757 100644 --- a/gweb/gresolv.c +++ b/gweb/gresolv.c @@ -62,6 +62,8 @@ struct resolv_lookup { G

[PATCH 2/2] gweb: applying address family restiction to resolver (using g_resolv_set_address_family)

2011-07-01 Thread Tomasz Bursztyka
--- gweb/gweb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index 536de00..34288bf 100644 --- a/gweb/gweb.c +++ b/gweb/gweb.c @@ -294,6 +294,8 @@ gboolean g_web_set_address_family(GWeb *web, int family) web->family = family; +

[PATCH 0/2] gweb/gresolv consistency against address family restiction.

2011-07-04 Thread Tomasz Bursztyka
Hi, Rewritten the first patch so it restricts the queries to a specific address family instead of filtering the result. Tomasz Bursztyka (2): gresolv: queries address family scope restriction. gweb: applying address family restiction to resolver. gweb/gresolv.c | 41

[PATCH 2/2] gweb: applying address family restiction to resolver.

2011-07-04 Thread Tomasz Bursztyka
--- gweb/gweb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index 536de00..34288bf 100644 --- a/gweb/gweb.c +++ b/gweb/gweb.c @@ -294,6 +294,8 @@ gboolean g_web_set_address_family(GWeb *web, int family) web->family = family; +

[PATCH 1/2] gresolv: queries address family scope restriction.

2011-07-04 Thread Tomasz Bursztyka
Adding the capability to restrict DNS queries to a specific address family through gresolv_set_address_family(). By default, AF_UNSPEC is applied. --- gweb/gresolv.c | 41 + gweb/gresolv.h |2 ++ 2 files changed, 35 insertions(+), 8 deletions(-) diff

[PATCH 00/11] WISPr support - 2nd patch version

2011-07-05 Thread Tomasz Bursztyka
Hi, Here is the patchset for WISPr/Portal support. I sliced the previous patches, and did no removed wispr tool. Please review, Tomasz Bursztyka (11): location: deleted location support and portal plugin. wispr: adding structures and start/stop functions. wispr: adding wispr logic

[PATCH 01/11] location: deleted location support and portal plugin.

2011-07-05 Thread Tomasz Bursztyka
--- Makefile.am|6 +- Makefile.plugins | 12 -- configure.ac |6 - include/location.h | 78 -- plugins/portal.c | 239 -- src/connman.h | 11 -- src/location.c | 294 -

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-05 Thread Tomasz Bursztyka
wispr will be ran on ipv4/ipv6 depending on service configuration. Due to that it maintains 2 respectives contexts. --- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/conn

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-07-05 Thread Tomasz Bursztyka
--- src/service.c |8 +++- src/wpad.c|6 ++ 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index f1973a5..a7b5d56 100644 --- a/src/service.c +++ b/src/service.c @@ -3568,13 +3568,17 @@ int __connman_service_indicate_state(struct c

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-07-05 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9267eb9..c728d5d 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

[PATCH 05/11] wispr: added portal web request and result handling logic.

2011-07-05 Thread Tomasz Bursztyka
--- src/wispr.c | 91 +++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index c728d5d..7c1e5a4 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -39,6 +39,7 @@ struct connman_wispr_portal_context {

[PATCH 06/11] wispr: added WISPr XML content parser.

2011-07-05 Thread Tomasz Bursztyka
--- src/wispr.c | 220 +++ 1 files changed, 220 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 7c1e5a4..ef78770 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -32,6 +32,19 @@ #define STATUS_URL "http://www.con

[PATCH 08/11] agent: added Username/Password request input logic.

2011-07-05 Thread Tomasz Bursztyka
--- src/agent.c | 134 - src/connman.h |4 +- src/service.c |2 +- 3 files changed, 136 insertions(+), 4 deletions(-) diff --git a/src/agent.c b/src/agent.c index 56217ef..e53f59c 100644 --- a/src/agent.c +++ b/src/agent.c @@ -257

[PATCH 07/11] wispr: handle WISPr messages and apply relevant states.

2011-07-05 Thread Tomasz Bursztyka
--- src/wispr.c | 157 --- 1 files changed, 139 insertions(+), 18 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index ef78770..8f0c001 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -45,6 +45,13 @@ struct connman_wispr_message {

[PATCH 09/11] wispr: requesting login input through the agent.

2011-07-05 Thread Tomasz Bursztyka
--- src/wispr.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 8f0c001..9ae0ebc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -65,6 +65,10 @@ struct connman_wispr_portal_context {

[PATCH 10/11] test: added Username/Password input support in simple-agent.

2011-07-05 Thread Tomasz Bursztyka
--- test/simple-agent | 61 ++--- 1 files changed, 53 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index b0990de..cda9693 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -14,6 +14,8 @@ class Agent(dbus

[PATCH 11/11] todo: removed wispr task.

2011-07-05 Thread Tomasz Bursztyka
--- TODO | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index 36f8240..5be0320 100644 --- a/TODO +++ b/TODO @@ -26,16 +26,6 @@ Core See http://www.mail-archive.com/connman@connman.net/msg01653.html -- WiSPR support - - Priority: Medium -

Re: libresolv dependency

2011-07-07 Thread Tomasz Bursztyka
Hi, > I would like to use connman on uClibc based environment and ran into > the problem that functions from libresolv are required by connman, and > uClibc doesn't have implementations for them. I briefly looked into > what it might take to add them and it seems to be quite a mess to do. > More th

[PATCH 0/6] Service State Transition - version 3

2011-07-07 Thread Tomasz Bursztyka
ine -> ready with an non-online AP) which have to fixed later on. Please review. Daniel Wagner (3): monitor-connman: Parse Notification messages service: Add __connman_service_ipconfig_indicate_state() service: Use __connman_service_ipconfig_indicate_state() Tomasz Bursztyka (3): s

[PATCH 1/6] monitor-connman: Parse Notification messages

2011-07-07 Thread Tomasz Bursztyka
From: Daniel Wagner --- test/monitor-connman | 47 +-- 1 files changed, 45 insertions(+), 2 deletions(-) diff --git a/test/monitor-connman b/test/monitor-connman index cf8f7a6..4d44519 100755 --- a/test/monitor-connman +++ b/test/monitor-connman @@

[PATCH 2/6] service: Add __connman_service_ipconfig_indicate_state()

2011-07-07 Thread Tomasz Bursztyka
From: Daniel Wagner --- src/connman.h |4 src/service.c | 44 2 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index e4c35da..c54460b 100644 --- a/src/connman.h +++ b/src/connman.h @@ -497,6 +497

[PATCH 3/6] service: Use __connman_service_ipconfig_indicate_state()

2011-07-07 Thread Tomasz Bursztyka
From: Daniel Wagner --- src/connection.c |6 -- src/connman.h|2 -- src/location.c |2 +- src/network.c| 52 src/provider.c |6 +++--- src/service.c| 48

[PATCH 4/6] service: separating ipconfig state and service state handling

2011-07-07 Thread Tomasz Bursztyka
--- src/connman.h |5 +- src/service.c | 270 - 2 files changed, 113 insertions(+), 162 deletions(-) diff --git a/src/connman.h b/src/connman.h index 0294c64..408b809 100644 --- a/src/connman.h +++ b/src/connman.h @@ -496,12 +496,9 @@ i

[PATCH 5/6] ipconfig: added a getter for system address.

2011-07-07 Thread Tomasz Bursztyka
--- 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 408b809..de27f22 100644 --- a/src/connman.h +++ b/src/connman.h @@ -213,6 +213,7 @@ unsigned int __connman_ipconfig_get_flags_from_index(i

[PATCH 6/6] service: on ipv6, set ready state on specific condition.

2011-07-07 Thread Tomasz Bursztyka
If method is auto on ipv6 and if there is no system address set, there will be no need to switch to ready state. This happened previously when there is only a link local address and default route is set according to it. --- src/service.c |6 -- 1 files changed, 4 insertions(+), 2 deletions

Re: [PATCH 6/6] service: on ipv6, set ready state on specific condition.

2011-07-08 Thread Tomasz Bursztyka
Hi Samuel, > So I think this one is wrong. If you look at the rtnl.c code, you will see > that IPv6 link local addresses (and related routes) are filtered out. The > IP bound calls you were getting came from a bug from > __connman_ipconfig_[add|del]* routines. We were calling the IP bound ops for >

[PATCH] Ready state for service, should be ran only once.

2011-07-08 Thread Tomasz Bursztyka
src/service.c:__connman_service_indicate_state() service 0x8699e38 old online - new disconnect/ready => disconnect Please review, Tomasz Bursztyka (1): service: preventing to call ready state more than once. src/service.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) -- 1

[PATCH] service: preventing to call ready state more than once.

2011-07-08 Thread Tomasz Bursztyka
--- src/service.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/service.c b/src/service.c index 04bc51c..495e4de 100644 --- a/src/service.c +++ b/src/service.c @@ -363,7 +363,8 @@ static enum connman_service_state combine_state( } if (state

[PATCH] service: disconnect state has priority over online one.

2011-07-08 Thread Tomasz Bursztyka
--- src/service.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index 495e4de..accfe23 100644 --- a/src/service.c +++ b/src/service.c @@ -381,11 +381,17 @@ static enum connman_service_state combine_state( } if (state

[PATCH] service: disconnect state has priority over online one.

2011-07-08 Thread Tomasz Bursztyka
--- src/service.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index 495e4de..bfd94a5 100644 --- a/src/service.c +++ b/src/service.c @@ -381,12 +381,18 @@ static enum connman_service_state combine_state( } if (sta

Re: Wifi: error fi.w1.wpa_supplicant1.UnknownError

2011-07-12 Thread Tomasz Bursztyka
Hi, > ** (connmand:732): CRITICAL **: error fi.w1.wpa_supplicant1.UnknownError > Your wpa_supplicant is not running with the new dbus interface which binds fi.epitest.hostap.WPASupplicant You need to recompile wpa_supplicant with the right option on its .config file. Connman does not use anymore th

Re: Wifi: error fi.w1.wpa_supplicant1.UnknownError

2011-07-12 Thread Tomasz Bursztyka
> binds fi.epitest.hostap.WPASupplicant I am telling bs this morning... fi.w1.hostap.wpa_supplicant1 IS the new interface which needs to be enabled in .config. sorry Be sure you get right the dbus config file for wpa_supplicant too. Tomasz ___ connman

[PATCH 00/11] WISPr support - version 3

2011-07-13 Thread Tomasz Bursztyka
Hi, Same patchset as before, though this one has been adapted to the new HEAD. Please review, Tomasz Bursztyka (11): location: deleted location support and portal plugin. wispr: adding structures and start/stop functions. wispr: adding wispr logic entries in service and wpad. wispr

[PATCH 01/11] location: deleted location support and portal plugin.

2011-07-13 Thread Tomasz Bursztyka
--- Makefile.am|6 +- Makefile.plugins | 12 -- configure.ac |6 - include/location.h | 78 -- plugins/portal.c | 239 -- src/connman.h | 11 -- src/location.c | 294 -

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-13 Thread Tomasz Bursztyka
wispr will be ran on ipv4/ipv6 depending on service configuration. Due to that it maintains 2 respectives contexts. --- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/conn

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-07-13 Thread Tomasz Bursztyka
--- src/service.c |8 +++- src/wpad.c|6 ++ 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index b1f5626..7c1115a 100644 --- a/src/service.c +++ b/src/service.c @@ -3525,6 +3525,8 @@ static int __connman_service_indicate_state(stru

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-07-13 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9267eb9..c728d5d 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

[PATCH 05/11] wispr: added portal web request and result handling logic.

2011-07-13 Thread Tomasz Bursztyka
--- src/wispr.c | 91 +++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index c728d5d..e079316 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -39,6 +39,7 @@ struct connman_wispr_portal_context {

[PATCH 06/11] wispr: added WISPr XML content parser.

2011-07-13 Thread Tomasz Bursztyka
--- src/wispr.c | 220 +++ 1 files changed, 220 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index e079316..6a7e603 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -32,6 +32,19 @@ #define STATUS_URL "http://www.con

[PATCH 07/11] wispr: handle WISPr messages and apply relevant states.

2011-07-13 Thread Tomasz Bursztyka
--- src/wispr.c | 157 --- 1 files changed, 139 insertions(+), 18 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 6a7e603..c3d8c7d 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -45,6 +45,13 @@ struct connman_wispr_message {

[PATCH 08/11] agent: added Username/Password request input logic.

2011-07-13 Thread Tomasz Bursztyka
--- src/agent.c | 134 - src/connman.h |4 +- src/service.c |2 +- 3 files changed, 136 insertions(+), 4 deletions(-) diff --git a/src/agent.c b/src/agent.c index 56217ef..e53f59c 100644 --- a/src/agent.c +++ b/src/agent.c @@ -257

[PATCH 09/11] wispr: requesting login input through the agent.

2011-07-13 Thread Tomasz Bursztyka
--- src/wispr.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index c3d8c7d..283c74d 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -65,6 +65,10 @@ struct connman_wispr_portal_context {

[PATCH 10/11] test: added Username/Password input support in simple-agent.

2011-07-13 Thread Tomasz Bursztyka
--- test/simple-agent | 61 ++--- 1 files changed, 53 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index b0990de..cda9693 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -14,6 +14,8 @@ class Agent(dbus

[PATCH 11/11] todo: removed wispr task.

2011-07-13 Thread Tomasz Bursztyka
--- TODO | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index 36f8240..5be0320 100644 --- a/TODO +++ b/TODO @@ -26,16 +26,6 @@ Core See http://www.mail-archive.com/connman@connman.net/msg01653.html -- WiSPR support - - Priority: Medium -

[PATCH] wpad: switching to separated ip family context based logic.

2011-07-13 Thread Tomasz Bursztyka
--- src/connman.h |3 +- src/service.c |2 +- src/wpad.c| 147 +++- 3 files changed, 105 insertions(+), 47 deletions(-) diff --git a/src/connman.h b/src/connman.h index fbe6067..297b123 100644 --- a/src/connman.h +++ b/src/connman.h

[PATCH] Wpad ip context handling

2011-07-13 Thread Tomasz Bursztyka
Same patch as before, it has been adapted to the new HEAD. Please review, Tomasz Bursztyka (1): wpad: switching to separated ip family context based logic. src/connman.h |3 +- src/service.c |2 +- src/wpad.c| 147 +++- 3 files

[PATCH] ipconfig: small indentation fixes.

2011-07-13 Thread Tomasz Bursztyka
--- src/ipconfig.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 9f73b65..5e94888 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -753,7 +753,8 @@ void __connman_ipconfig_newaddr(int index, int family, const char *

Re: Wifi: error fi.w1.wpa_supplicant1.UnknownError

2011-07-13 Thread Tomasz Bursztyka
Hi, > Which version of > wpa_supplicant are you using, how is it launched and did you tweak and > config settings? stable version (7.3) or dev version (8.x) work. But I don't see anything wrong on how you run wpa_supplicant and connman error "fi.w1.wpa_supplicant1.UnknownError" might come from man

Re: [PATCH] configure.ac: Also look for libnl-3 when querying pkg-config for libnl

2011-07-15 Thread Tomasz Bursztyka
Hi, >> > + PKG_CHECK_MODULES(NETLINK, libnl-1, has_libnl=yes, has_libnl=no) >> > + PKG_CHECK_MODULES(NETLINK, libnl-3.0, has_libnl=yes, has_libnl=no) >> > + What if you have libnl-1 and not libnl-3.0 ? has_libnl will become first 'yes' and then back to 'no' so then you will get the err

Re: [PATCH] configure.ac: Also look for libnl-3 when querying pkg-config for libnl

2011-07-15 Thread Tomasz Bursztyka
Hi, Seems better, but what about NETLINK_CFLAGS and NETLINK_LIBS, are they still the same within libnl-1 and libnl-3.0, and is the compatibility kept? Because, if while testing you had both libnl-1 and libnl-3.0 installed, it might have worked just because the cflags and ldflags were still target

[RFC] Personnal Firewall into ConnMan

2011-07-15 Thread Tomasz Bursztyka
Hi, Here is an rfc about supporting a personal firewall into conman. I wanted to be clear in the proposal, therefore it's not so short, so take a bit of time to read. I tried to keep things simple for dbus api, and make it clear also on how connman will manage netfilter so it does not become a me

Re: [PATCH] ipconfig: small indentation fixes.

2011-07-18 Thread Tomasz Bursztyka
Hi Marcel, >> >> -if ((ipdevice->flags & (IFF_RUNNING | IFF_LOWER_UP)) != (IFF_RUNNING | >> IFF_LOWER_UP)) >> +if ((ipdevice->flags & (IFF_RUNNING | IFF_LOWER_UP)) != >> +(IFF_RUNNING | IFF_LOWER_UP)) >> return; > this is actually pretty u

Re: [PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-18 Thread Tomasz Bursztyka
Hi Marcel, >> +void __connman_wispr_portal_stop(struct connman_service *service); > I think we should not carry _portal_ around any longer. Just call > everything connman_wispr and be done with it. The term portal is highly > confusing and WISPr implies the check for it anyway. > True, moreover the

Re: [PATCH] wpad: switching to separated ip family context based logic.

2011-07-18 Thread Tomasz Bursztyka
Hi Marcel, >> struct connman_service *service; >> +enum connman_ipconfig_type type; >> + >> GResolv *resolv; >> char *hostname; >> char **addrlist; >> }; >> >> +struct connman_wpad { >> +struct connman_wpad_context *ipv4_context; >> +struct connman_wpad_context *i

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-18 Thread Tomasz Bursztyka
--- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index f39da0e..614c5e6 100644 --- a/src/connman.h +++ b/src/connman.h @@ -304,6 +304,9 @@ void

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-07-18 Thread Tomasz Bursztyka
--- src/service.c |8 +++- src/wpad.c|6 ++ 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index b1f5626..664a8d1 100644 --- a/src/service.c +++ b/src/service.c @@ -3525,6 +3525,8 @@ static int __connman_service_indicate_state(stru

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-07-18 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index fe3c77c..9d056bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

Re: [PATCH] wpad: switching to separated ip family context based logic.

2011-07-18 Thread Tomasz Bursztyka
Hi Marcel, > nobody has thought of. And with the fact that WPAD is not even an > official RFC, lets keep this on IPv4 only until some crazy enterprise > networks tries to run this on IPv6. I honestly hope that DHCPv6 > deployment is a lot better when it comes to proxies. Ok, then forget about that

[PATCH] service: wpad only run on ipv4

2011-07-19 Thread Tomasz Bursztyka
--- A quick patch to run wpad on ipv4 only. Wpad will anyway reply against ipv4 ipconfig type, but we should ensure that it is launched from ipv4 ipconfig, and not ipv6. The if statement if a bit heavy though src/service.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH] service: wpad only run on ipv4

2011-07-19 Thread Tomasz Bursztyka
--- src/service.c | 44 1 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/service.c b/src/service.c index 9a0dbef..69d2be8 100644 --- a/src/service.c +++ b/src/service.c @@ -3631,13 +3631,34 @@ int __connman_service_indicate_default

Re: [RFC] Personnal Firewall into ConnMan

2011-07-20 Thread Tomasz Bursztyka
Hi Marcel, Thanks for the review and add-ons Marcel. Port-knocking and systemd integration sounds nice though second one opens lots of questions indeed. I agree about Session centric stuff, however: how do we manage port opening for application which won't use connman session API (and if port kno

Re: [PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-20 Thread Tomasz Bursztyka
Hi Marcel, > Having something like [PATCH v2 02/11] prefixes would help a lot to > figure out what is old and what is new. They are threading kinda funny > and I can't easily tell which is recent and which is not. > > Regards Will resend everything in a v4 patch set, will be easier. Tomasz ___

[PATCH 00/11] WISPr support - patchset version 4

2011-07-20 Thread Tomasz Bursztyka
Same patchset as before, but patch 3/11 has been integrated againts latest HEAD, since service.c got introduced check_proxy_setup() function. Please review, Tomasz Bursztyka (11): location: deleted location support and portal plugin. wispr: adding structures and start/stop functions

[PATCH 01/11] location: deleted location support and portal plugin.

2011-07-20 Thread Tomasz Bursztyka
--- Makefile.am|6 +- Makefile.plugins | 12 -- configure.ac |6 - include/location.h | 78 -- plugins/portal.c | 239 -- src/connman.h | 11 -- src/location.c | 294 -

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-07-20 Thread Tomasz Bursztyka
--- src/service.c | 13 +++-- src/wpad.c|6 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index 098478a..ea04715 100644 --- a/src/service.c +++ b/src/service.c @@ -3529,6 +3529,8 @@ static int __connman_service_indicate_state

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-07-20 Thread Tomasz Bursztyka
--- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index f39da0e..614c5e6 100644 --- a/src/connman.h +++ b/src/connman.h @@ -304,6 +304,9 @@ void

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-07-20 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index fe3c77c..9d056bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

[PATCH 05/11] wispr: added portal web request and result handling logic.

2011-07-20 Thread Tomasz Bursztyka
--- src/wispr.c | 91 +++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9d056bc..9e3b0e3 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -39,6 +39,7 @@ struct connman_wispr_portal_context {

[PATCH 06/11] wispr: added WISPr XML content parser.

2011-07-20 Thread Tomasz Bursztyka
--- src/wispr.c | 220 +++ 1 files changed, 220 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9e3b0e3..4cda5ed 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -32,6 +32,19 @@ #define STATUS_URL "http://www.con

[PATCH 07/11] wispr: handle WISPr messages and apply relevant states.

2011-07-20 Thread Tomasz Bursztyka
--- src/wispr.c | 157 --- 1 files changed, 139 insertions(+), 18 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 4cda5ed..dd093bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -45,6 +45,13 @@ struct connman_wispr_message {

[PATCH 08/11] agent: added Username/Password request input logic.

2011-07-20 Thread Tomasz Bursztyka
--- src/agent.c | 134 - src/connman.h |4 +- src/service.c |2 +- 3 files changed, 136 insertions(+), 4 deletions(-) diff --git a/src/agent.c b/src/agent.c index 56217ef..e53f59c 100644 --- a/src/agent.c +++ b/src/agent.c @@ -257

[PATCH 09/11] wispr: requesting login input through the agent.

2011-07-20 Thread Tomasz Bursztyka
--- src/wispr.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index dd093bc..05c3ec6 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -65,6 +65,10 @@ struct connman_wispr_portal_context {

[PATCH 11/11] todo: removed wispr task.

2011-07-20 Thread Tomasz Bursztyka
--- TODO | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index 36f8240..5be0320 100644 --- a/TODO +++ b/TODO @@ -26,16 +26,6 @@ Core See http://www.mail-archive.com/connman@connman.net/msg01653.html -- WiSPR support - - Priority: Medium -

[PATCH 10/11] test: added Username/Password input support in simple-agent.

2011-07-20 Thread Tomasz Bursztyka
--- test/simple-agent | 61 ++--- 1 files changed, 53 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index b0990de..cda9693 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -14,6 +14,8 @@ class Agent(dbus

[PATCH 01/11] location: deleted location support and portal plugin.

2011-08-16 Thread Tomasz Bursztyka
--- Makefile.am|6 +- Makefile.plugins | 12 -- configure.ac |6 - include/location.h | 78 -- plugins/portal.c | 239 -- src/connman.h | 11 -- src/location.c | 294 -

[PATCH 00/11] WISPr support - version 5

2011-08-16 Thread Tomasz Bursztyka
Hi, Here is a repost of previous patches about WISPr support. It got updated according to latest HEAD. Please review, Tomasz Bursztyka (11): location: deleted location support and portal plugin. wispr: adding structures and start/stop functions. wispr: adding wispr logic entries in

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-08-16 Thread Tomasz Bursztyka
--- src/service.c | 13 +++-- src/wpad.c|6 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index 8ec06c7..9b45d67 100644 --- a/src/service.c +++ b/src/service.c @@ -3589,6 +3589,8 @@ static int __connman_service_indicate_state

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-08-16 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index fe3c77c..9d056bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-08-16 Thread Tomasz Bursztyka
--- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 5ed03b8..715212b 100644 --- a/src/connman.h +++ b/src/connman.h @@ -307,6 +307,9 @@ void

[PATCH 05/11] wispr: added portal web request and result handling logic.

2011-08-16 Thread Tomasz Bursztyka
--- src/wispr.c | 91 +++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9d056bc..9e3b0e3 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -39,6 +39,7 @@ struct connman_wispr_portal_context {

[PATCH 06/11] wispr: added WISPr XML content parser.

2011-08-16 Thread Tomasz Bursztyka
--- src/wispr.c | 220 +++ 1 files changed, 220 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9e3b0e3..4cda5ed 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -32,6 +32,19 @@ #define STATUS_URL "http://www.con

[PATCH 07/11] wispr: handle WISPr messages and apply relevant states.

2011-08-16 Thread Tomasz Bursztyka
--- src/wispr.c | 157 --- 1 files changed, 139 insertions(+), 18 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 4cda5ed..dd093bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -45,6 +45,13 @@ struct connman_wispr_message {

[PATCH 08/11] agent: added Username/Password request input logic.

2011-08-16 Thread Tomasz Bursztyka
--- src/agent.c | 134 - src/connman.h |4 +- src/service.c |2 +- 3 files changed, 136 insertions(+), 4 deletions(-) diff --git a/src/agent.c b/src/agent.c index 56217ef..e53f59c 100644 --- a/src/agent.c +++ b/src/agent.c @@ -257

[PATCH 09/11] wispr: requesting login input through the agent.

2011-08-16 Thread Tomasz Bursztyka
--- src/wispr.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index dd093bc..05c3ec6 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -65,6 +65,10 @@ struct connman_wispr_portal_context {

<    1   2   3   4   5   6   7   8   9   10   >