summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-21Add iptables and DHCP test tools to .gitignoreMarcel Holtmann1-0/+2
2010-07-21Export the DHCP library functions for pluginsMarcel Holtmann1-1/+1
2010-07-21Add skeleton for generic DHCP pluginMarcel Holtmann2-0/+66
2010-07-21Add initial version of DHCP client test toolMartin Xu2-3/+191
2010-07-21Fix missing automake integration for DHCP client libraryMarcel Holtmann1-2/+5
2010-07-21Add initial support for DHCP client libraryMartin Xu4-0/+1919
2010-07-22TODO list updateSamuel Ortiz1-0/+21
2010-07-21Check for NULL service pointer in nameserver host route routinesSamuel Ortiz1-0/+6
VPNs will have a NULL service.
2010-07-21Fix outdated config file format documentSamuel Ortiz1-2/+2
2010-07-15Provide unique identifier along with the interface callbacksMarcel Holtmann4-9/+21
2010-07-15Add service property and signals for LoginRequiredMarcel Holtmann6-16/+52
2010-07-15Fix Ethernet service type detectionMarcel Holtmann1-6/+12
2010-07-15Fix proper detection for pure Ethernet technology typesMarcel Holtmann1-4/+27
2010-07-15Add technology driver callbacks for adding/removing interfacesMarcel Holtmann4-4/+85
2010-07-15Monitor interface creation/removal and check DEVTYPEMarcel Holtmann1-0/+77
2010-07-15Add simple technology driver support for BluetoothMarcel Holtmann1-0/+33
2010-07-15Add technology driver callback for setting TetheringMarcel Holtmann2-11/+12
2010-07-15Add callbacks for Tethering enable/disable on technology levelMarcel Holtmann3-2/+36
2010-07-15Add support for technology driversMarcel Holtmann4-2/+125
2010-07-14change data->gateway to data->ipv4_gateway in src/connection.cMartin Xu1-21/+23
2010-07-13Add some extra autoconf/automake magic for iptables libraryMarcel Holtmann2-2/+7
2010-07-14iptables test programSamuel Ortiz2-1/+211
This piece of code allows to add a -m quota -j DROP rule to a user defined chain.
2010-07-12Add missing enable-tethering and disable-tethering test scriptsMarcel Holtmann2-0/+20
2010-07-12Add empty dictionary for roaming counters for nowMarcel Holtmann1-0/+6
2010-07-12Update counter test script to print roaming ones as wellMarcel Holtmann1-17/+20
2010-07-12Update counter API to differentiate between home and roaming countersMarcel Holtmann1-2/+10
2010-07-12Do not pass the -H option to dhclient taskSamuel Ortiz2-14/+0
This option is only supported by RedHat's dhclient package.
2010-07-12Check for add_gateway() return value before dereferencing itSamuel Ortiz1-6/+11
add_gateway() also returns NULL for zero length strings.
2010-07-12Update nameserver host routes with DNS manual settingsSamuel Ortiz1-0/+11
2010-07-12Return manually set gateway when the ipdevice one is NULLSamuel Ortiz1-1/+8
With N (> 1) online services, only the connected device will have its gateway set (as the default route). If the remaining ones have manually set gateways, then let's return that.
2010-07-12No host route needed for nameservers on the same subnetSamuel Ortiz3-1/+64
2010-07-12Set DNS host routes before toggling the service READY stateSamuel Ortiz3-6/+49
update_nameservers() is called when a service hits the READY state. The DNS proxy code will be able to connect to the added nameservers if the right host routes have been set.
2010-07-12Factorize host route setting routineSamuel Ortiz3-59/+12
2010-07-12Remove child watch when connman_task is freedPekka Pessi1-1/+7
2010-07-10Update counter API documentationMarcel Holtmann1-1/+2
2010-07-09Fix SEGV at first startupDavid Woodhouse1-4/+6
connman_wifi_load_ssid() can return NULL. Best not to dereference that. This fixes Meego's bug #3787.
2010-07-09Fix connman_wifi_load_ssidSamuel Ortiz1-5/+7
The returned string array must be NULL terminated, and the groups array should be freed as well.
2010-07-09Remove task pluginSamuel Ortiz3-182/+2
2010-07-09Convert udhcp plugin to connman taskSamuel Ortiz2-135/+124
The udhcp plugin was still using the old and deprecated plugins/task.c API.
2010-07-09Add DHCP plugins priority flagsSamuel Ortiz2-0/+5
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-09Fix crash in dhclient releasePekka Pessi1-18/+22
2010-07-09Keep start/stop state of statistic timersDaniel Wagner1-0/+9
When starting a ethernet device the sequence of the device state (UP, LOWER_UP) from RTNL is different then by a WiFi device. For an ethernet device the entering UP and LOWER_UP arrives together. Whereas for WiFi device we get a entering UP and leaving LOWER_UP. This results in a call on lower_down first. Unfortunatly, the stats_start and stats_stop should be called in the right order. This fix tracks the statistics enabled/disabled state.
2010-07-08Add additionals statistics countersDaniel Wagner6-14/+195
Adding rx_packets, tx_packets, rx_errors, tx_errors, rx_dropped and tx_dropped counters.
2010-07-08Fix my own email addressMarcel Holtmann1-1/+1
2010-07-08Make test-counter byte counters human readableDaniel Wagner1-1/+24
2010-07-08Save counter values during shutdownDaniel Wagner1-0/+3
With moving the start/stop function to the lower_up/lower_down fucntions in service, the statistic was not stored anymore when connman was shutdown. Reason being that lower_down will be called only from a RTNL event which is asynchron. So when the ethernet_disable is called connman doesn't see the corresponding UP,LOWER_UP event.
2010-07-08Update TODO listSamuel Ortiz1-0/+18
2010-07-07Start/stop statistics depending on LOWER_UP stateDaniel Wagner2-5/+32
The statistic counters should be updated as soon the interface enters LOWER_UP state ('cable' connected). Therefore we do not depend on the state of the Service object, which fixes also the shortcoming we have currently with private connections. Those services do not enter the ONLINE state. At least for ethernet the lower_up callback has not been called because the service was created 'too late'.
2010-07-07Initialize offset countersDaniel Wagner1-7/+38
The Service object needs the the first update of the statistic counters to know the offset for its calculation. Until now, the first timeout of timer was used to update this values. This fix triggers an update only for initialiting the offset values and does not notify the counter clients.