1. 16 Jul, 2010 4 commits
  2. 15 Jul, 2010 2 commits
    • Dan Williams's avatar
      wifi: work around wl.o frequency reporting for active AP matching · 4880cc68
      Dan Williams authored
      Some proprietary drivers (wl.o) report tuned frequency (like when
      scanning) instead of the associated AP's frequency.  This is a great
      example of how WEXT is underspecified.  We use frequency to find the
      active AP in the scan list because some configurations use the same
      SSID/BSSID on the 2GHz and 5GHz bands simultaneously, and we need to
      make sure we get the right AP in the right band.  This configuration
      is uncommon though, and the frequency check penalizes closed drivers we
      can't fix.  Because we're not total dicks, ignore the frequency condition
      if the associated BSSID/SSID exists only in one band since that's most
      likely the AP we want.
    • Dan Williams's avatar
      examples: add device disconnect example · 72399bfa
      Dan Williams authored
  3. 14 Jul, 2010 1 commit
    • Dan Williams's avatar
      policy: don't tear down user connections on VT switch (rh #614556) · 37d61843
      Dan Williams authored
      PK's "allow_inactive" actually means "allow inactive *local* users", so
      we do want to allow inactive local users to provide user connections.
      We don't want to allow non-local inactive users to provide user connections.
      So make the use-user-connections privilege match for both active and
      inactive so we get the behavior we want.
  4. 13 Jul, 2010 2 commits
  5. 12 Jul, 2010 1 commit
  6. 09 Jul, 2010 1 commit
  7. 02 Jul, 2010 1 commit
  8. 01 Jul, 2010 1 commit
  9. 30 Jun, 2010 2 commits
    • Dan Williams's avatar
    • Dan Williams's avatar
      libnm-glib: fix invalid memory access during property notification · 4eea398b
      Dan Williams authored
      If an NMObject listened to property change notifications from
      other NMObjects and then in response to that queued up other
      property changes of it's own, those would get added to the
      property change list that was being iterated through already.
      Each name in the change list is freed after being notified,
      but the change list itself is actually freed when all
      properties have been notified.  So an object that queues up
      another change notification ends up in _nm_object_queue_notify()
      which iterates the change list where half of the data elements
      are already freed...
  10. 29 Jun, 2010 2 commits
  11. 28 Jun, 2010 5 commits
  12. 27 Jun, 2010 1 commit
  13. 26 Jun, 2010 2 commits
  14. 25 Jun, 2010 1 commit
  15. 24 Jun, 2010 3 commits
  16. 23 Jun, 2010 4 commits
    • Dan Williams's avatar
      vpn: ensure the IP interface passed to the dispatcher is the tunnel iface · dc02eee6
      Dan Williams authored
      priv->ip_iface gets destroyed in vpn_cleanup() when the class
      signal handler handles FAILED/DISCONNECTED, but the dispatcher
      is only called *after* that, so it gets a NULL ip_iface.  Fix that
      so that the dispatcher always gets the tunnel interface for
      vpn-up and vpn-down.
    • Dan Williams's avatar
      policy: add public address mappings before localhost ones · 138876b4
      Dan Williams authored
      Otherwise glibc will count the localhost IPv6 (::1) mapping as
      resolving to the IPv4 localhost mapping as well, so this:
      localhost.localdomain localhost
      ::1         foobar localhost6.localdomain6 localhost6 fooar
      causes a lookup of 'foobar' (or even just 'ping foobar') to resolve
      to, even though the hostname is *not* listed on the
      IPv4 localhost line.  Apparently glibc just looks for the hostname
      on any IPv4 or IPv6 localhost line.
      We need to ensure that even if you don't have a routable IP address
      for one of [IPv4, IPv6] that the hostname resolves to the localhost
      address for that IP version, otherwise lots of stuff starts
      breaking.  But for the IP versions that you do have a routable IP
      address, we want the hostname to map to that IP address too.
    • Dan Williams's avatar
      dns: include domain part of hostname in resolv.conf 'searches' (rh #600407) · 759bf794
      Dan Williams authored
      Add the current domain name (from the hostname) to the searches list.
      The bug report is that when the hostname is set to something like
      'dcbw.foobar.com' (ie an FQDN) that pinging 'dcbw' doesn't work
      because the resolver doesn't have anything to append to 'dcbw' when
      looking it up.
    • Jiří Klimeš's avatar
      trivial: fix a typo in nm-tool · b880cbe8
      Jiří Klimeš authored
  17. 22 Jun, 2010 4 commits
    • Dan Williams's avatar
      core: remove debugging delay from new user connection handling · 3ec6ffe8
      Dan Williams authored
      Introduced by 25e758c7 when ensuring
      that the code that waits for connections to become advertised by teh
      user settings service worked correctly.
    • Jiří Klimeš's avatar
      core: MAC address spoofing/cloning (rh #447827) (bgo #553771) · 1b49f941
      Jiří Klimeš authored
      This commit implements MAC cloning feature in NetworkManager. To support that,
      'PermHwAddress' property is added into *.Device.Wired and *.Device.Wireless
      interfaces. The permanent MAC address is obtained when creating the device, and
      is used for 'locking' connections to the device. If a cloned MAC is specified
      in connection to be activated, the MAC is set to the interface in stage1. While
      disconecting, the permanent MAC is set back to the interface.
    • Jiří Klimeš's avatar
      ifcfg-rh: test case for WEP ASCII keys · a8e0c263
      Jiří Klimeš authored
    • Dan Williams's avatar
      policy: map hostname to current IP address (bgo #619931) · debb16cf
      Dan Williams authored
      Instead of always mapping the current hostname to or
      whatever the user mapped it to manually, make sure the hostname
      maps to the default device's IPv4 and IPv6 address if there's
      a default device.
      This helps out services that do a lookup on the machine hostname
      to determine the IP address, which while a broken behavior (since
      there are too many edge-cases) is pretty wide-spread and thus
      we should support it.
  18. 18 Jun, 2010 2 commits
  19. 17 Jun, 2010 1 commit
    • Jiří Klimeš's avatar
      ifcfg-rh: fix reading/writing ASCII WEP keys · 4e02c67a
      Jiří Klimeš authored
      ifcfg-rh plugin didn't prepend 's:' prefix when writing out ASCII WEP
      keys. That rendered the keys file invalid. Moreover, the reading part
      was incorrect too not having recognized correct ASCII keys.