Re: How does connman handle scan_ssid?

2015-03-17 Thread Pasi Sjöholm
On 17.03.2015 13:02, Sven Schwedas wrote: Cf. http://blog.viraptor.info/post/your-wifi-shows-me-where-you-live-work-and-travel How does connman handle this? There don't seem to be configuration options for it. ConnMan will actively scan any previously connected network(s) (or networks

RE: connman connection policy

2015-03-17 Thread Kallumari Nagaraja Rao, RammohanX
Patrik, Is there a simple way to update a service with the passphrase we receive as a parameter ? Regards, Ram -Original Message- From: connman [mailto:connman-boun...@connman.net] On Behalf Of Patrik Flykt Sent: Tuesday, March 17, 2015 2:23 PM To: connman@connman.net Subject: Re:

RE: connman connection policy

2015-03-17 Thread Kallumari Nagaraja Rao, RammohanX
Yes I knew about the settings under the respective service. We basically want to handle dynamic update of the passphrase, instead of updating in the settings file. Is Agent mandate ? Regards, Ram -Original Message- From: connman [mailto:connman-boun...@connman.net] On Behalf Of

Re: connman connection policy

2015-03-17 Thread Patrik Flykt
On Tue, 2015-03-17 at 04:25 +, Kallumari Nagaraja Rao, RammohanX wrote: Is it possible to implement in a way to pass passphrase as a string via a C parameter activate ? Without having to request any input from the user ? Of course. It's all up to your C program how it wants to handle the

Re: connman connection policy

2015-03-17 Thread Patrik Flykt
On Tue, 2015-03-17 at 07:40 +, Kallumari Nagaraja Rao, RammohanX wrote: We basically want to handle dynamic update of the passphrase, instead of updating in the settings file. Is Agent mandate ? Yes. Patrik ___ connman mailing list

Re: connman connection policy

2015-03-17 Thread Patrik Flykt
On Tue, 2015-03-17 at 08:54 +, Kallumari Nagaraja Rao, RammohanX wrote: Is there a simple way to update a service with the passphrase we receive as a parameter ? Yes, by replying to the Agent API RequestInput D-Bus method call. HTH, Patrik

How does connman handle scan_ssid?

2015-03-17 Thread Sven Schwedas
Cf. http://blog.viraptor.info/post/your-wifi-shows-me-where-you-live-work-and-travel How does connman handle this? There don't seem to be configuration options for it. -- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45

RE: connman connection policy

2015-03-17 Thread Kallumari Nagaraja Rao, RammohanX
This is what I tried doing it, I am very new to these stuffs :( DBusMessage * agent_update_passphrase(DBusConnection *connection, char * serv_str, char * pass) { DBusMessage *message, *reply; DBusError error; DBusMessageIter iter; DBusMessageIter args;

Re: How does connman handle scan_ssid?

2015-03-17 Thread Tomasz Bursztyka
ConnMan does a known networks scan, so indeed it leaks the known SSIDs. We could easily add a main.conf parameter to prevent that. Sounds good. What would be the trade-offs? More time needed to authenticate? More time to autoconnect on known-networks basically. For instance, one passive

Re: How does connman handle scan_ssid?

2015-03-17 Thread Tomasz Bursztyka
Hi Sven, ConnMan does a known networks scan, so indeed it leaks the known SSIDs. We could easily add a main.conf parameter to prevent that. Tomasz Cf. http://blog.viraptor.info/post/your-wifi-shows-me-where-you-live-work-and-travel How does connman handle this? There don't seem to be

RE: connman connection policy

2015-03-17 Thread Kallumari Nagaraja Rao, RammohanX
Patrik, Can you please help me out on this ? Regards, Ram -Original Message- From: connman [mailto:connman-boun...@connman.net] On Behalf Of Patrik Flykt Sent: Tuesday, March 17, 2015 3:31 PM To: connman@connman.net Subject: Re: connman connection policy On Tue, 2015-03-17 at 08:54

Re: How does connman handle scan_ssid?

2015-03-17 Thread Sven Schwedas
On 2015-03-17 12:09, Tomasz Bursztyka wrote: Hi Sven, ConnMan does a known networks scan, so indeed it leaks the known SSIDs. We could easily add a main.conf parameter to prevent that. Sounds good. What would be the trade-offs? More time needed to authenticate? Tomasz Cf.

RE: MoveBefore/MoveAfter not working as expected

2015-03-17 Thread Priyaranjan Singh
Hello Patrik, I tried checking behavior of MoveBefore/MoveAfter even without WiFi. It's not working as expected and service is not moving to top. 1. Connect Two DIFFERENT technologies(EX: WiFi BT/WiFi Ethernet/ Ethernet BT) in READY state 2. Call MoveBefore/MoveAfter 3. Check service

Re: connman connection policy

2015-03-17 Thread Jukka Rissanen
On ti, 2015-03-17 at 10:25 +, Kallumari Nagaraja Rao, RammohanX wrote: This is what I tried doing it, I am very new to these stuffs :( DBusMessage * agent_update_passphrase(DBusConnection *connection, char * serv_str, char * pass) { DBusMessage *message, *reply; DBusError

Re: How does connman handle scan_ssid?

2015-03-17 Thread Pasi Sjöholm
On 17.03.2015 14:04, Tomasz Bursztyka wrote: There is an issue however: the hidden SSIDs. These ones, to autoconnect, definitely need an active scan. We could run it if only a hidden service is created for instance. But that means we could still leak some SSIDs - the hidden ones - if we are

Re: How does connman handle scan_ssid?

2015-03-17 Thread Sven Schwedas
On 2015-03-17 16:47, Pasi Sjöholm wrote: On 17.03.2015 14:04, Tomasz Bursztyka wrote: There is an issue however: the hidden SSIDs. These ones, to autoconnect, definitely need an active scan. We could run it if only a hidden service is created for instance. But that means we could still leak