Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
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 | 2 | -0/+143 | |
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-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-23 | openvpn: Set default options if user has not supplied a config file | Jukka Rissanen | 1 | -11/+17 | |
If the user is using config file option, then do not set the optional default options. All the mandatory options needed for connman and openvpn interaction are still set in command line. | |||||
2012-11-23 | openvpn: Allow configuration via user supplied config file | Jukka Rissanen | 1 | -0/+1 | |
Fixes BMC#25866 | |||||
2012-11-23 | openvpn: Remove obsolete --tls-client option | Jukka Rissanen | 1 | -1/+0 | |
The --client option activates the --tls-client option so we can remove the useless one. | |||||
2012-11-23 | selinux: Add Type Enforcement rule compilation | Jukka Rissanen | 1 | -0/+16 | |
The SELinux rules are needed for VPN. They allow various vpn clients to send notifications to connman-vpnd via net.connman.Task dbus interface if the connman processes are run under systemd and the system is in enforcing mode. | |||||
2012-11-23 | vpn: Go to failure state if vpn information cannot be found | Jukka Rissanen | 1 | -2/+12 | |
2012-11-23 | vpnd: Quit if no VPN configurations are found | Jukka Rissanen | 1 | -0/+2 | |
2012-11-23 | vpnd: Add function that quits vpnd if no VPN configurations are found | Jukka Rissanen | 2 | -0/+23 | |
2012-11-23 | vpn-plugin: Set state correctly if vpn client process cannot be started | Jukka Rissanen | 1 | -0/+2 | |
2012-11-23 | vpnd: Make sure provider is taken to ready state | Jukka Rissanen | 1 | -2/+17 | |
If the connman_inet_ifup() says the interface is already UP, then it is possible that we might not get a call to vpn_newlink(). That would be really bad as the provider would then never go to ready state. So in this case we manually call vpn_newlink() to take the interface UP. If the newlink was called before our call, then our manual call will be ignored. | |||||
2012-11-23 | pptp: Remember the connection password | Jukka Rissanen | 1 | -0/+7 | |
2012-11-23 | l2tp: Remember the connection password | Jukka Rissanen | 1 | -0/+7 | |
2012-11-23 | vpn-provider: Remove vpn provider from storage when needed | Jukka Rissanen | 1 | -0/+2 | |
2012-11-23 | vpn-provider: Send ConnectionRemoved signal when needed | Jukka Rissanen | 1 | -1/+37 | |
2012-11-23 | vpn-provider: Send ConnectionAdded signal when needed | Jukka Rissanen | 1 | -0/+21 | |
2012-11-23 | provider: Removed the connect part from the create() function | Jukka Rissanen | 3 | -35/+14 | |
The connect operation is done separately from create operation in connman-vpnd so change the function to reflect that. | |||||
2012-11-23 | vpn: Free allocated ipconfig struct | Jukka Rissanen | 1 | -0/+3 | |
2012-11-23 | ipconfig: Add ipconfig unref function | Jukka Rissanen | 2 | -0/+21 | |
2012-11-23 | vpn: Add preliminary agent support | Jukka Rissanen | 2 | -0/+49 | |
2012-11-23 | vpn: Introduce config file for vpnd | Jukka Rissanen | 1 | -0/+82 | |
2012-11-23 | doc: Example configuration file for vpnd | Jukka Rissanen | 1 | -0/+8 | |
2012-11-23 | vpnd: Add -r option which enables route handling in vpnd | Jukka Rissanen | 3 | -8/+29 | |
By default routes are handled by connman daemon. | |||||
2012-11-23 | vpn: Resolve vpn hostname if necessary | Jukka Rissanen | 1 | -1/+7 | |
2012-11-23 | provider: Refactor server and user route handling | Jukka Rissanen | 1 | -121/+512 | |
The server and user route handling is refactored in order to reflect the vpn dbus API changes. The routes are now array of dicts in dbus API. | |||||
2012-11-23 | vpn: New vpn daemon that handles vpn connections and clients | Jukka Rissanen | 21 | -0/+6503 | |