[PROXY] about adding manual proxy settings

2010-09-27 Thread Tomasz Bursztyka
Hi, I have been discussing about that issue with Patrick Flykt and since Jukka Rissanen's patch* has not been accepted I guess there are still rooms for ideas/patch around. What about then expanding the current struct connman_ipdevice in ipdevice.c so that: struct connman_ipdevice { ...

Re: [PROXY] about adding manual proxy settings

2010-09-28 Thread Tomasz Bursztyka
On 27/09/10 17:17, ext Marcel Holtmann wrote: I don't thing we need a sub dictionary for this. Just put the fields in the proxy dictionary. I really have to catch up on this again since I totally forgot about it. Please send a patch for API proposal again and gonna have a look. I am

[PATCH Adding proxy settings 4/4] Printers for proxy data into various test tools.

2010-10-04 Thread Tomasz Bursztyka
--- test/get-services |8 ++-- test/list-providers |9 +++-- test/list-services|6 +- test/monitor-services |6 +- test/test-manager |9 +++-- 5 files changed, 30 insertions(+), 8 deletions(-) diff --git a/test/get-services

[PATCH Adding proxy settings 2/4] Added other types of proxies, auto and manual, into ipconfig.

2010-10-04 Thread Tomasz Bursztyka
--- include/ipconfig.h | 35 +++ src/connman.h |7 + src/ipconfig.c | 805 3 files changed, 796 insertions(+), 51 deletions(-) diff --git a/include/ipconfig.h b/include/ipconfig.h index 28a3d6a..16843ca 100644 ---

[PATCH Adding proxy settings 1/4] Service API documentation updated to include Proxy settings updates.

2010-10-04 Thread Tomasz Bursztyka
--- doc/service-api.txt | 65 ++ 1 files changed, 59 insertions(+), 6 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index c4e1495..87053c2 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -410,12 +410,65 @@

Re: [PATCH Adding proxy settings 1/4] Service API documentation updated to include Proxy settings updates.

2010-10-04 Thread Tomasz Bursztyka
Hi, On 04/10/10 14:44, ext Marcel Holtmann wrote: what is wrong with just using Server, Port, Username and Password fields here? Do we really wanna support different proxy servers for different protocol types? I don't think that is really useful. We wanna make this as simple as possible for

Re: [PATCH Adding proxy settings 1/4] Service API documentation updated to include Proxy settings updates.

2010-10-05 Thread Tomasz Bursztyka
Hi On 05/10/10 12:41, ext Marcel Holtmann wrote: Means that a simple entry like [ server:901 ] would be the generic one and [ http://server:901;, ftp://server:109; ] could identify different servers. That seems fine, let's do that way. Best regards, Tomasz

Re: [PATCH Adding proxy settings 1/4] Service API documentation updated to include Proxy settings updates.

2010-10-06 Thread Tomasz Bursztyka
Hi, On 05/10/10 15:17, ext Marcel Holtmann wrote: please update your documentation patch and start working on the implementation. I think just storing it in src/service.c like we do for domains and nameservers should be good enough. Since essentially ConnMan is not doing anything with these

[PATCH Proxy support]

2010-10-07 Thread Tomasz Bursztyka
Hello, So according to our last discussions about proxy support in ConnMan, here is the patches that implements what has been specified. I did not inserted WPAD start/stop service in Auto, I guess you Marcel can add that easily at relevant places. This is ready to be supported:

[PATCH Proxy support 4/5] Added a test tool for proxy configurations (set-proxy).

2010-10-07 Thread Tomasz Bursztyka
--- test/set-proxy | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) create mode 100755 test/set-proxy diff --git a/test/set-proxy b/test/set-proxy new file mode 100755 index 000..28b2271 --- /dev/null +++ b/test/set-proxy @@ -0,0 +1,42 @@

[PATCH Proxy support 1/5] Updating service API documentation about proxy support.

2010-10-07 Thread Tomasz Bursztyka
--- doc/service-api.txt | 36 ++-- 1 files changed, 26 insertions(+), 10 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index c4e1495..2e85b93 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -402,20 +402,34 @@ Properties

[PATCH Proxy support 3/5] Added support for auto proxy settings in service.

