summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2010-11-26Change service name from org.moblin.connman to net.connmanMarcel Holtmann25-87/+87
2010-11-25test: Providers is no longer a manager propertyGustavo F. Padovan4-74/+5
2010-11-19openconnect: Fix connect-vpn and plugin indentationSamuel Ortiz1-1/+1
2010-11-19openconnect: Pass server certificate hash directly to openconnectDavid Woodhouse1-2/+2
When we spawn openconnect to make a VPN connection, it obviously needs to validate the server's SSL certificate to protect against a MiTM attack. But it may not have full access to the user's CA chain, or the user may have manually accepted a dubious certificate. To allow for this, the GUI authentication dialog returns a SHA1 of the server's SSL certificate fingerprint, for the *specific* server that it managed to authenticate to. The intention is that this should be passed through to openconnect when it connects. That way, openconnect doesn't need to do any normal validation; it only needs to compare the certificate with what's expected. From openconnect v2.26, certificate validation is enabled by default; rather than only when a --cafile option is given. So it's important that we start passing the certificate fingerprint through, to avoid connection failures (which we don't currently detect and report gracefully, btw).
2010-11-16monitor-services: Invalid syntax typo fixLeena Gunda1-1/+1
Fixes BMC#9995
2010-11-16test: Allow setting gateway for a static ip address.Gustavo Sverzut Barbieri1-1/+2
2010-11-10Fix get-proxy-autoconfig method checkingLeena Gunda1-1/+1
The script should check for the "auto" method, not the "auto-config". Fixes BMC#9178
2010-11-06Remove some leftovers from Device/Network interface removalMarcel Holtmann3-13/+5
2010-11-05Remove test scripts for no longer existing interfacesMarcel Holtmann8-454/+2
2010-11-03connect-vpn: Add OpenVPN supportDaniel Wagner1-12/+30
2010-10-11simple-agent: update to new agent apiKalle Valo1-15/+8
simple-agent was still using the old agent api and didn't work anymore. Update it to use the new api.
2010-10-11Added a test tool for proxy configuration (set-proxy)Tomasz Bursztyka1-0/+44
2010-10-07Pretty printers for proxy settings in various test tool.Tomasz Bursztyka5-9/+26
2010-09-28Remove providers based on their VPN service pathSamuel Ortiz1-2/+1
2010-09-22Add support for setting proxy configuration methodMarcel Holtmann2-3/+4
2010-08-20Make backtrace script a bit more genericMarcel Holtmann1-3/+3
2010-08-18Add support for roaming/home network statisticDaniel Wagner1-3/+8
Currently connman only has one set of counters for collecting statistics on online time and the amount of transfered bytes. For 3G connections we should destinguish between home network and roaming. This patch introduces two sets of counter values for home network and roaming network. Changing from Home to Roaming counters relies on connman_network_set_roaming being called. Currently, this is only done in the ofono plugin. Getting Wifi 'Hot-Spot Provider' Roaming (e.g. T-Mobile Germany to T-Mobile USA) is not yet working.
2010-08-17Fix backtrace script formatting and mode bitsSamuel Ortiz1-10/+12
2010-08-17ConnMan backtrace supportSamuel Ortiz1-0/+55
Add a generic signal handler in order to dump ConnMan backtrace when crashing. The implementation is based on glibc backtrace() routines and thus can not resolve static function names. A little python wrapper over addr2line fixes that by taking a full backtrace from a complete connman log file.
2010-08-06Build VPN services based on VPN host and domain stringsSamuel Ortiz1-3/+3
2010-08-02Fix test-managerSamuel Ortiz1-2/+33
2010-08-02Update test scripts for the new provider interfaceSamuel Ortiz4-8/+39
2010-07-29Fix broken printout of proxy auto-configuration test scriptMarcel Holtmann1-1/+2
2010-07-29Add test script for retrieving proxy auto-configurationMarcel Holtmann1-0/+36
2010-07-29Add decoding of IPv6 properties for get-services test scriptMarcel Holtmann1-1/+3
2010-07-29Add decoding support for IPv6 propertiesMarcel Holtmann1-1/+3
2010-07-29Update test scripts for IPv6 supportSamuel Ortiz2-7/+28
2010-07-26Try all technologies from start-scanning test scriptSamuel Ortiz1-2/+4
2010-07-25Fix script for testing counter interfaceMarcel Holtmann1-4/+4
2010-07-15Add service property and signals for LoginRequiredMarcel Holtmann1-2/+3
2010-07-12Add missing enable-tethering and disable-tethering test scriptsMarcel Holtmann2-0/+20
2010-07-12Update counter test script to print roaming ones as wellMarcel Holtmann1-17/+20
2010-07-09Parse boolean flag from test-connman argvDaniel Wagner1-1/+2
Any non empty string evaluates to True which is clearly not intended.
2010-07-08Add additionals statistics countersDaniel Wagner1-1/+5
Adding rx_packets, tx_packets, rx_errors, tx_errors, rx_dropped and tx_dropped counters.
2010-07-08Make test-counter byte counters human readableDaniel Wagner1-1/+24
2010-07-03Add initial bits and pieces for Tethering supportMarcel Holtmann1-1/+1
2010-06-30Update service statisticsDaniel Wagner1-7/+5
Instead of collecting statistics on interface name base and storing it local in counter.c, update the Service object. counter.c maps interface names to Service objects. The assumption is made that there is a 1:1 mapping between Service objects and interface name. A Counter object will only show Service object statistics for services in the ready state. There is no interface (yet) for retrieving information on Service objects in idle/failure/configuration/.. state.
2010-06-30Centralize rntl update timersDaniel Wagner1-2/+7
Instead of creating a new rntl trigger for each Counter object move this part to the rtnl core. Only one update trigger will be registered at RTNL. The minimum interval will used for the timeout callback.
2010-05-13Add method to retrieve sorted list of tuples for servicesMarcel Holtmann1-0/+51
2010-05-13Add initial support for LookupService helper methodMarcel Holtmann1-0/+17
2010-05-13Add support for setting per service domain listMarcel Holtmann3-2/+24
2010-05-12Add support for setting manual DNS server configurationMarcel Holtmann3-0/+38
2010-03-25Set netmask and gateway as the mandatory parameters of test/set-addressMartin Xu1-9/+5
2010-03-23Get simple-agent passphrase from command lineKalle Valo1-4/+29
2010-02-18Add script to set IP configuration methodLucas De Marchi1-0/+33
This script is used to set IPv4.Configuration property of a service, allowing to change among dhcp and manual methods.
2010-02-16Update all test scripts using devices properties directlySamuel Ortiz5-99/+134
We need to go through the technology list first in order to access the devices properties.
2010-02-15Update test/list-networks to new properties hierarchyGustavo Sverzut Barbieri1-25/+31
The "Devices" property is gone, now need to walk "Technologies" and then their devices.
2010-02-11Static IP can be set regardles of the service stateMartin Xu1-3/+0
2010-02-05Fix start-scanning scriptSamuel Ortiz1-6/+11
Devices are no longer part of the manager properties, go through the technology list instead.
2010-01-31Fix service property monitoring handlingMarcel Holtmann1-10/+7