Ask / Submit
6

Wifi configs remain after deletion in UI [duplicate]

asked 2015-04-16 14:41:42 +0300

r0kk3rz gravatar image

updated 2016-08-17 11:01:02 +0300

jiit gravatar image

Looking into connman configuration on an unrelated issue, I noticed that under /var/lib/connman exists wifi configuration files for every access point the phone has ever connected to, whether it has been deleted from the Wifi Settings UI or not.

This makes it hard to find the configs you're actually looking for due to the naming structure, but is also potentially a security/privacy issue.

Noticed in version 1.1.2.16 Yliaavanlampi

Duplicate: https://together.jolla.com/question/16366/bug-forget-function-does-not-fully-forget-wifi-networks/

edit retag flag offensive reopen delete

The question has been closed for the following reason "duplicate question" by r0kk3rz
close date 2015-04-25 12:38:12.437455

1 Answer

Sort by » oldest newest most voted
2

answered 2015-04-17 10:39:26 +0300

Aaron McCarthy gravatar image

This is the behaviour of connman. Network credentials are removed from the configuration files when the network service is forgotten and these files are only accessible by privileged processes.

To find a particular configuration file use grep or xxd to decode the directory names. The second string of numbers in the directory name is actually the SSID converted to hex. e.g. 'echo -n MyNetwork | xxd -ps'

edit flag offensive delete publish link more

Comments

1

Even if the credentials are removed, its still effectively a list of everywhere the device has been (in relation to wifi).

I would prefer that connman cleans up after itself, rather than slowly accumulating config files over time, but I will remove the bug tag as its clearly by design.

r0kk3rz ( 2015-04-17 11:04:57 +0300 )edit

@r0kk3rz Keep in mind that also traffic stats for that particular WLAN are also saved under that directory. If the dir would be removed it would be also removed from traffic statistics.

tigeli ( 2015-04-25 18:58:41 +0300 )edit

@tigeli What other information more than the amount of traffic is left into these files?

simo ( 2015-04-25 19:50:48 +0300 )edit

@tigeli, not sure why I would care about per ssid wifi traffic stats (mobile network is another matter). But if this is known and accepted behavior then I dont really have anything further to add.

r0kk3rz ( 2015-04-25 20:17:40 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2015-04-16 14:41:42 +0300

Seen: 606 times

Last updated: Apr 25 '15