2010-10-07 Thread Tomasz Bursztyka
--- src/service.c | 47 +-- 1 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index bde767f..b812dfc 100644 --- a/src/service.c +++ b/src/service.c @@ -103,6 +103,7 @@ struct connman_service { enum

[PATCH Proxy support 2/5] Added support for manual proxy settings in service.

2010-10-07 Thread Tomasz Bursztyka
--- include/service.h |8 ++ src/connman.h |6 - src/ipconfig.c| 108 - src/service.c | 342 +++-- 4 files changed, 342 insertions(+), 122 deletions(-) diff --git a/include/service.h b/include/service.h index

Re: [PATCH Proxy support 1/5] Updating service API documentation about proxy support.

2010-10-07 Thread Tomasz Bursztyka
Hi, On 07/10/10 14:25, ext Marcel Holtmann wrote: So I applied your patch and fixed this up for not having auto-config method value. I am a bit lost then :) (though I am fine with auto-config removal) auto-config made sense to me in a way that was displaying the system choice and not user

[PATCH Proxy support 1/3] Added support for auto and manual proxy.

2010-10-08 Thread Tomasz Bursztyka
--- include/service.h |7 + src/connman.h |6 - src/ipconfig.c| 108 --- src/service.c | 377 - 4 files changed, 377 insertions(+), 121 deletions(-) diff --git a/include/service.h b/include/service.h index

[PATCH Proxy support 2/3] Added a test tool for proxy configuration (set-proxy)

2010-10-08 Thread Tomasz Bursztyka
--- Makefile.am|3 ++- test/set-proxy | 41 + 2 files changed, 43 insertions(+), 1 deletions(-) create mode 100755 test/set-proxy diff --git a/Makefile.am b/Makefile.am index 4e6ecf1..a00464a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -184,7

[PATCH Proxy support 3/3] Small proxy settings rewrite in service API documentation.

2010-10-08 Thread Tomasz Bursztyka
--- doc/service-api.txt | 25 +++-- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index 8599041..4624522 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -402,18 +402,15 @@ Propertiesstring

[PACRUNNER][PATCH] Manual proxy configuration setting

2010-10-13 Thread Tomasz Bursztyka
Hi, Here are 2 patches to set pacrunner configuration to manual proxy. It does not take care of running the configuration since I guess there are design issues on pacrunner about that. Currently, client side assumes javascript and goes always through __pacrunner_mozjs_execute() and I presume

[PATCH 1/2] Adding support for manual proxy configuration setting (not running yet)

2010-10-13 Thread Tomasz Bursztyka
--- src/manager.c | 77 ++- src/mozjs.c |2 + src/pacrunner.h |9 +- src/proxy.c | 46 +--- 4 files changed, 104 insertions(+), 30 deletions(-) diff --git a/src/manager.c b/src/manager.c

[PATCH 2/2] Updated test tool to handle manual/direct proxy configuration.

2010-10-13 Thread Tomasz Bursztyka
--- test/create-proxy-config | 48 + 1 files changed, 39 insertions(+), 9 deletions(-) diff --git a/test/create-proxy-config b/test/create-proxy-config index 93f075e..ba7ece5 100755 --- a/test/create-proxy-config +++ b/test/create-proxy-config @@

[PATCH 1/1] Updated pacrunner plugin to take care of all proxy methods.

2010-10-15 Thread Tomasz Bursztyka
Hi, Here is a patch for pacrunner plugin. I tested it (against patched pacrunner which handles manual config - the previous patch I sent for pacrunner daemon) and it works fine. So now it handles direct/manual/auto as specified. However, pacrunner advertises proxy configuration only when

[PATCH 1/2] Adding proxy accessors in service.

2010-10-18 Thread Tomasz Bursztyka
--- include/service.h |4 src/service.c | 27 +++ 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/include/service.h b/include/service.h index 8c0e892..16d10f2 100644 --- a/include/service.h +++ b/include/service.h @@ -102,6 +102,10 @@ char

[PATCH 2/2] Updated pacrunner plugin to take care of all proxymethods.

