summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release: bump version to 0.8.1.997 (0.8.2-beta1)0.8.2-beta10.8.1.997Dan Williams2010-09-281-1/+1
|
* wifi: allow proactive_key_caching through the supplicant settings filter (rh ↵Dan Williams2010-09-281-0/+1
| | | | | | #615032) (rh #636877) This makes 596cf1a232d33c0dbeee61d8e927d7a09f40159f actually work.
* cli: don't crash if for some reason HW addresses aren't available (bgo #630534)Dan Williams2010-09-271-4/+6
|
* po: update Spanish translation (bgo #630562)Jorge González2010-09-271-94/+81
|
* man: document usage of * glob in no-auto-default option (NetworkManager.conf)Jiří Klimeš2010-09-271-3/+5
|
* system-settings: allow glob (*) in no-auto-default config file optionPat Suwalski2010-09-271-2/+13
| | | | | When * is used instead of MAC addresses' list, no-auto-default option is valid for all interfaces.
* core: add Version property to org.freedesktop.NetworkManager interfaceJiří Klimeš2010-09-274-0/+20
|
* core: read initial MAC address on startup; reset to this MAC when disconnectingJiří Klimeš2010-09-274-7/+69
| | | | | | | Previously, NM reset permanent MAC to an interface while disconnecting. That basically ignored MAC addresses set before NM started managing the interface. Now, the initial MAC address is remembered and set back to the interface when disconnecting.
* trivial: typo fixesDan Williams2010-09-258-12/+12
| | | | | Sent by a Debian user to Michael Biebl. No other attribution information available. Thanks Debian user!
* ifupdown: return NULL hostname, not a zero-length stringDan Williams2010-09-241-0/+6
|
* system-settings: fix use-after-free causing crashes when hostname is emptyDan Williams2010-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be returning NULL here since the actual hostname is returned in the for() loop if the plugin supports hostnames. But if the plugin for some reason returns an empty string (which they aren't supposed to do) then hostname would be left assigned to an already-freed value, which was then returned to higher layers. ==12331== Invalid free() / delete / delete[] ==12331== at 0x4024B3A: free (vg_replace_malloc.c:366) ==12331== by 0x448BFC5: g_free (gmem.c:191) ==12331== by 0x43E0E05: value_free_string (gvaluetypes.c:268) ==12331== by 0x43DC587: g_value_unset (gvalue.c:276) ==12331== by 0x80B297F: notify (nm-sysconfig-settings.c:229) ==12331== by 0x43C64E7: g_cclosure_marshal_VOID__PARAM (gmarshal.c:531) ==12331== by 0x43B78B8: g_type_class_meta_marshal (gclosure.c:878) ==12331== by 0x43B9251: g_closure_invoke (gclosure.c:767) ==12331== by 0x43CD239: signal_emit_unlocked_R (gsignal.c:3178) ==12331== by 0x43CEDB3: g_signal_emit_valist (gsignal.c:2981) ==12331== by 0x43CF255: g_signal_emit (gsignal.c:3038) ==12331== by 0x43BD630: g_object_dispatch_properties_changed (gobject.c:801) ==12331== Address 0x479f208 is 0 bytes inside a block of size 1 free'd ==12331== at 0x4024B3A: free (vg_replace_malloc.c:366) ==12331== by 0x448BFC5: g_free (gmem.c:191) ==12331== by 0x80B1A08: nm_sysconfig_settings_get_hostname (nm-sysconfig-settings.c:280) ==12331== by 0x80B27C7: get_property (nm-sysconfig-settings.c:1415) ==12331== by 0x43BC707: g_object_get_property (gobject.c:935) ==12331== by 0x80B288D: notify (nm-sysconfig-settings.c:225) ==12331== by 0x43C64E7: g_cclosure_marshal_VOID__PARAM (gmarshal.c:531) ==12331== by 0x43B78B8: g_type_class_meta_marshal (gclosure.c:878) ==12331== by 0x43B9251: g_closure_invoke (gclosure.c:767) ==12331== by 0x43CD239: signal_emit_unlocked_R (gsignal.c:3178) ==12331== by 0x43CEDB3: g_signal_emit_valist (gsignal.c:2981) ==12331== by 0x43CF255: g_signal_emit (gsignal.c:3038)
* wifi: use PMKSA caching with PEAP-GTC (rh #615032) (rh #636877)Dan Williams2010-09-241-0/+24
| | | | | | We don't want to require a full 802.1x reauth when using OTP tokens and roaming between APs in the same ESS, since that takes a long time (user has to find the token and type in the code).
* cli: add D-Bus object path field for devices (e.g.: nmcli -f ↵Jiří Klimeš2010-09-241-5/+7
| | | | device,dbus-path dev status)
* dns: warn that the BIND plugin is experimentalDan Williams2010-09-222-6/+3
| | | | | | | | | | | It's still got a bunch of issues that need debugging, like when VPN nameservers exist but no domain and thus not doing split DNS, sometimes hosts outside the VPN don't resolve correctly, which was previously masked by having the non-VPN nameservers in /etc/resolv.conf where glibc would erroneously use them instead of asking BIND. To be fixed in a subsequent patch. The dnsmasq plugin seems to work great though.
* dns: write only 127.0.0.1 to resolv.conf when cachingDan Williams2010-09-221-21/+18
| | | | | | | | | | | If all nameservers are listed in resolv.conf, glibc apparently tries them all (even if 'options rotate' isn't specified??). Leading to queries for internet hosts being directed to VPN-specific DNS servers in split-DNS situations. I've verified this with wireshark; I see queries going out over the tunnel to VPN nameservers for non-internal addresses, while BIND itself never logs anything about queries to VPN nameservers for that same address. Thus the only thing left is to blame glibc...
* dns: allow random source ports for BIND caching DNSDan Williams2010-09-221-1/+0
| | | | | | | | Despite most guides saying that without restricting to port 53 queries won't get through a firewall, I cannot make it work with this option. DNS queries through a WRT54G just time out even when the WRT54G isn't caching anything itself (ie, explicit upstream nameservers are the forwarders in the bind config).
* dns: add BIND9 local caching nameserver supportDan Williams2010-09-224-7/+579
| | | | | For some reason split DNS doesn't work yet (all queries are directed to the VPN nameserver if a VPN is active) but it otherwise works.
* dns: remove unused Chromium bitsDan Williams2010-09-222-19/+0
| | | | | | | | | This was supposed to hook up to the bits Adam Langley did last year for his local-dns-cache DBus service, but I misunderstood the architecture. It was a separate service, not Chromium itself. But it's unclear what happened to his local-dns-cache since the project doesn't seem to have any commits in a year and I'm unsure if it's actually being used. So remove this stuff for now.
* dns: (dnsmasq) fix handling of multiple DNS servers in non-split configsDan Williams2010-09-221-57/+59
|
* dns: only write out new DNS config if it really changedDan Williams2010-09-221-2/+72
| | | | | | | | Use a pseudo-hash to quickly check whether the DNS config has really changed or not. This is certainly better than the 500 line patch I did then scrapped in favor of this approach... yay. This helps ensure that we don't kill then respawn caching DNS servers more often than we have to.
* dns: use VPN nameservers first even if no domain was givenDan Williams2010-09-221-15/+41
| | | | | | If the VPN client didn't provide a domain we still want to use the VPN nameservers first, we just can't do split DNS. Also use --strict-order to ensure VPN nameservers are always chosen first.
* dns: hook plugins into DNS updates and make dnsmasq plugin actually workDan Williams2010-09-224-133/+213
|
* dns: first cut of a dnsmasq local caching pluginDan Williams2010-09-226-14/+871
|
* core: add DNS plugin config optionsDan Williams2010-09-227-44/+126
|
* libnm-util: fix max APN lengthDan Williams2010-09-222-3/+3
| | | | It's not 20, it's DNS domain name length.
* libnm-util: enforce APN character restrictionsDan Williams2010-09-222-9/+99
| | | | | | | | | | | APNs can only contain alphanumeric characters, '.', and '-'. To be helpful we strip spaces off before setting the APN internally so that previously (and incorrectly) valid APNs don't cause the whole connection to fail validation and thus disappear. The only case seen in the wild was a Pelephone IL APN which erroneously had a trailing space in the mobile broadband provider database. Bad characters cause the connection to fail with vague error messages about being unable to activate the PDP context during PPP negotiation.
* man: update nmcli man pageJiří Klimeš2010-09-221-11/+14
|
* cli: add D-Bus object path field for active connections (e.g.: nmcli -f ↵Jiří Klimeš2010-09-221-1/+3
| | | | name,uuid,dbus-path con status)
* core: be more robust to config file syntax issuesDan Williams2010-09-201-1/+1
| | | | | Clearly we should be stripping spaces off plugin names if that's what the user happened to type.
* po: update German translation (bgo #630049)Daniel Schury2010-09-201-466/+1041
|
* po: update Punjabi translation (bgo #630034)A S Alam2010-09-201-42/+100
|
* po: update Slovenian translation (bgo #630009)Matej Urbančič2010-09-201-62/+98
|
* po: update Spanish translation (bgo #629977)Jorge González2010-09-201-128/+188
|
* cli: add D-Bus object path field for connections' list (e.g.: nmcli -f ↵Jiří Klimeš2010-09-201-1/+4
| | | | name,dbus-path con list)
* po: update Slovenian translation (bgo #629861)Matej Urbančič2010-09-171-627/+1450
|
* po: update Punjabi translation (bgo #629063)A S Alam2010-09-171-330/+398
|
* cli: add 'nmcli nm enable' commandJiří Klimeš2010-09-171-18/+103
| | | | | | 'enable' command queries and sets NetworkingEnabled property. It should be used by users. Previous 'sleep' command that actually did enable/disable, really calls Sleep() now and is not meant for common usage.
* keyfile: read and write SSIDs as strings by defaultDan Williams2010-09-165-1/+273
| | | | | | Keep compat with old format if the SSID includes unprintable characters. But having to type an int list for an SSID is just silly and it's about damn time we fix that.
* keyfile: clean up directory structureDan Williams2010-09-1612-55/+105
| | | | | | | | The IO library was in io/ because I was too lazy to find autotools' SUBDIRS rules at the time and that you could use '.' for the current directory. Fix that and use its own error defines instead of the system settings service. Clean up a for more things for good measure too (like KEYFILE_DIR, etc).
* keyfile: be chattier, especially about parsing errorsDan Williams2010-09-167-181/+236
| | | | | | This should help people debug issues with keyfile not recognizing files since it'll actually print out something when it fails to parse stuff. Also logs changes, new connections, and deletions.
* man: document 'no-auto-default' option in NetworkManager.conf.5Jiří Klimeš2010-09-161-1/+18
|
* bluetooth: requery default adapter when Bluez actually startsDan Williams2010-09-131-2/+4
|
* man: nmcli man page update - added ENVIRONMENT VARIABLES sectionJiří Klimeš2010-09-091-1/+27
|
* core: rename NMNamedManager -> NMDnsManagerDan Williams2010-09-0760-317/+311
|
* trivial: remove long-obsolete NMLoadModules scriptDan Williams2010-09-071-61/+0
|
* trivial: fix cut&paste error in a commentJiří Klimeš2010-09-031-2/+2
|
* build: don't install systemd files with --without-systemdsystemunitdir (bgo ↵Wulf C. Krueger2010-09-011-2/+4
| | | | #628439)
* po: update Greek translation (bgo #628541)Michael Kotsarinis2010-09-011-99/+1497
|
* wifi: ensure Enabled state is preserved regardless of rfkill (bgo #624479)Dan Williams2010-09-011-95/+123
| | | | | | | | | | | | | Previously the "Enable Wireless" state was somewhat tied to rfkill state, in that when NM started up, rfkill state would take precedence over what was listed in the state file, and if you rmmodded your wifi driver and then modprobed it again after disabling wifi from the menu, wifi would magically become re-enabled becuase rfkill state changed. Fix that by creating a third wifi/wwan enable state that tracks the actual user preference instead of just the rfkill state so that when the user disables wifi it stays disabled, regardless of what happens with rfkill.
* core: clean up avahi-autiopd D-Bus proxy on exitDan Williams2010-08-311-0/+3
|