Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-08 | vpn-config: Ignore IN_CREATE as IN_MODIFY is called anyway | Jukka Rissanen | 1 | -8/+20 | |
Inotify will send modify event after create event when user has copied the config file into config directory. Because of this it is useless to act on create event. As a bonus we avoid create/modify/create loop that was earlier done in the modify event handling code. | |||||
2013-03-08 | vpn-provider: Do not save or load provisioned VPN connections | Jukka Rissanen | 1 | -3/+13 | |
The vpnd will not read or save provider data from disk. Only way to provision VPN is by setting necessary data in VPN .config file. | |||||
2013-03-08 | vpn-provider: SetProperty and ClearProperty do not work if immutable | Jukka Rissanen | 1 | -0/+6 | |
Immutable VPN connection settings cannot be changed by SetProperty or ClearProperty dbus API. | |||||
2013-03-08 | vpn-provider: Introduce immutable flag to provider data | Jukka Rissanen | 1 | -0/+5 | |
2013-03-08 | vpn-provider: Do not allow changes to settings that are immutable | Jukka Rissanen | 2 | -5/+26 | |
The immutable settings are those that are read from .config file. | |||||
2013-03-08 | vpn-provider: Do not quit vpnd if there are no VPN configurations | Jukka Rissanen | 3 | -27/+0 | |
Because we now support provisioning of VPN services via .config file, we need to keep vpnd running so that it can monitor the connman-vpn directory for new config files. | |||||
2013-02-28 | vpn-provider: Parse user networks correctly | Jukka Rissanen | 1 | -1/+5 | |
Check NULL string before passing it to g_strsplit() | |||||
2013-02-19 | vpn-provider: SetProperty works with all properties | Jukka Rissanen | 1 | -2/+6 | |
2013-02-19 | vpn-provider: ClearProperty works with all properties | Jukka Rissanen | 1 | -0/+2 | |
2013-02-19 | vpn-provider: Allow use of Domain property name | Jukka Rissanen | 1 | -3/+6 | |
Allow use of both VPN.Domain and Domain property strings. | |||||
2013-02-19 | vpn-provider: Add GetProperties method implementation | Jukka Rissanen | 1 | -0/+42 | |
2013-02-19 | vpn-provider: Do not send state property if state is not changed | Jukka Rissanen | 1 | -1/+5 | |
2013-02-19 | vpn-provider: Setting VPN properties will send PropertyChanged signal | Jukka Rissanen | 1 | -31/+67 | |
2013-02-19 | vpn-provider: Set the state to FAILURE after auth error | Jukka Rissanen | 1 | -0/+1 | |
2013-02-19 | vpn-provider: Go internally into IDLE after FAILURE | Jukka Rissanen | 1 | -0/+7 | |
Do not stay in FAILURE state as clients like connmand can get confused about our current state. Symptom for the problem is that after a failed connect attempt, a new connect attempt by the client would cause immediately a failure return code because vpnd is still in FAILURE state. The actual connect attempt might still succeed but then the client would not know about the success status. By setting the state to IDLE we avoid this confusion. | |||||
2013-02-19 | pptp: Set the username/password before starting daemon | Jukka Rissanen | 1 | -4/+4 | |
This is required in order to avoid free memory access that is happening if we call vpn_provider_set_string() with same string that is already in the settings db. | |||||
2013-02-19 | l2tp: Set the username/password before starting daemon | Jukka Rissanen | 1 | -4/+4 | |
This is required in order to avoid free memory access that is happening if we call vpn_provider_set_string() with same string that is already in the settings db. | |||||
2013-02-19 | vpn-provider: Make state debug print more useful | Jukka Rissanen | 1 | -2/+1 | |
Print the state value as a string as it is useful information. | |||||
2013-02-19 | vpn-provider: Avoid printing password to log files | Jukka Rissanen | 4 | -5/+22 | |
Add a variant to vpn_provider_set_string() that does not print sensitive data like password in clear text to log files. | |||||
2013-02-19 | l2tp: Clear password if authentication fails | Jukka Rissanen | 1 | -1/+7 | |
This allows plugin to query agent so that user can give correct password. | |||||
2013-02-19 | pptp: Clear password if authentication fails | Jukka Rissanen | 1 | -1/+7 | |
This allows plugin to query agent so that user can give new password. Fixes BMC#25963 | |||||
2013-02-19 | main: Create VPN_STORAGEDIR when starting up | Jukka Rissanen | 1 | -0/+10 | |
Eventually all VPN directories from STORAGEDIR is to be migrated into VPN_STORAGEDIR | |||||
2013-02-19 | vpn-provider: Add extra whitespace | Jukka Rissanen | 1 | -1/+1 | |
2013-02-19 | vpn-provider: Add route support in vpn config file | Jukka Rissanen | 2 | -16/+86 | |
2013-02-19 | vpn-provider: Remove unprovisioned providers at startup | Jukka Rissanen | 1 | -1/+79 | |
Check if there are any providers that were provisioned but their .config file is removed. If such providers are found, then remove the provider files from file system. | |||||
2013-02-19 | vpn-provider: Type string in provider needs to be in lower case | Jukka Rissanen | 1 | -1/+1 | |
2013-02-19 | vpn-config: Provision providers from .config file | Jukka Rissanen | 3 | -0/+605 | |
2013-02-19 | vpn-provider: Initial .config file support | Jukka Rissanen | 2 | -17/+140 | |
2013-02-19 | pptp: Use PPPD prefix for pppd specific options | Jukka Rissanen | 1 | -18/+44 | |
For backward compatibility purposes, support also the PPTP prefix for PPPD options. | |||||
2013-02-19 | l2tp: Use PPPD prefix for pppd specific options | Jukka Rissanen | 1 | -21/+47 | |
For backward compatibility purposes, support also the L2TP prefix for PPPD options. | |||||
2013-02-19 | l2tp: Add rx and tx bps pppd options | Jukka Rissanen | 1 | -0/+2 | |
2013-02-19 | l2tp: Fixed the nodeflate pppd option name | Jukka Rissanen | 1 | -1/+1 | |
2013-01-08 | vpn-provider: Check if providers list is NULL before using it | Patrik Flykt | 1 | -0/+3 | |
2012-12-14 | vpn-provider: Report disconnect errors other than -EINPROGRESS | Patrik Flykt | 1 | -3/+3 | |
Return code -EINPROGRESS is an indication of a disconnect taking place, not a disconnect error. | |||||
2012-12-14 | vpn-provider: Set state when connecting and disconnecting | Patrik Flykt | 1 | -7/+6 | |
Update provider state when connect or disconnect is initiated. | |||||
2012-12-14 | vpn-plugin: Send proper response to caller and connect if needed | Patrik Flykt | 1 | -11/+30 | |
Send a proper response to the caller and attempt to connect if the provider data exists but is not connected. | |||||
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 | 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 | 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. |