2010-10-18 Thread Tomasz Bursztyka
Should be better that way. :) What about my pacrunner patches? Are they interesting or should I wait for a better design from you, about this method's specific executors split? I have already ideas about execution and filtration over exclusion list for manual method, but I guess it is better

Re: [PATCH 2/2] Updated pacrunner plugin to take care of all proxymethods.

2010-10-18 Thread Tomasz Bursztyka
Hi, On 18/10/10 14:03, ext Marcel Holtmann wrote: so you can not intermix patches with reply to emails. I leave it to you to discover why that is. So save this email as text and use git am on a local test tree and then have a look at the result with git log ;) Got small troubles with git,

[PATCH] Updated pacrunner plugin to take care of all proxy methods.

2010-10-18 Thread Tomasz Bursztyka
--- plugins/pacrunner.c | 77 ++ 1 files changed, 64 insertions(+), 13 deletions(-) diff --git a/plugins/pacrunner.c b/plugins/pacrunner.c index 3a21011..fcbce0c 100644 --- a/plugins/pacrunner.c +++ b/plugins/pacrunner.c @@ -73,6 +73,16 @@ static

[PATCH] Updated pacrunner plugin to take care of all proxy methods.

2010-10-18 Thread Tomasz Bursztyka
--- plugins/pacrunner.c | 78 ++ 1 files changed, 65 insertions(+), 13 deletions(-) diff --git a/plugins/pacrunner.c b/plugins/pacrunner.c index 3a21011..8cdc9cb 100644 --- a/plugins/pacrunner.c +++ b/plugins/pacrunner.c @@ -73,6 +73,16 @@ static

[PATCH 1/3] Adding full manual proxy settings support (servers/excludes URI and URI parsing/validation).

2010-11-02 Thread Tomasz Bursztyka
--- Makefile.am |7 +- src/manager.c | 70 ++ src/manual.c| 277 +++ src/manual.h| 26 + src/pacrunner.h | 16 +++- src/proxy.c | 76 --- 6 files changed, 435 insertions(+), 37

[PATCH 2/3] Modified create-proxy-config test tool to handle all proxy methods.

2010-11-02 Thread Tomasz Bursztyka
--- test/create-proxy-config | 47 + 1 files changed, 38 insertions(+), 9 deletions(-) diff --git a/test/create-proxy-config b/test/create-proxy-config index 93f075e..cc0c266 100755 --- a/test/create-proxy-config +++ b/test/create-proxy-config @@

Re: [PACrunner][PATCH] Adding full manual proxy support to pacrunner

2010-11-04 Thread Tomasz Bursztyka
Hi, On 02/11/10 13:32, Bursztyka Tomasz (Nokia-MS/Helsinki) wrote: Hello, Here are rewritten patches for manual proxy support, and now it also provides the patch to run the manual configuration. Anyone for reviewing the patch please? Marcel, Samuel? Thanks, Tomasz

[PATCH] Update TODO list regarding WPS support

2010-11-25 Thread Tomasz Bursztyka
--- TODO |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/TODO b/TODO index 8759485..45e3c75 100644 --- a/TODO +++ b/TODO @@ -123,6 +123,9 @@ WiFi Priority: Low Complexity: C2 Dependencies: Core:Agent callbacks + Owner: Tomasz Bursztyka tomasz.burszt

Re: [PATCH] WPS support

2010-12-20 Thread Tomasz Bursztyka
Hi, On 17/12/10 23:05, ext Marcel Holtmann wrote The agent API looks reasonable to me. How do you plan to handle the PBC case ? and another question is if we are also ready for WPS 2.0 with this. Or are there potential changes coming along. As far as our wlan specialist knows, there

[PATCH] gsupplicant stack based crash risk

2010-12-30 Thread Tomasz Bursztyka
Hello, While doing wps support, found this bug: wifi plugin (non legacy one) provide stack variable pointer to g_supplicant_interface_connect() in gsupplicant (supplicant.c), however this function might return as well as network_connect() in wifi.c, before all callbacks using the given

[PATCH 01/15] WPS: bss/network wps enabled support in gsupplicant library.

2011-01-11 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |1 + gsupplicant/supplicant.c | 87 - 2 files changed, 87 insertions(+), 1 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 1da9661..9404402 100644 ---

