Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-12-05 | session: Move cleanup/destroy function up | Daniel Wagner | 1 | -48/+48 | |
We need to call those function from create_policy_config() therefore more it in front of it. | |||||
2012-12-05 | session: Return error code from callback | Daniel Wagner | 2 | -2/+4 | |
In the case the callback is directly called we can use the return value to provide it to the user. | |||||
2012-12-05 | session: Fix error case handling | Daniel Wagner | 1 | -2/+3 | |
There is no need to unref the pending message, because in all cases we generate a reply message which takes care of unrefing the message. Hence the dbus_message_unref() is not needed. Furthermore, we need to pass the created error message to the bus via g_dbus_send_message() so that the client gets always a response. | |||||
2012-12-05 | session: Fix error return code | Daniel Wagner | 1 | -1/+1 | |
The error codes propagated over D-Bus are non-negative values. | |||||
2012-12-05 | session: Remove notify watch | Daniel Wagner | 1 | -0/+3 | |
free_session() will be also called from the error path (e.g. __connman_session_create()). In case we have added a watch we need to disarm it. | |||||
2012-12-05 | test: simple-agent must monitor vpn status | Jukka Rissanen | 1 | -1/+17 | |
simple-agent needs to monitor vpnd status as vpnd can stop if there are no vpn configured. When vpnd quits we must not quit the agent as then wifi questions would not be asked from the user any more. | |||||
2012-12-05 | TODO: Add unit test task | Patrik Flykt | 1 | -0/+10 | |
2012-12-05 | build: Fix build to enable session-policy-local | Patrik Flykt | 2 | -2/+2 | |
2012-12-05 | session_policy: Remove dummy plugin | Daniel Wagner | 3 | -119/+0 | |
The default configuration will be created by the core if no plugin is used. Therefore there is no need for this plugin. | |||||
2012-12-05 | session_policy_local: Rename session_policy_ivi | Daniel Wagner | 3 | -40/+40 | |
On popular request the plugin is renamed. The plugin is reading local files and has nothing to do with IVI. | |||||
2012-12-05 | session_policy_ivi: Initialize variable and remove an unused one | Daniel Wagner | 1 | -2/+1 | |
Remove unused 'err' variable and properly initialize 'ident' for error cases. | |||||
2012-12-05 | build: Fix non-builtin session-plugin | Daniel Wagner | 1 | -1/+2 | |
The session ivi plugin needs to know where STORAGEDIR points to. | |||||
2012-12-04 | dhcpv6: Memory leak when sending Option Request Option | Jukka Rissanen | 1 | -0/+2 | |
2012-11-30 | pptp: Header file was missing | Jukka Rissanen | 1 | -0/+1 | |
2012-11-30 | l2tp: Header file was missing | Jukka Rissanen | 1 | -0/+1 | |
2012-11-30 | TODO: Add tasks for variable types and data structures | Patrik Flykt | 1 | -0/+22 | |
2012-11-30 | pptp: Clear password when disconnecting | Jukka Rissanen | 1 | -0/+6 | |
2012-11-30 | l2tp: Clear password when disconnecting | Jukka Rissanen | 1 | -0/+6 | |
2012-11-30 | vpn: Driver disconnect needs provider information | Jukka Rissanen | 2 | -2/+2 | |
The provider pointer needs to be passed to VPN driver when disconnecting. Otherwise we cannot find the correct provider that is being disconnected. | |||||
2012-11-30 | vpn-provider: Unregister provider from dbus when freed | Jukka Rissanen | 1 | -32/+36 | |
The provider object was not unregistered from dbus watch when the provider was removed which caused free memory access error. | |||||
2012-11-30 | vpn-provider: Register agent driver | Jukka Rissanen | 1 | -0/+30 | |
2012-11-30 | agent: Release all agents when stopping | Jukka Rissanen | 1 | -1/+21 | |
2012-11-30 | pptp: Do not save the password | Jukka Rissanen | 1 | -6/+0 | |
2012-11-30 | l2tp: Do not save the password | Jukka Rissanen | 1 | -6/+0 | |
2012-11-30 | pptp: Ask username and password from agent | Jukka Rissanen | 1 | -8/+242 | |
2012-11-30 | l2tp: Ask username and password from agent | Jukka Rissanen | 2 | -12/+241 | |
2012-11-30 | vpn-agent: Routine to add username and password into agent dict | Jukka Rissanen | 2 | -0/+48 | |
2012-11-30 | openconnect: Add support for --no-cert-check client option | Jukka Rissanen | 1 | -1/+51 | |
2012-11-30 | openconnect: Domain pointer was used incorrectly | Jukka Rissanen | 1 | -4/+8 | |
We must allocate the domain name from the heap and not point to it directly because the dbus library will deallocate it and we will have invalid memory access. | |||||
2012-11-30 | test: Add vpn agent support into simple-agent | Jukka Rissanen | 1 | -2/+116 | |
2012-11-30 | openconnect: Add asking cookie from agent | Jukka Rissanen | 1 | -14/+217 | |
It is possible to ask the cookie from agent for OpenConnect VPN client. The agent should connect to VPN gateway, get the HTML page, show the page in window or parse the HTML, then allow user to feed the user id and passphrase and post the result. The server will then return cookie to agent which should pass the cookie to openconnect plugin in connman-vpnd daemon. | |||||
2012-11-30 | vpn-agent: Add generic functions to add information into agent dict | Jukka Rissanen | 3 | -1/+145 | |
2012-11-30 | vpn: Make VPN plugin connection function async | Jukka Rissanen | 4 | -9/+28 | |
This is needed as we want to ask user the passwords etc. | |||||
2012-11-30 | vpn-provider: Add getter functions | Jukka Rissanen | 2 | -0/+19 | |
2012-11-30 | vpn: Add initial support for async connect | Jukka Rissanen | 9 | -36/+93 | |
Needed for agent VPN support. | |||||
2012-11-30 | doc: Describe VPN agent API | Jukka Rissanen | 1 | -0/+137 | |
2012-11-30 | gdbus: Add g_dbus_add_properties_watch function | Luiz Augusto von Dentz | 2 | -0/+33 | |
Convenient function to create watches for D-Bus properties. | |||||
2012-11-29 | gdbus: Don't automatically attach ObjectManager | Lucas De Marchi | 2 | -21/+36 | |
Let each project attach the object manager interface instead of registering it automatically. | |||||
2012-11-29 | gdbus: Don't register DBus.Properties with no properties | Lucas De Marchi | 1 | -3/+6 | |
Delay registering DBus.Properties interface until the moment there are properties on that path. This is needed for objects that currently don't expose any property to not export the interface. | |||||
2012-11-29 | build: Disable FORTIFY_SOURCE when optimization is disabled | Daniel Wagner | 1 | -3/+3 | |
The last fix was wrong. We need to use U_FORTIFY_SOURCE flag for this. | |||||
2012-11-27 | dnsproxy: Fix hash table comparison function to avoid crash | Patrik Flykt | 1 | -1/+1 | |
2012-11-26 | build: Add VPN documentation files into dist tar file | Jukka Rissanen | 1 | -1/+3 | |
2012-11-26 | vpn-provider: VPN driver pointer was not cleared | Jukka Rissanen | 1 | -0/+15 | |
When VPN driver is unregistered, we must clear the corresponding pointer in provider struct. If this is not done we will have already freed memory access in clean_provider() function. | |||||
2012-11-26 | vpn-main: Plugin cleanup was not done | Jukka Rissanen | 1 | -0/+1 | |
2012-11-26 | vpn: Cleanup properly if vpn connect fails | Jukka Rissanen | 1 | -2/+4 | |
Make sure that user callback data is cleared correctly if vpn connect attempt fails. | |||||
2012-11-26 | vpn: Cleanup vpn connections when vpnd dies | Jukka Rissanen | 1 | -0/+2 | |
2012-11-26 | vpn: Do not remove vpn connections hash when vpnd dies | Jukka Rissanen | 1 | -14/+9 | |
We must keep the vpn connections hash alive as long as connman is running. We must not remove the hash when vpnd dies, otherwise we might feed null pointer to various glib hash functions. | |||||
2012-11-26 | build: Fix up distribution dependencies in makefiles | Patrik Flykt | 2 | -4/+5 | |
Ensure all files needed at build time are added to the distribution tar file, especially those for VPN. Files in any *_SOURCES variables or ending with *.in are already covered. | |||||
2012-11-26 | gdbus: Remove not needed NULL pointer checks | Szymon Janc | 1 | -2/+2 | |
g_strdup returns NULL if argument passed is NULL and there is no need to double check that. | |||||
2012-11-26 | gdbus: Replace leading spaces with tabs | Syam Sidhardhan | 1 | -4/+4 | |
Trivial formatting fix. |