Marcel Holtmann [Mon, 1 Nov 2010 01:46:40 +0000 (02:46 +0100)]
Add support for decoding WISPr page elements
Marcel Holtmann [Mon, 1 Nov 2010 01:07:23 +0000 (02:07 +0100)]
Use return value of result function to indicate to proceed or not
Marcel Holtmann [Mon, 1 Nov 2010 01:05:45 +0000 (02:05 +0100)]
The HTTP status code can be retrieved from result object
Marcel Holtmann [Mon, 1 Nov 2010 01:00:47 +0000 (02:00 +0100)]
Add parsing of initial WISPr response
Marcel Holtmann [Mon, 1 Nov 2010 00:40:56 +0000 (01:40 +0100)]
Add really simple content token parser
Marcel Holtmann [Sun, 31 Oct 2010 23:58:50 +0000 (00:58 +0100)]
Fix GWeb header parsing and make it more robust
Marcel Holtmann [Sat, 30 Oct 2010 23:23:24 +0000 (01:23 +0200)]
Ensure that chunk buffer is '\0' terminated
Marcel Holtmann [Sat, 30 Oct 2010 23:03:37 +0000 (01:03 +0200)]
Reset GWebResult buffer and length in case of an error
Marcel Holtmann [Sat, 30 Oct 2010 22:59:38 +0000 (00:59 +0200)]
Add support for parsing HTTP status code response
Marcel Holtmann [Sat, 30 Oct 2010 21:25:15 +0000 (23:25 +0200)]
Add support for HTTP header parsing and body content
Marcel Holtmann [Sat, 30 Oct 2010 16:48:29 +0000 (18:48 +0200)]
Remove one debug print for GWeb session flags
Marcel Holtmann [Sat, 30 Oct 2010 15:52:56 +0000 (17:52 +0200)]
Enable close connection for the inital WISPr request
Marcel Holtmann [Sat, 30 Oct 2010 15:52:40 +0000 (17:52 +0200)]
Add proper support for HTTP close connection option
Marcel Holtmann [Sat, 30 Oct 2010 15:42:20 +0000 (17:42 +0200)]
Add support for GWeb requests with IP address only URL
Marcel Holtmann [Sat, 30 Oct 2010 15:21:01 +0000 (17:21 +0200)]
Update WISPr command line client to use GWeb
Marcel Holtmann [Sat, 30 Oct 2010 15:17:31 +0000 (17:17 +0200)]
Add support for setting accept option for GWeb
Marcel Holtmann [Sat, 30 Oct 2010 14:57:57 +0000 (16:57 +0200)]
Update error messages of GWeb test application
Marcel Holtmann [Sat, 30 Oct 2010 13:54:10 +0000 (15:54 +0200)]
Let the test tool use ConnMan as user agent string
Marcel Holtmann [Sat, 30 Oct 2010 13:53:50 +0000 (15:53 +0200)]
Add support for adding custom user agent string
Marcel Holtmann [Sat, 30 Oct 2010 13:42:47 +0000 (15:42 +0200)]
Use an unbuffered channel for HTTP and HTTPS transports
Marcel Holtmann [Sat, 30 Oct 2010 13:41:54 +0000 (15:41 +0200)]
Only disable encoding within GIOGnuTLS channel
Marcel Holtmann [Sat, 30 Oct 2010 13:35:19 +0000 (15:35 +0200)]
Fix handling of receive watch callback within GWeb
Marcel Holtmann [Sat, 30 Oct 2010 13:28:24 +0000 (15:28 +0200)]
Add basic support for using HTTPS within GWeb
Marcel Holtmann [Sat, 30 Oct 2010 13:04:03 +0000 (15:04 +0200)]
Split usage of gweb/gresolv.[ch] and gweb/gweb.[ch] a little bit
Marcel Holtmann [Sat, 30 Oct 2010 12:58:32 +0000 (14:58 +0200)]
Add basic update for GWeb request API
Marcel Holtmann [Sat, 30 Oct 2010 01:21:54 +0000 (03:21 +0200)]
Add dummy HTTPS client to WISPr test program
Marcel Holtmann [Sat, 30 Oct 2010 01:21:13 +0000 (03:21 +0200)]
Add support for g_io_channel_gnutls_new() function
Samuel Ortiz [Fri, 29 Oct 2010 22:21:24 +0000 (00:21 +0200)]
iptables-test: Support for chain deletion
Samuel Ortiz [Fri, 29 Oct 2010 21:43:48 +0000 (23:43 +0200)]
iptables-test: Properly clean tables up
Samuel Ortiz [Fri, 29 Oct 2010 18:21:18 +0000 (20:21 +0200)]
iptables-test: Support for user defined chain jumps
Samuel Ortiz [Fri, 29 Oct 2010 15:28:47 +0000 (17:28 +0200)]
iptables-test: Update entries offsets properly
This is needed to set the jump targets.
Samuel Ortiz [Fri, 29 Oct 2010 12:45:20 +0000 (14:45 +0200)]
iptables-test: Merge rule adding routines
There is no valid reason for separating the builtin case from the generic
one.
Marcel Holtmann [Fri, 29 Oct 2010 18:15:54 +0000 (20:15 +0200)]
Add skeleton for WISPr command line client
Marcel Holtmann [Fri, 29 Oct 2010 18:10:27 +0000 (20:10 +0200)]
Fix --with-ntpd configure option
Marcel Holtmann [Fri, 29 Oct 2010 18:08:05 +0000 (20:08 +0200)]
Check for GnuTLS library when tools are enabled
Leena Gunda [Thu, 28 Oct 2010 23:12:21 +0000 (01:12 +0200)]
gsupplicant: Start wpa_supplicant daemon through introspection request
Fixes BMC#8750
Marcel Holtmann [Fri, 29 Oct 2010 01:51:02 +0000 (03:51 +0200)]
Use __attribute__ marking for format strings
Mohamed Abbas [Thu, 28 Oct 2010 10:38:31 +0000 (03:38 -0700)]
gsupplicant: wpa_supplicant only accepts upper case EAPs.
Fixes BMC#8792
Samuel Ortiz [Thu, 28 Oct 2010 22:58:08 +0000 (00:58 +0200)]
iptables: Use printf format for iptables_command argument
Johan Hedberg [Wed, 27 Oct 2010 20:23:10 +0000 (16:23 -0400)]
Fix string array memory leaks during plugin loading
Samuel Ortiz [Wed, 27 Oct 2010 23:14:37 +0000 (01:14 +0200)]
iptables: Initial library commit
The ConnMan iptables library provides a simple internal API for adding
netfilter chains and rules.
Samuel Ortiz [Wed, 27 Oct 2010 09:05:54 +0000 (11:05 +0200)]
Add the openconnect plugin to the distcheck rule
Samuel Ortiz [Wed, 27 Oct 2010 09:02:16 +0000 (11:02 +0200)]
Add vpn.* to the openconnect plugin sources
Martin Xu [Wed, 27 Oct 2010 03:00:36 +0000 (11:00 +0800)]
Add vpn.h to the plugins builtin sources
Without it the dist tarball will failt to build.
Samuel Ortiz [Tue, 26 Oct 2010 19:27:10 +0000 (21:27 +0200)]
ipv4: Return 32 as a prefix length for a NULL netmask
Matt Francomb [Tue, 26 Oct 2010 19:08:35 +0000 (21:08 +0200)]
device: Save zero scan_interval values
For some devices it makes sense to not run periodic wifi scans at all.
Although the default value is kept at 300 seconds for wifi, one should be
able to set that value to 0, and fetch it back after rebooting.
Samuel Ortiz [Tue, 26 Oct 2010 01:39:20 +0000 (03:39 +0200)]
iptables-test: Build custom rule
The match and target correct parsing allows for custom rule building.
Samuel Ortiz [Mon, 25 Oct 2010 23:25:45 +0000 (01:25 +0200)]
iptables-test: Inversion support
Samuel Ortiz [Mon, 25 Oct 2010 22:24:30 +0000 (00:24 +0200)]
iptables-test: Parse targets and matches options
The target and matches parsing routine allow for a proper xtable structure
building. Those structures then allow for an easier rule building.
Samuel Ortiz [Mon, 25 Oct 2010 14:15:17 +0000 (16:15 +0200)]
iptables-test: Add -t option support
This will be needed for masquerading support.
Samuel Ortiz [Mon, 25 Oct 2010 14:08:06 +0000 (16:08 +0200)]
iptables-test: Initial command line parsing
The command line options are an iptables subset.
Samuel Ortiz [Fri, 22 Oct 2010 22:09:30 +0000 (00:09 +0200)]
iptables: Replace iptables-test program
The new iptables-test no longer links against the unstable libiptc
library. A link against libxtables is still necessary as the iptables
extensions are only registered against iptables through this library.
Not using it would mean replicating any of the extensions ConnMan could
potentially need.
Daniel Wagner [Fri, 22 Oct 2010 17:55:53 +0000 (13:55 -0400)]
Split openconnect into generic vpn and openconnect part
Daniel Wagner [Fri, 22 Oct 2010 17:55:52 +0000 (13:55 -0400)]
Add provider driver name accessor
Leena Gunda [Fri, 22 Oct 2010 09:53:39 +0000 (11:53 +0200)]
gsupplicant: Get all BSSs when scan is done
After a scan, all BSSs need to be refreshed and passed back to the device
layer or else the WiFi device networks list is emptied.
Fixes BMC#8324
Fixes BMC#8363
Marcel Holtmann [Fri, 22 Oct 2010 07:48:57 +0000 (09:48 +0200)]
Update AUTHORS file with new contributors
Leena Gunda [Thu, 21 Oct 2010 21:29:21 +0000 (23:29 +0200)]
wifi: Search for networks based on their identifier
Joey Lee [Thu, 21 Oct 2010 08:56:53 +0000 (10:56 +0200)]
device: Set element driver when probing a device driver
When a device shows up through rtnl before the device driver is created,
the device's element driver pointer will not be set.
The bug is not visible with built-in devices, it only appears with
removable ones or with those that are completely removed from the bus when
being rfkilled.
Tomasz Bursztyka [Mon, 18 Oct 2010 12:22:42 +0000 (15:22 +0300)]
Update pacrunner plugin to take care of all proxy methods
Tomasz Bursztyka [Mon, 18 Oct 2010 08:59:23 +0000 (11:59 +0300)]
Add proxy accessor function for services
Samuel Ortiz [Fri, 15 Oct 2010 13:27:52 +0000 (15:27 +0200)]
rtnl: Check for wireless extensions when missing DEVTYPE
Checking for wireless extensions is a bit more reliable than looking for
a potentially missing wireless directory.
Samuel Ortiz [Thu, 14 Oct 2010 22:36:20 +0000 (00:36 +0200)]
rtnl: Detect non cfg80211 based WiFi drivers
Those don't come with a proper uevent DEVTYPE label. ConnMan looks for
a sysfs wireless directory in that case.
Samuel Ortiz [Thu, 14 Oct 2010 13:43:58 +0000 (15:43 +0200)]
ipconfig: Do not call inet_network() with a NULL pointer
inet_network() segfaults when given a NULL pointer as an argument.
Luiz Augusto von Dentz [Wed, 13 Oct 2010 12:06:46 +0000 (15:06 +0300)]
gdbus: fix not handling bus disconnects
We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.
To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.
Daniel Wagner [Wed, 13 Oct 2010 07:26:46 +0000 (09:26 +0200)]
Merge stats_create into __connman_stats_service_register
This avoid doing an hash table lookup from
__connman_stats_service_register() right after inserting the stats_file
pointer into it.
Daniel Wagner [Tue, 12 Oct 2010 13:36:23 +0000 (15:36 +0200)]
Update stats-ringbuffer-dump tool
Adapt stats-ringbuffer-dump to the new file format.
Daniel Wagner [Tue, 12 Oct 2010 13:36:22 +0000 (15:36 +0200)]
Merge home and roaming stats file
Instead creating for each service two stats file (home and roaming), just
create one. Each entry in the file is marked with a flag (home or roaming).
The file header contains two additional index which points to the current
home or roaming entry.
Now we have a nice history in the ring buffer.
Additionally this reduces the number of open files by half.
Jussi Kukkonen [Tue, 12 Oct 2010 13:58:20 +0000 (16:58 +0300)]
docs: Update Service State and LoginRequired docs
Marcel Holtmann [Tue, 12 Oct 2010 08:57:10 +0000 (11:57 +0300)]
Update AUTHORS list
Tomasz Bursztyka [Mon, 11 Oct 2010 13:57:07 +0000 (16:57 +0300)]
Added support for "auto" and "manual" proxy.
Cristiano Fernandes [Mon, 11 Oct 2010 22:35:38 +0000 (00:35 +0200)]
Using netlink to set and clear ipv6 addresses
Cristiano Fernandes [Mon, 11 Oct 2010 22:34:39 +0000 (00:34 +0200)]
Using netlink to set and clear ipv4 addresses
Using netlink to set and clear ipv4 configuration avoids connman from
sending multiple IPv4 signals through DBus with the wrong configuration,
since the configuration are set all at once triggering only one netlink
event.
Daniel Wagner [Mon, 11 Oct 2010 11:58:02 +0000 (13:58 +0200)]
Open stats file late and close them early
Instead of opening stats file when a service is created,
defer it to the point where either __connman_ipconfig_enable
or __connman_ipconfig_disable is called.
Kalle Valo [Mon, 11 Oct 2010 12:12:10 +0000 (15:12 +0300)]
simple-agent: update to new agent api
simple-agent was still using the old agent api and didn't work anymore.
Update it to use the new api.
Tomasz Bursztyka [Mon, 11 Oct 2010 07:09:16 +0000 (10:09 +0300)]
Added a test tool for proxy configuration (set-proxy)
Daniel Wagner [Mon, 11 Oct 2010 09:17:03 +0000 (11:17 +0200)]
Initialize struct stat in error case correctly
In the case stat failes to gather information
about the log file, it has to initialize struct
stat. Otherwise, we will set a random file size.
Daniel Wagner [Fri, 8 Oct 2010 15:31:48 +0000 (17:31 +0200)]
Remove unnecessary pre initializing
Samuel Ortiz [Fri, 8 Oct 2010 21:36:44 +0000 (23:36 +0200)]
Release counter and session watches whe unregistering
Releasing the watches from the hash table freeing routines lead to double
freeing the interface data watch pointer in case the owner would disappear
before unregistering.
Samuel Ortiz [Fri, 8 Oct 2010 16:59:16 +0000 (18:59 +0200)]
inet: Remove __connman_inet_get_device_type
The routine is replaced by __connman_rtnl_get_device_type.
Samuel Ortiz [Fri, 8 Oct 2010 16:53:08 +0000 (18:53 +0200)]
rtnl: Export device type detection routine
Since ConnMan is now relying only on rtnl for device detection, the rtnl.c
code should be responsible for providing device types. And this is done by
parsing the device uevent DEVTYPE label.
Samuel Ortiz [Fri, 8 Oct 2010 15:23:38 +0000 (17:23 +0200)]
device: Set blocked field depending on the technology status
If a device is created before any rfkill event is received, it will not
be blocked. Otherwise, it will mirror the technology blocked status.
Samuel Ortiz [Fri, 8 Oct 2010 15:22:57 +0000 (17:22 +0200)]
technology: Add technology blocked field getter
Samuel Ortiz [Fri, 8 Oct 2010 13:52:45 +0000 (15:52 +0200)]
technology: Do not update a technology blocked counter when unchanged
Some buggy rfkill driver send rfkill CHANGE events while the actual rfkill
status has not changed. ConnMan should just ignore those.
Tomasz Bursztyka [Fri, 8 Oct 2010 09:10:29 +0000 (12:10 +0300)]
Small proxy settings rewrite in service API documentation.
leena.gunda@wipro.com [Wed, 6 Oct 2010 13:31:12 +0000 (19:01 +0530)]
Display IPv4/IPv6 gateway in PropertyChanged signal
ConnMan should emit the IP PropertyChanged signal when the IP is set but
also when a route for the device is set.
Fixes BMC#7895
Samuel Ortiz [Thu, 7 Oct 2010 18:10:11 +0000 (20:10 +0200)]
rtnl: Remove unused operstate callback
Samuel Ortiz [Thu, 7 Oct 2010 18:03:48 +0000 (20:03 +0200)]
technology: Block devices based on technology rfkill status
Devices are blocked when their technology is blocked, i.e. all its devices
are rfkilled. They all move back to the unblocked state when all the
technology devices are no longer rfkilled.
Samuel Ortiz [Wed, 6 Oct 2010 16:01:31 +0000 (18:01 +0200)]
technology: Use allocated index for rfkill hash tables keys
Samuel Ortiz [Wed, 6 Oct 2010 09:57:24 +0000 (11:57 +0200)]
technology: Track rfkill blocked state
Tomasz Bursztyka [Thu, 7 Oct 2010 07:40:05 +0000 (10:40 +0300)]
Pretty printers for proxy settings in various test tool.
Marcel Holtmann [Thu, 7 Oct 2010 11:23:44 +0000 (13:23 +0200)]
Another update to proxy configuration API
Tomasz Bursztyka [Thu, 7 Oct 2010 07:40:01 +0000 (10:40 +0300)]
Updating service API documentation about proxy support.
Marcel Holtmann [Wed, 6 Oct 2010 06:38:57 +0000 (08:38 +0200)]
Use nl80211/cfg80211 WiFi configuration by default
Marcel Holtmann [Wed, 6 Oct 2010 06:38:39 +0000 (08:38 +0200)]
Add interface name checks for Virtual Machine Manager
Marcel Holtmann [Mon, 4 Oct 2010 16:08:49 +0000 (18:08 +0200)]
Move GResolv source file sinto GWeb directory
Pekka Pessi [Thu, 23 Sep 2010 19:44:09 +0000 (22:44 +0300)]
rtnl: support isimodem GPRS connections
The isimodem GPRS connections (PHONET_PIPEs) have ARP header type 821.
Pekka Pessi [Fri, 24 Sep 2010 14:22:54 +0000 (17:22 +0300)]
Support -p and -P options with list of plugins
Marcel Holtmann [Mon, 4 Oct 2010 12:36:26 +0000 (14:36 +0200)]
Remove unused __connman_detect_get_blocked function
Marcel Holtmann [Mon, 4 Oct 2010 12:31:58 +0000 (14:31 +0200)]
Remove unused __connman_detect_start function
Marcel Holtmann [Mon, 4 Oct 2010 12:22:18 +0000 (14:22 +0200)]
Remove dependency on udev