[PATCH 02/15] WPS: credentials signal support added in gsupplicant library.

2011-01-11 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |3 + gsupplicant/supplicant.c | 91 + 2 files changed, 94 insertions(+), 0 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 9404402..4f507e3 100644 ---

[PATCH 00/15] WPS support

2011-01-11 Thread Tomasz Bursztyka
is quite bad since wpa_supplicant does it already internaly. Have to send a patch about it. All in all, all these issues targets the new dbus API provided by wpa_supplicant. I tried to keep things simple as much as I could, then adding WPS is not so intrusive in ConnMan core part. Br, Tomasz

[PATCH 03/15] WPS: event signal support added in gsupplicant library.

2011-01-11 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |7 ++ gsupplicant/supplicant.c | 52 + 2 files changed, 59 insertions(+), 0 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 4f507e3..05f5c35 100644 ---

[PATCH 04/15] WPS: Start() method enabler added in gsupplicant library.

2011-01-11 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |2 + gsupplicant/supplicant.c | 82 - 2 files changed, 83 insertions(+), 1 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 05f5c35..0df8640 100644 ---

[PATCH 05/15] WPS: support in network core part.

2011-01-11 Thread Tomasz Bursztyka
--- src/network.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/network.c b/src/network.c index 612e923..a83fc40 100644 --- a/src/network.c +++ b/src/network.c @@ -67,6 +67,9 @@ struct connman_network { char *private_key_path;

[PATCH 07/15] WPS: support in service core part.

2011-01-11 Thread Tomasz Bursztyka
--- src/service.c | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index 4572e59..966588b 100644 --- a/src/service.c +++ b/src/service.c @@ -105,6 +105,7 @@ struct connman_service { char **proxies; char

[PATCH 10/15] WPS: method input for wps added in agent api documentation.

2011-01-11 Thread Tomasz Bursztyka
--- doc/agent-api.txt | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/doc/agent-api.txt b/doc/agent-api.txt index b4b8a39..98499a3 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -66,10 +66,19 @@ Fields string Name

[PATCH 12/15] WPS: input request logic in agent.c.

2011-01-11 Thread Tomasz Bursztyka
--- src/agent.c | 77 ++- 1 files changed, 76 insertions(+), 1 deletions(-) diff --git a/src/agent.c b/src/agent.c index d000a56..4d75f39 100644 --- a/src/agent.c +++ b/src/agent.c @@ -94,7 +94,9 @@ struct request_input_reply { static

[PATCH 13/15] WPS: connection logic in service.c.

2011-01-11 Thread Tomasz Bursztyka
--- src/service.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/service.c b/src/service.c index 38ef855..937b7e5 100644 --- a/src/service.c +++ b/src/service.c @@ -2299,9 +2299,12 @@ static void request_input_cb (struct connman_service

[PATCH 09/15] WPS: service's wps property support in test scripts.

2011-01-11 Thread Tomasz Bursztyka
--- test/get-services |2 +- test/list-services |2 +- test/test-manager |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/get-services b/test/get-services index 29d4ea0..605e278 100755 --- a/test/get-services +++ b/test/get-services @@ -43,7 +43,7 @@ for

[PATCH 01/16] WPS: bss/network wps enabled support in gsupplicant library.

2011-01-26 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |1 + gsupplicant/supplicant.c | 93 - 2 files changed, 93 insertions(+), 1 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 1da9661..9404402 100644 ---

[PATCH 02/16] WPS: credentials signal support added in gsupplicant library.

2011-01-26 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |3 + gsupplicant/supplicant.c | 92 + 2 files changed, 95 insertions(+), 0 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 9404402..4f507e3 100644 ---

[PATCH 03/16] WPS: event signal support added in gsupplicant library.

2011-01-26 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |7 ++ gsupplicant/supplicant.c | 52 + 2 files changed, 59 insertions(+), 0 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 4f507e3..05f5c35 100644 ---

[PATCH 04/16] WPS: Start() method enabler added in gsupplicant library.

2011-01-26 Thread Tomasz Bursztyka
--- gsupplicant/gsupplicant.h |2 + gsupplicant/supplicant.c | 82 - 2 files changed, 83 insertions(+), 1 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 05f5c35..0df8640 100644 ---

[PATCH 08/16] WPS: service's wps attribute documented in service-api.txt.

2011-01-26 Thread Tomasz Bursztyka
--- 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 87a8e18..99f78d7 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -214,6 +214,16 @@ Properties string State [readonly]

[PATCH 09/16] WPS: service's wps property support in test scripts.

2011-01-26 Thread Tomasz Bursztyka
--- test/get-services |2 +- test/list-services |2 +- test/test-manager |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/get-services b/test/get-services index 29d4ea0..605e278 100755 --- a/test/get-services +++ b/test/get-services @@ -43,7 +43,7 @@ for

[PATCH 12/16] WPS: input request logic in agent.c.

2011-01-26 Thread Tomasz Bursztyka
--- src/agent.c | 77 ++- 1 files changed, 76 insertions(+), 1 deletions(-) diff --git a/src/agent.c b/src/agent.c index d000a56..9d42ad1 100644 --- a/src/agent.c +++ b/src/agent.c @@ -94,7 +94,9 @@ struct request_input_reply { static

[PATCH 11/16] WPS: service internal accessor to know wether or not wps is enabled

2011-01-26 Thread Tomasz Bursztyka
--- src/connman.h |1 + src/service.c |8 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 37946f6..10bc401 100644 --- a/src/connman.h +++ b/src/connman.h @@ -474,6 +474,7 @@ const char *__connman_service_get_path(struct

[PATCH 13/16] WPS: connection logic in service.c.

2011-01-26 Thread Tomasz Bursztyka
--- src/service.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/service.c b/src/service.c index d0590dd..1921acc 100644 --- a/src/service.c +++ b/src/service.c @@ -2316,9 +2316,12 @@ static void request_input_cb (struct connman_service

[PATCH 14/16] WPS: input added in agent api test script.

2011-01-26 Thread Tomasz Bursztyka
--- test/simple-agent | 44 1 files changed, 36 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index 859d403..5c73599 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -11,7 +11,8 @@ class

[PATCH 15/16] gsupplicant: Disconnect request might not need to go through RemoveNetwork call.

2011-01-26 Thread Tomasz Bursztyka
--- gsupplicant/supplicant.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index bed049a..8c91a83 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -2835,6 +2835,12 @@ static void

[PATCH] gsupplicant: Fix how raw key as psk are provided.

2011-06-01 Thread Tomasz Bursztyka
--- gsupplicant/supplicant.c | 29 +++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 2c3e5dd..e6cdc34 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -2554,13 +2554,38

[PATCH] gsupplicant: Fix how raw key as psk are provided.

2011-06-01 Thread Tomasz Bursztyka
Hi, Here is a quick patch that fixes the support of raw keys as psk in connman against wpa_supplicant dbus interface. Please review, Tomasz Bursztyka (1): gsupplicant: Fix how raw key as psk are provided. gsupplicant/supplicant.c | 29 +++-- 1 files changed, 27

[PATCH] gsupplicant: Fix how raw key as psk are provided.

2011-06-11 Thread Tomasz Bursztyka
Hi Samuel, Indeed, it's more readable that way. Here is the new version. Tomasz Bursztyka (1): gsupplicant: Fix how raw key as psk are provided. gsupplicant/supplicant.c | 28 ++-- 1 files changed, 26 insertions(+), 2 deletions(-) -- 1.7.3.4

[PATCH 1/2] agent: added documentation about WISPr-enabled hotspot input request.

2011-06-14 Thread Tomasz Bursztyka
--- doc/agent-api.txt | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/doc/agent-api.txt b/doc/agent-api.txt index c9a0b0f..14b2e50 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -80,6 +80,16 @@ Fields string Name

[PATCH 2/2] agent: unified request input callback for passphrase and login based input.

2011-06-14 Thread Tomasz Bursztyka
--- src/agent.c |4 ++-- src/connman.h |6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/agent.c b/src/agent.c index 3a8674e..56217ef 100644 --- a/src/agent.c +++ b/src/agent.c @@ -87,7 +87,7 @@ int __connman_agent_unregister(const char *sender, const char

[PATCH 0/2] WISPr Agent API related changes

2011-06-14 Thread Tomasz Bursztyka
passphrase and wispr request inputs would use the same callback type. Tomasz Bursztyka (2): agent: added documentation about WISPr-enabled hotspot input request. agent: unified request input callback for passphrase and login based input. doc/agent-api.txt | 23

Re: [PATCH 2/2] agent: unified request input callback for passphrase and login based input.

2011-06-15 Thread Tomasz Bursztyka
Hi, -typedef void (* passphrase_cb_t) (struct connman_service *service, - const char *identity, const char *passphrase, +typedef void (* authentication_cb_t) (struct connman_service *service, + const char *identifier, const char

[PATCH] gweb: added the capability to restrict the requests to a specific address family.

2011-06-21 Thread Tomasz Bursztyka
review, Tomasz Bursztyka (1): gweb: added the capability to restrict the requests to a specific address family. gweb/gweb.c | 19 +++ gweb/gweb.h |2 ++ 2 files changed, 21 insertions(+), 0 deletions(-) -- 1.7.3.4

[PATCH] gweb: added the capability to restrict the requests to a specific address family.

2011-06-22 Thread Tomasz Bursztyka
--- gweb/gweb.c | 19 +++ gweb/gweb.h |2 ++ 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index 1183cc6..536de00 100644 --- a/gweb/gweb.c +++ b/gweb/gweb.c @@ -101,6 +101,8 @@ struct _GWeb { guint next_query_id; +

Re: [RFC v0 0/4] Service State Machine NG

2011-06-27 Thread Tomasz Bursztyka
Hi Daniel, I personally like your RFC, and I wanted to add a small input (as well as setting the subject up again ^^) around __connman_service_indicate_state() code. (which will become __connman_service_ipconfig_indicate_state() with your rfc) In that function, we should take care of ipconfig's

[PATCH 0/7] WISPr support

2011-06-29 Thread Tomasz Bursztyka
for fixing wpad too since currently wpad is not able to work for both ipv4 and ipv6 in separated context. Cheers, Tomasz Bursztyka (7): location: deleted location support and portal plugin. tools: removing standalone wispr tool. wispr: merged location/portal and wispr support in one place

[PATCH 1/7] location: deleted location support and portal plugin.

2011-06-29 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 3/7] wispr: merged location/portal and wispr support in one place.

2011-06-29 Thread Tomasz Bursztyka
--- Makefile.am |2 +- include/wispr.h | 48 src/connman.h | 12 +- src/wispr.c | 666 +++ 4 files changed, 724 insertions(+), 4 deletions(-) create mode 100644 include/wispr.h diff --git a/Makefile.am b/Makefile.am

[PATCH 2/7] tools: removing standalone wispr tool.

2011-06-29 Thread Tomasz Bursztyka
--- Makefile.am |5 +- tools/wispr.c | 709 - 2 files changed, 1 insertions(+), 713 deletions(-) delete mode 100644 tools/wispr.c diff --git a/Makefile.am b/Makefile.am index c5a10bb..745b106 100644 --- a/Makefile.am +++

[PATCH 5/7] wispr: adding wispr logic entries in service and wpad.

2011-06-29 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 8689180..b4e1fcb 100644 --- a/src/service.c +++ b/src/service.c @@ -3568,13 +3568,17 @@ int __connman_service_indicate_state(struct

[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

Re: [PATCH 0/7] WISPr support

2011-06-30 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-30 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 @@

[PATCH 0/2] WPAD and ipconfig type

2011-06-30 Thread Tomasz Bursztyka
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 based

[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 {

[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 +++

[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

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

2011-07-01 Thread Tomasz Bursztyka
(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: Parse Notification messages

[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

[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

[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

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 (or then

[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 {

[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 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 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

[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

[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 @@

[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 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 -

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

2011-07-07 Thread Tomasz Bursztyka
- 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): service

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

2011-07-07 Thread Tomasz Bursztyka
From: Daniel Wagner w...@monom.org --- 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 +++

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

2011-07-07 Thread Tomasz Bursztyka
From: Daniel Wagner w...@monom.org --- 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

  1   2   3   4   5   6   7   8   9   10   >