AgeCommit message (Collapse)AuthorFilesLines
2013-05-31Release 1.15upstream/1.151.15Marcel Holtmann2-1/+8
2013-05-30config: Remove code implementing Protected config file settingPatrik Flykt1-54/+0
The code was relevant only for Manager.ProvisionService method call which was removed a long time ago.
2013-05-30doc: Remove Protected descriptionPatrik Flykt1-3/+0
The Protected setting was relevant only for Manager.ProvisionService method call which was removed a long time ago.
2013-05-30vpn-config: Log a warning if the provider ident already existsPatrik Flykt1-2/+7
Also set the returned value appropriately when removing or adding configuration files.
2013-05-30vpn-config: Remove obsolete protected codePatrik Flykt1-63/+1
For VPN connections created via configuration files the immutable flag is set and it ensures no modifications are allowed. The protected feature implementation was a left-over from service configuration code. Removing the code fixes a bug where only VPN entries of different types can be provisioned in the same provisioning file.
2013-05-29test-ippool: Shortcut exhausting allocation testDaniel Wagner1-3/+9
Instead really trying to allocate all possible 69888 blocks, let's reserve the first two IP pools and then we only need to allocate 255 blocks. That should bring down the runtime considerable.
2013-05-29service: Update Domains property when Domains.Configuration changesPatrik Flykt1-0/+1
Domains property was not updated when Domains.Configuration was changed. If Domains.Configuration is for example set to empty when using DHCP, the Domains property is to be updated with the value configured via DHCP. Fixes BMC#26010
2013-05-29service: Check service type before fetching interface indexPatrik Flykt1-1/+4
For VPNs, the index is available from provider, for other services from network. Fixes BMC#26009
2013-05-24ipconfig: Use system set addresses for IPv4 property in 'manual' modePatrik Flykt1-1/+1
Addresses and gateway for the service IPv4 property being used in the system are available from ipconfig->system when the property is set to 'manual'.
2013-05-24client: Accept correctly spelled option namePatrik Flykt1-2/+4
Accept also correctly spelled version of 'preferred' option.
2013-05-22client: Fix minor issues in D-Bus path name checkingPatrik Flykt1-2/+3
2013-05-22client: Fix index for IPv6 configuration optionPatrik Flykt1-1/+1
2013-05-22client: Reserve space for trailing NULL in the arrayPatrik Flykt1-1/+1
2013-05-22session: Fix service2bearer to return a correct match all ruleDaniel Wagner1-0/+1
2013-05-21doc: Remove documentation for Technology IdleTimeout propertyPatrik Flykt1-8/+0
IdleTimeout hasn't so far been implemented in any release and will be handled by other means if needed.
2013-05-21service: Restart timeserver polling only for the default servicePatrik Flykt1-1/+3
When timeservers are set, recreate timeserver polling list only if the service is the the default one.
2013-05-20doc: Document the deprecated RemoveProvider method callPatrik Flykt1-0/+4
Fixes BMC#25958
2013-05-20test: Add test script for Clock APIPatrik Flykt2-1/+34
2013-05-20clock: Implement load and save for Clock API propertiesPatrik Flykt1-0/+62
Load and save TimeUpdates and TimezoneUpdates Clock API properties. Clock API Timeservers property is already handled by the timeserver code. Fixes BMC#25988
2013-05-20timeserver: Check the time update methodPatrik Flykt1-0/+3
If the time update method is manual, no NTP time servers are returned.
2013-05-20clock: Export information about time update methodPatrik Flykt2-6/+12
2013-05-17TODO: Add Clock API support for connmanctlPatrik Flykt1-2/+2
2013-05-17wifi: Scan all stored hidden networksTomasz Bursztyka3-45/+122
Previously the number of scanned hidden WiFi networks was restricted by the fast scan limit of the WiFi driver. This patch takes into account the driver fast scan limit and will scan for all configured hidden WiFi networks. Thanks to Jukka for testing this.
2013-05-17README: Update information about wpa_supplicant configurationTomasz Bursztyka1-2/+9
2013-05-17TODO: DHCPv6 DECLINE message supportJukka Rissanen1-0/+6
2013-05-15gdhcp: Handle dhcp_client->type == G_DHCP_IPV4LLJustin Maggard1-17/+17
Clean up several places where dhcp_client->type == G_DHCP_IPV4LL is unhandled.
2013-05-12shared: Add helper for looking up debugfs mount pointMarcel Holtmann2-0/+90
2013-05-08gdbus: Fix using NULL DBusPendingCall when disconnected from D-BusAnderson Lizardo1-0/+5
From D-Bus documentation for dbus_connection_send_with_reply(): "Warning: if the connection is disconnected or you try to send Unix file descriptors on a connection that does not support them, the DBusPendingCall will be set to NULL, so be careful with this." Fix these errors when killing D-Bus daemon with the client still running: process 5712: arguments to dbus_pending_call_set_notify() were incorrect, assertion "pending != NULL" failed in file ../../dbus/dbus-pending-call.c line 596. This is normally a bug in some application using the D-Bus library. process 5712: arguments to dbus_pending_call_unref() were incorrect, assertion "pending != NULL" failed in file ../../dbus/dbus-pending-call.c line 572. This is normally a bug in some application using the D-Bus library.
2013-05-08gdbus: Fix segfault when D-Bus daemon exitsAnderson Lizardo1-0/+2
Fix this crash if D-Bus exits while the client is still connected to it: ==5570== Invalid read of size 1 ==5570== at 0x402D28E: strcmp (in /usr/lib/valgrind/ ==5570== by 0x4070E22: g_str_equal (ghash.c:1704) ==5570== by 0x8055F61: message_filter (client.c:1123) ==5570== by 0x4141500: dbus_connection_dispatch (in /lib/i386-linux-gnu/ ==5570== by 0x80506F7: message_dispatch (mainloop.c:76) ==5570== by 0x4081A7E: g_timeout_dispatch (gmain.c:3882) ==5570== by 0x4080D85: g_main_context_dispatch (gmain.c:2539) ==5570== by 0x4081124: g_main_context_iterate.isra.21 (gmain.c:3146) ==5570== by 0x408156A: g_main_loop_run (gmain.c:3340) ==5570== by 0x41BF4D2: (below main) (libc-start.c:226) ==5570== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5570== ==5570==
2013-05-08client: Do service name syntax check when a name is specifiedPatrik Flykt1-3/+3
2013-05-08Fix gcc compiler warning with -Wformat-security.Justin Maggard1-1/+1
Cosmetic fix.
2013-05-07Release 1.141.14Marcel Holtmann2-1/+9
2013-05-06TODO: Update connmanctl entryPatrik Flykt1-5/+6
Agent mode is mostly done, update the entry with Session mode and VPN Agent support.
2013-05-06client: Check that strings passed to D-Bus to contain valid charsJukka Rissanen1-0/+45
D-Bus aborts if we feed invalid characters to it. So do some sanity check before that.
2013-05-06client: Newline missing after printing scan error messageJukka Rissanen1-1/+1
2013-05-06dhcpv6: Implement CONFIRM message supportJukka Rissanen3-9/+246
See RFC 3315 Chapter 18.1.2. Creation and Transmission of Confirm Messages for details
2013-05-06dhcpv6: Remember the last used IPv6 addressJukka Rissanen1-0/+3
This is required so that we can decide whether to send CONFIRM or SOLICITATION message to server.
2013-05-06ipconfig: Save last used DHCPv6 addressJukka Rissanen1-0/+9
This is needed when implementing CONFIRM message decision logic.
2013-05-06dhcpv6: Added initial MRD supportJukka Rissanen1-0/+6
MRD (Maximum Retransmission Duration) is the total duration of of retransmission of the message. This will be used when sending Confirm message.
2013-05-06gdhcp: Initialize message status code earlyJukka Rissanen1-4/+3
The message status code was initialized too late i.e., after it was set so we lost the status code. This problem was seen with wide-dhcpv6 server.
2013-05-06client: Fix for handling an unset callbackPatrik Flykt1-1/+9
If there is no callback set, don't try to call readline function.
2013-05-06client: Fixes for handling Agent messagesPatrik Flykt1-8/+12
Properly handle agent confirmation input, unset the prompt when RequestInput processing ends and set the passphrase only if it contains some text.
2013-05-06man: Update connman.conf.5 manual page to use TetheringTechnologiesPatrik Flykt1-1/+1
2013-05-06main: Rename AllowedTetheringTechnologies to TetheringTechnologiesPatrik Flykt3-15/+17
2013-05-03gdbus: Fix calling GetManagedObjects twice in a rowLuiz Augusto von Dentz1-7/+18
Calling g_dbus_client_new followed by g_dbus_client_set_proxy_handlers cause two calls to GetManagedObjects in a row as GetNameOwner reply is asyncronously it triggers the second call because the handlers have been set by g_dbus_client_set_proxy_handlers.
2013-05-03AUTHORS: Mention Yann's contributionsPatrik Flykt1-0/+1
2013-05-03client: Initial RequestInput handling supportPatrik Flykt1-0/+199
When receiving a RequestInput Agent API D-Bus call, ask the input in a somewhat logical order from the user with user names first and passwords next. If a passphrase is entered, ignore any WPS pin code requests. Prepare for passphrase length checking by going through the RequestInput message to get the 'Type' argument.
2013-05-03client: Add ReportError handlingPatrik Flykt1-0/+49
Report error and wait for the user to reply with yes/no.
2013-05-03client: Add RequestBrowser handlingPatrik Flykt1-1/+87
Print out the RequestBrowser URL and wait for user input to proced. Add a helper function for getting a yes/no confirmation from the user and another one for getting the last part of the service object path.
2013-05-03client: Implement Agent Release and Cancel method callsPatrik Flykt1-0/+50
Unref the saved Agent D-Bus message on Release and Cancel. In response to the Release method call unnregister Agent interface and quit if in non-interactive mode.