Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-21 | client: Remove the now obsolete command parsing functions | Patrik Flykt | 3 | -48/+11 | |
2013-02-21 | client: Remove unused functions | Patrik Flykt | 2 | -62/+0 | |
Remove find_service() as it is no longer used and match_service_name() which was only used by find_service(). | |||||
2013-02-21 | client: Factor out monitor command | Patrik Flykt | 1 | -129/+30 | |
2013-02-21 | client: Create monitor helper functions | Patrik Flykt | 2 | -0/+94 | |
2013-02-21 | client: Factor out technology enable and disable commands | Patrik Flykt | 1 | -40/+48 | |
2013-02-21 | client: Wait for a reply from Manager API | Patrik Flykt | 1 | -2/+10 | |
2013-02-21 | client: Wait for a reply from Technology API | Patrik Flykt | 1 | -6/+10 | |
Also reduce logging. | |||||
2013-02-21 | client: Factor out scan command | Patrik Flykt | 1 | -12/+19 | |
2013-02-21 | client: Reduce technology logging | Patrik Flykt | 1 | -8/+3 | |
Reduce technology logging messages and modify the remaining one. Also free the DBusError. | |||||
2013-02-21 | client: Factor out disconnect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Factor out connect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Don't look up service on connect or disconnect | Patrik Flykt | 1 | -16/+7 | |
Attempt to connect or disconnect without looking up the service in advace. Fix memory leak and update the error message. | |||||
2013-02-21 | client: Factor out technologies command | Patrik Flykt | 1 | -9/+4 | |
2013-02-21 | client: Factor out state command | Patrik Flykt | 1 | -9/+4 | |
2013-02-21 | client: Print out any errors on command execution | Patrik Flykt | 1 | -2/+6 | |
2013-02-21 | client: Factor out config command | Patrik Flykt | 1 | -110/+130 | |
Using the lengths returned from the property setting functions more than one config option can be specified on the command line. Use the simple argument parsing function as getopt is slightly limited in functionality. | |||||
2013-02-21 | client: Wait for a reply when removing service | Patrik Flykt | 1 | -9/+10 | |
2013-02-21 | client: Fix setting service properties | Patrik Flykt | 1 | -8/+25 | |
Set properties for a service ignoring any cached lookups. Send the method call only if ther is no error. When sending, wait for the result in order to see if the method call succeeded. | |||||
2013-02-21 | client: Quick fix for parsing IPv6.Configuration correctly | Patrik Flykt | 1 | -7/+26 | |
Fixes BMC#25925 | |||||
2013-02-21 | client: Return number of arguments processed when setting properties | Patrik Flykt | 1 | -3/+6 | |
2013-02-21 | client: Return number of proxies added | Patrik Flykt | 1 | -3/+3 | |
2013-02-21 | client: Return the number of proxy arguments discovered | Patrik Flykt | 1 | -3/+12 | |
2013-02-21 | client: Return the number of added dict entries | Patrik Flykt | 1 | -3/+12 | |
Check that both the dict entry name and data are non-NULL, the dict data does not start with '--' indicating a new option and that the length is not exhausted. Return the number of dict entries. | |||||
2013-02-21 | client: Return the number of added array entries | Patrik Flykt | 1 | -4/+9 | |
Check that the array element is non-NULL, does not start with '--' indicating a new option or that the array length is not exhausted. Return the number of array elements added. | |||||
2013-02-21 | client: Factor out services command | Patrik Flykt | 1 | -60/+45 | |
Update the help printout as well, '--properties' is not mandatory. Add a simple argument parsing function. | |||||
2013-02-21 | client: Add boolean parsing helper function | Patrik Flykt | 2 | -0/+27 | |
2013-02-21 | client: Fix up interactive option parsing | Patrik Flykt | 1 | -42/+21 | |
Use g_strsplit to get a NULL terminated array of chars and compute the number of array items. | |||||
2013-02-21 | client: Make DBusConnection global | Patrik Flykt | 2 | -1/+3 | |
2013-02-21 | client: Factor out help implementation | Patrik Flykt | 2 | -71/+82 | |
Use command table to produce help text. Add description texts for various options and use both option and description arrays to produce option help texts. Remove old help printing function. | |||||
2013-02-21 | client: Create prototypes for all commands | Patrik Flykt | 4 | -11/+133 | |
Provide the infrastructure to factor out the commands. | |||||
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 | doc: Add description of GetProperties method | Jukka Rissanen | 1 | -1/+8 | |
2013-02-19 | test: Script for getting, setting and clearing VPN properties | Jukka Rissanen | 1 | -0/+66 | |
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 | vpn: Ignore VPN UserRoutes and ServerRoutes properties | Jukka Rissanen | 1 | -0/+4 | |
These properties are not needed here so ignore them. | |||||
2013-02-19 | error: Handle ECONNREFUSED gracefully in dbus error handler | Jukka Rissanen | 1 | -0/+1 | |
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 | TODO: Add note about removal of L2TP and PPTP prefix for PPP options | Jukka Rissanen | 1 | -0/+10 | |