Samuel Ortiz [Thu, 29 Jul 2010 18:10:02 +0000 (20:10 +0200)]
Disable offline mode when enabling a technology from offline mode
When enabling a technology in offline mode ConnMan now enables said
technology, set offline mode to false while keeping the other technologies
off.
Martin Xu [Thu, 29 Jul 2010 04:38:37 +0000 (12:38 +0800)]
Set default IPv6 method as off
Samuel Ortiz [Thu, 29 Jul 2010 00:20:08 +0000 (02:20 +0200)]
Fix dhclient-test.c build error
Samuel Ortiz [Wed, 28 Jul 2010 18:28:56 +0000 (20:28 +0200)]
Separate v4 and v6 gateways in connman_ipdevice structure
Samuel Ortiz [Wed, 28 Jul 2010 18:22:45 +0000 (20:22 +0200)]
Add a family argument to the ipconfig routing functions
Samuel Ortiz [Wed, 28 Jul 2010 18:13:56 +0000 (20:13 +0200)]
Add a family member to connman_ipaddress
Samuel Ortiz [Wed, 28 Jul 2010 17:59:05 +0000 (19:59 +0200)]
Update test scripts for IPv6 support
Samuel Ortiz [Wed, 28 Jul 2010 17:55:36 +0000 (19:55 +0200)]
Track IPv6 address changes through rtnl
Martin Xu [Wed, 28 Jul 2010 15:28:42 +0000 (17:28 +0200)]
Initial IPv6 support
Only manual/fixed setting supported for now.
Marcel Holtmann [Wed, 28 Jul 2010 22:28:07 +0000 (15:28 -0700)]
Fix timer handling for DHCP library test tool
Marcel Holtmann [Wed, 28 Jul 2010 20:25:22 +0000 (13:25 -0700)]
Add tool for standalone dhclient testing
Marcel Holtmann [Wed, 28 Jul 2010 19:12:31 +0000 (12:12 -0700)]
Add some extra checks to dhclient callout script
Marcel Holtmann [Wed, 28 Jul 2010 18:50:42 +0000 (11:50 -0700)]
Report human readable status information for resolver result
Marcel Holtmann [Wed, 28 Jul 2010 18:50:16 +0000 (11:50 -0700)]
Add proper status support for lookups via resolver library
Marcel Holtmann [Wed, 28 Jul 2010 17:34:12 +0000 (10:34 -0700)]
Add simple timer for resolver test program
Marcel Holtmann [Wed, 28 Jul 2010 17:32:53 +0000 (10:32 -0700)]
Destroy timer of DHCP test program
Marcel Holtmann [Wed, 28 Jul 2010 02:06:42 +0000 (19:06 -0700)]
Fix result status handling with resolver library callback
Marcel Holtmann [Wed, 28 Jul 2010 01:40:18 +0000 (18:40 -0700)]
Remove udhcp plugin
Marcel Holtmann [Wed, 28 Jul 2010 01:36:05 +0000 (18:36 -0700)]
Remove resolvconf plugin
Marcel Holtmann [Wed, 28 Jul 2010 01:29:32 +0000 (18:29 -0700)]
Add debug option to resolver test tool
Marcel Holtmann [Wed, 28 Jul 2010 01:21:41 +0000 (18:21 -0700)]
Fix issue with missing query id return value of resolver library
Marcel Holtmann [Wed, 28 Jul 2010 01:21:09 +0000 (18:21 -0700)]
Add function to cancel requests from resolver library
Marcel Holtmann [Tue, 27 Jul 2010 07:03:15 +0000 (00:03 -0700)]
Add simple timeout handling for resolver lookups
Marcel Holtmann [Tue, 27 Jul 2010 06:45:14 +0000 (23:45 -0700)]
Fix return value of nameserver functions of resolver library
Marcel Holtmann [Tue, 27 Jul 2010 06:43:51 +0000 (23:43 -0700)]
Fix user data for resolver library debug function prototype
Marcel Holtmann [Tue, 27 Jul 2010 06:42:53 +0000 (23:42 -0700)]
Fix resolver test script to show lookup results
Marcel Holtmann [Tue, 27 Jul 2010 06:40:53 +0000 (23:40 -0700)]
Add better result callback handling for resolver library
Marcel Holtmann [Mon, 26 Jul 2010 22:21:56 +0000 (15:21 -0700)]
Make resolver test tool use internal resolver library
Marcel Holtmann [Mon, 26 Jul 2010 22:21:12 +0000 (15:21 -0700)]
Fix build issues with internal resolver library
Marcel Holtmann [Mon, 26 Jul 2010 22:20:20 +0000 (15:20 -0700)]
Add initial support for hostname lookup via resolver
Marcel Holtmann [Mon, 26 Jul 2010 18:37:21 +0000 (11:37 -0700)]
Add functions for adding and flushing nameservers with resolver
Marcel Holtmann [Mon, 26 Jul 2010 17:14:58 +0000 (10:14 -0700)]
Use top-level include directory for internal DHCP library
Marcel Holtmann [Mon, 26 Jul 2010 17:13:22 +0000 (10:13 -0700)]
Add skeleton for internal resolver library
Samuel Ortiz [Mon, 26 Jul 2010 16:09:17 +0000 (18:09 +0200)]
Try all technologies from start-scanning test script
Samuel Ortiz [Mon, 26 Jul 2010 15:36:07 +0000 (17:36 +0200)]
Return html fetching error when recv returns 0
Samuel Ortiz [Mon, 26 Jul 2010 10:17:41 +0000 (12:17 +0200)]
Start ondemand connection when getting a DNS request while disconnected
Samuel Ortiz [Sat, 24 Jul 2010 09:51:28 +0000 (11:51 +0200)]
Have ondemand_connected always return TRUE
For now ondemand_connected() always return TRUE as the ondemand feature
is not complete yet.
Samuel Ortiz [Sat, 24 Jul 2010 09:49:26 +0000 (11:49 +0200)]
Don't try to connect when service list is empty
Samuel Ortiz [Mon, 26 Jul 2010 10:13:41 +0000 (12:13 +0200)]
dnsproxy flush method implementation
Samuel Ortiz [Fri, 23 Jul 2010 15:47:24 +0000 (17:47 +0200)]
Add a resolver flush method
The flush method sends any pending resolving requests. A resolver can
queue requests to some pending list when e.g. it knows ConnMan is offline.
Samuel Ortiz [Fri, 23 Jul 2010 15:09:50 +0000 (17:09 +0200)]
Initial on-demand connection implementation
This first implementation tracks the connection status, and provides
a simple API for starting the on-demand session.
Zhenhua Zhang [Mon, 26 Jul 2010 01:11:36 +0000 (09:11 +0800)]
Free service data in service_reply
Avoid the memory leak of server_data.
Marcel Holtmann [Sun, 25 Jul 2010 19:26:49 +0000 (12:26 -0700)]
Release 0.55
Marcel Holtmann [Sun, 25 Jul 2010 19:04:33 +0000 (12:04 -0700)]
Fix script for testing counter interface
Marcel Holtmann [Sun, 25 Jul 2010 18:56:38 +0000 (11:56 -0700)]
Fix wrong prototype for DHCP client library reference counting
Marcel Holtmann [Sun, 25 Jul 2010 18:50:26 +0000 (11:50 -0700)]
Add more debug output to DHCP client plugin
Marcel Holtmann [Sat, 24 Jul 2010 03:01:49 +0000 (20:01 -0700)]
Update RegisterCounter method parameters
Yingan Deng [Fri, 23 Jul 2010 02:28:56 +0000 (10:28 +0800)]
Fix PATH of adapter_watch in bluetooth plugin
The Path of the adapter_watch signal is not right, so the adapter
status can not be synced.
Samuel Ortiz [Thu, 22 Jul 2010 16:17:51 +0000 (18:17 +0200)]
Fix floating point error for unhandled dhcp options
Unhandled dhcp options will trigger a divide by zero exception.
Samuel Ortiz [Thu, 22 Jul 2010 15:03:53 +0000 (17:03 +0200)]
Initial dhcp-lib based dhcp plugin
dhclient is still the favorite one, but the dhcp-lib one comes next to it.
Samuel Ortiz [Thu, 22 Jul 2010 14:53:45 +0000 (16:53 +0200)]
Display hostname to dhcp-test
Samuel Ortiz [Thu, 22 Jul 2010 13:54:58 +0000 (15:54 +0200)]
gdhcp hostname option support
Samuel Ortiz [Thu, 22 Jul 2010 11:43:35 +0000 (13:43 +0200)]
Fix GDHCPClientError typo
Marcel Holtmann [Thu, 22 Jul 2010 06:24:26 +0000 (23:24 -0700)]
Add iptables and DHCP test tools to .gitignore
Marcel Holtmann [Thu, 22 Jul 2010 06:23:20 +0000 (23:23 -0700)]
Export the DHCP library functions for plugins
Marcel Holtmann [Thu, 22 Jul 2010 06:21:58 +0000 (23:21 -0700)]
Add skeleton for generic DHCP plugin
Martin Xu [Thu, 22 Jul 2010 06:14:27 +0000 (23:14 -0700)]
Add initial version of DHCP client test tool
Marcel Holtmann [Thu, 22 Jul 2010 06:11:22 +0000 (23:11 -0700)]
Fix missing automake integration for DHCP client library
Martin Xu [Thu, 22 Jul 2010 06:07:35 +0000 (23:07 -0700)]
Add initial support for DHCP client library
Samuel Ortiz [Wed, 21 Jul 2010 22:05:51 +0000 (00:05 +0200)]
TODO list update
Samuel Ortiz [Wed, 21 Jul 2010 18:46:50 +0000 (20:46 +0200)]
Check for NULL service pointer in nameserver host route routines
VPNs will have a NULL service.
Samuel Ortiz [Tue, 20 Jul 2010 22:45:07 +0000 (00:45 +0200)]
Fix outdated config file format document
Marcel Holtmann [Thu, 15 Jul 2010 20:58:22 +0000 (13:58 -0700)]
Provide unique identifier along with the interface callbacks
Marcel Holtmann [Thu, 15 Jul 2010 19:25:25 +0000 (12:25 -0700)]
Add service property and signals for LoginRequired
Marcel Holtmann [Thu, 15 Jul 2010 19:03:37 +0000 (12:03 -0700)]
Fix Ethernet service type detection
Marcel Holtmann [Thu, 15 Jul 2010 17:30:41 +0000 (10:30 -0700)]
Fix proper detection for pure Ethernet technology types
Marcel Holtmann [Thu, 15 Jul 2010 17:05:55 +0000 (10:05 -0700)]
Add technology driver callbacks for adding/removing interfaces
Marcel Holtmann [Thu, 15 Jul 2010 16:51:29 +0000 (09:51 -0700)]
Monitor interface creation/removal and check DEVTYPE
Marcel Holtmann [Thu, 15 Jul 2010 15:54:55 +0000 (17:54 +0200)]
Add simple technology driver support for Bluetooth
Marcel Holtmann [Thu, 15 Jul 2010 15:52:58 +0000 (17:52 +0200)]
Add technology driver callback for setting Tethering
Marcel Holtmann [Thu, 15 Jul 2010 15:46:27 +0000 (17:46 +0200)]
Add callbacks for Tethering enable/disable on technology level
Marcel Holtmann [Thu, 15 Jul 2010 15:42:03 +0000 (17:42 +0200)]
Add support for technology drivers
Martin Xu [Wed, 14 Jul 2010 05:58:38 +0000 (13:58 +0800)]
change data->gateway to data->ipv4_gateway in src/connection.c
Marcel Holtmann [Wed, 14 Jul 2010 02:03:24 +0000 (23:03 -0300)]
Add some extra autoconf/automake magic for iptables library
Samuel Ortiz [Wed, 14 Jul 2010 00:29:01 +0000 (02:29 +0200)]
iptables test program
This piece of code allows to add a -m quota -j DROP rule to a user defined
chain.
Marcel Holtmann [Tue, 13 Jul 2010 01:46:10 +0000 (22:46 -0300)]
Add missing enable-tethering and disable-tethering test scripts
Marcel Holtmann [Tue, 13 Jul 2010 01:25:20 +0000 (22:25 -0300)]
Add empty dictionary for roaming counters for now
Marcel Holtmann [Tue, 13 Jul 2010 01:25:03 +0000 (22:25 -0300)]
Update counter test script to print roaming ones as well
Marcel Holtmann [Tue, 13 Jul 2010 01:17:38 +0000 (22:17 -0300)]
Update counter API to differentiate between home and roaming counters
Samuel Ortiz [Mon, 12 Jul 2010 19:05:33 +0000 (21:05 +0200)]
Do not pass the -H option to dhclient task
This option is only supported by RedHat's dhclient package.
Samuel Ortiz [Mon, 12 Jul 2010 18:40:02 +0000 (20:40 +0200)]
Check for add_gateway() return value before dereferencing it
add_gateway() also returns NULL for zero length strings.
Samuel Ortiz [Mon, 12 Jul 2010 18:37:32 +0000 (20:37 +0200)]
Update nameserver host routes with DNS manual settings
Samuel Ortiz [Mon, 12 Jul 2010 16:56:58 +0000 (18:56 +0200)]
Return manually set gateway when the ipdevice one is NULL
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.
Samuel Ortiz [Mon, 12 Jul 2010 16:45:59 +0000 (18:45 +0200)]
No host route needed for nameservers on the same subnet
Samuel Ortiz [Thu, 8 Jul 2010 17:27:40 +0000 (19:27 +0200)]
Set DNS host routes before toggling the service READY state
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.
Samuel Ortiz [Thu, 8 Jul 2010 17:08:14 +0000 (19:08 +0200)]
Factorize host route setting routine
Pekka Pessi [Mon, 12 Jul 2010 14:48:46 +0000 (17:48 +0300)]
Remove child watch when connman_task is freed
Marcel Holtmann [Sat, 10 Jul 2010 23:24:44 +0000 (20:24 -0300)]
Update counter API documentation
David Woodhouse [Fri, 9 Jul 2010 21:45:24 +0000 (23:45 +0200)]
Fix SEGV at first startup
connman_wifi_load_ssid() can return NULL. Best not to dereference that.
This fixes Meego's bug #3787.
Samuel Ortiz [Fri, 9 Jul 2010 21:34:32 +0000 (23:34 +0200)]
Fix connman_wifi_load_ssid
The returned string array must be NULL terminated, and the groups array
should be freed as well.
Samuel Ortiz [Fri, 9 Jul 2010 16:08:57 +0000 (18:08 +0200)]
Remove task plugin
Samuel Ortiz [Fri, 9 Jul 2010 16:05:41 +0000 (18:05 +0200)]
Convert udhcp plugin to connman task
The udhcp plugin was still using the old and deprecated
plugins/task.c API.
Samuel Ortiz [Fri, 9 Jul 2010 15:45:26 +0000 (17:45 +0200)]
Add DHCP plugins priority flags
Daniel Wagner [Fri, 9 Jul 2010 15:42:04 +0000 (17:42 +0200)]
Parse boolean flag from test-connman argv
Any non empty string evaluates to True which is clearly not intended.
Pekka Pessi [Fri, 9 Jul 2010 11:14:24 +0000 (14:14 +0300)]
Fix crash in dhclient release
Daniel Wagner [Fri, 9 Jul 2010 08:10:09 +0000 (10:10 +0200)]
Keep start/stop state of statistic timers
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.
Daniel Wagner [Thu, 8 Jul 2010 13:32:02 +0000 (15:32 +0200)]
Add additionals statistics counters
Adding rx_packets, tx_packets, rx_errors, tx_errors,
rx_dropped and tx_dropped counters.
Marcel Holtmann [Thu, 8 Jul 2010 13:16:31 +0000 (10:16 -0300)]
Fix my own email address
Daniel Wagner [Thu, 8 Jul 2010 12:17:41 +0000 (14:17 +0200)]
Make test-counter byte counters human readable
Daniel Wagner [Thu, 8 Jul 2010 09:11:11 +0000 (11:11 +0200)]
Save counter values during shutdown
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.