1. 28 May, 2013 1 commit
    • Dan Williams's avatar
      settings: implement ability to add connections without saving them to disk · 8a79fb1d
      Dan Williams authored
      We don't always want to immediately write new connections to disk, to
      facilitate "runtime" or "temporary" connections where an interface's
      runtime config isn't backed by on-disk config.  Also, just because
      an interface's configuration is changed doesn't necessarily mean
      that new configuration should be written to disk either.
      
      Add D-Bus methods for adding new connections and for updating existing
      connections that don't immediately save the connection to disk.
      
      Also add infrastructure to indicate to plugins that the new connection
      shouldn't be immediately saved if the connection was added with the
      new method.
      8a79fb1d
  2. 03 Apr, 2013 1 commit
  3. 25 Mar, 2013 1 commit
  4. 13 Mar, 2013 1 commit
  5. 08 Mar, 2013 1 commit
    • Dan Williams's avatar
      ifcfg-rh: save bridge STP disabled setting (bgo #694841) · 20031e18
      Dan Williams authored
      STP defaults to yes in NetworkManager (and the initscripts), so a missing
      STP value in an ifcfg file means yes/on.  Calling svSetValue(STP, NULL)
      clears that line from the ifcfg, and thus STP gets interpreted as yes.
      Explicitly set stp to "no" so that the value actually gets saved.
      20031e18
  6. 15 Feb, 2013 1 commit
    • Dan Winship's avatar
      libnm-utils: add :carrier-detect properties · 5266e25e
      Dan Winship authored
      For settings corresponding to devices that have a :carrier property
      (ie bond, bridge, infiniband, vlan, and wired), add a :carrier-detect
      property specifying how that affects the connection:
      
        yes: The connection can only be activated when the device
            has carrier, and will be deactivated if the device loses
            carrier (for more than 4 seconds).
        no: The connection ignores carrier on the device; it can be
            activated when there is no carrier, and stays activated
            when carrier is lost.
        on-activate: The connection can only be activated when the
            device has carrier, but it will not be deactivated if the
            device loses carrier.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=688284
      5266e25e
  7. 13 Feb, 2013 1 commit
    • Dan Winship's avatar
      all: remove pointless NULL checks · d04f2863
      Dan Winship authored
      g_malloc(), etc, never return NULL, by API contract. Likewise, by
      extension, no other glib function ever returns NULL due to lack of
      memory. So remove lots of unnecessary checks (the vast majority of
      which would have immediately crashed had they ever run anyway, since
      g_set_error(), g_warning(), and nm_log_*() all need to allocate
      memory).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=693678
      d04f2863
  8. 18 Dec, 2012 1 commit
  9. 30 Nov, 2012 2 commits
  10. 16 Nov, 2012 1 commit
  11. 27 Sep, 2012 1 commit
  12. 26 Sep, 2012 1 commit
    • Dan Winship's avatar
      all: Don't use ctype.h macros · 6878d20a
      Dan Winship authored
      The ctype macros (eg, isalnum(), tolower()) are locale-dependent. Use
      glib's ASCII-only versions instead.
      
      Also, replace isascii() with g_ascii_isprint(), since isascii()
      accepts control characters, which isn't what the code wanted in any of
      the places where it was using it.
      6878d20a
  13. 21 Sep, 2012 1 commit
  14. 23 Jul, 2012 1 commit
  15. 03 Apr, 2012 1 commit
  16. 07 Mar, 2012 1 commit
    • Jiří Klimeš's avatar
      ifcfg-rh: use single quotes when quoting WPA passphrases (WPA_PSK) (rh #798102) · 79757f10
      Jiří Klimeš authored
      Single quotes ensure we don't break initscripts (bash processing) when the
      string contains special characters. Special handling is necessary for single
      quotes characters. They have to be escaped and the whole string has to be
      prepended with '$' character so that bash is happy.
      This change also filters out CR and LF characters as they break WPA_PSK
      variable and could pose security issues.
      79757f10
  17. 05 Mar, 2012 1 commit
  18. 01 Mar, 2012 2 commits
  19. 27 Feb, 2012 1 commit
  20. 16 Feb, 2012 1 commit
  21. 10 Feb, 2012 1 commit
  22. 02 Feb, 2012 1 commit
  23. 27 Jan, 2012 1 commit
  24. 06 Dec, 2011 1 commit
  25. 10 Nov, 2011 1 commit
  26. 11 Oct, 2011 1 commit
    • Jiří Klimeš's avatar
      ifcfg-rh: fix changing WPA connections to WEP · 3049511f
      Jiří Klimeš authored
      When connection was changed with the editor from WPA to WEP, KEY_MGMT was
      not cleared. This resulted in infinite loop of ifcfg plugin under some
      circumstances ("Available to all users" unchecked, I think).
      The re-read connection was regarded as WPA and thus it differed from the
      stored one.
      3049511f
  27. 03 Oct, 2011 1 commit
  28. 30 Jun, 2011 2 commits
  29. 14 Jun, 2011 1 commit
  30. 19 Apr, 2011 1 commit
  31. 14 Apr, 2011 2 commits
  32. 12 Apr, 2011 1 commit
  33. 14 Mar, 2011 1 commit
    • Dan Williams's avatar
      ifcfg-rh: fix reading and writing of Dynamic WEP with EAP-LEAP connections · af7e26b3
      Dan Williams authored
      These are distinct from old-school LEAP (ie, Network EAP) in that
      they are standard Dynamic WEP with LEAP as an EAP method and use
      open-system authentication.  Old LEAP uses the non-standard LEAP
      authentication algorithm.  The config for each is different and thus
      we need to make sure we handle both cases.
      af7e26b3
  34. 08 Mar, 2011 1 commit
  35. 03 Mar, 2011 2 commits