1. 14 Nov, 2012 2 commits
  2. 13 Nov, 2012 12 commits
  3. 12 Nov, 2012 3 commits
  4. 07 Nov, 2012 9 commits
    • Pavel Šimerda's avatar
      keyfile: improve address and route tests · 7a92eff6
      Pavel Šimerda authored
      Add tests for the new address/route format. Simplify the test program
      
      TODO test new routing format
      7a92eff6
    • Pavel Šimerda's avatar
      keyfile: read and write a nicer format for IPv4 and IPv6 addresses and routes · cca9cfc8
      Pavel Šimerda authored
      You can now use 'address=' even for IPv6 and it's the encouraged way
      to set up a single address manually. For multiple addresses,
      'address0=', 'address1=', etc, should be preferred.
      
      Example:
      
        address=10.0.0.15/24/10.0.0.1
        address0=192.168.0.1/24
        address1=10.0.0.16/32
      
      Example (backward compatibility):
      
        addresses=10.0.0.15/24/10.0.0.1
        addresses0=192.168.0.1/24
        addresses1=10.0.0.16/32
      cca9cfc8
    • Pavel Šimerda's avatar
      keyfile: unify IPv4/IPv6 address and routing configuration (bgo #682943) · 0d82ca5c
      Pavel Šimerda authored
      IPv4 and IPv6 address configuration is now handled together and supports
      the following syntax (slashes can be replaced with semicolons):
      
        address/plen
        address/plen,gateway
      
      IPv4 and IPv6 route configuration is also handled uniformly and supports
      the following syntax:
      
        address/plen (for device routes)
        address/plen,gateway (for gateway routes)
        address/plen,gateway,metric (for gateway routes with metric)
      
      For compatibility reasons, slash (/), comma (,) and semicolon (;) are
      considered equal by the parser. The /plen part is optional for both
      addresses and routes for compatibility reasons.
      
      Leaving out the prefix length is not considered a good idea. IPv6
      addresses default to 64 and IPv4 now defaults to 24 which is the closest
      possible IPv4 counterpart. Routes default to single addresses.
      
      Example 1:
      
        [ipv4]
        method=manual
        addresses1=192.168.56.5/24,192.168.56.1
        addresses2=192.168.57.5/24
        routes1=4.5.6.0/24
        routes2=1.2.3.0/24,4.5.6.7
        routes3=7.8.9.0/24,4.5.6.7,99
      
        [ipv6]
        method=manual
        addresses1=2001:db8:a:b::3/64,2001:db8:a:b::1
        addresses2=2001:db8:c:d::3/64
        routes1=2001:db8:e:f::/64,2001:db8:a:b::4
      
      Example 2 (equivalent):
      
        [ipv4]
        method=manual
        addresses1=192.168.56.5;24;192.168.56.1
        addresses2=192.168.57.5;24
        routes1=4.5.6.0;24
        routes2=1.2.3.0;24;4.5.6.7
        routes3=7.8.9.0;24;4.5.6.7;99
      
        [ipv6]
        method=manual
        addresses1=2001:db8:a:b::3;64;2001:db8:a:b::1
        addresses2=2001:db8:c:d::3;64
        routes1=2001:db8:e:f::;64;2001:db8:a:b::4
      
      For writing, I have arbitrarily chosen one of the formats 'reader'
      can parse. Address and prefix length are separated by slash (/),
      everything else is separated by comma (,).
      
      	addresses1=address/plen,gateway
      	routes1=address/plen,gateway,metric
      
      Note: The modified 'reader' exposes a bug in the 'writer' and ignores
      out badly-formatted routes. This problem is also fixed by this
      commit. Keyfile tests now pass.
      0d82ca5c
    • Pavel Šimerda's avatar
      2e826b15
    • Jiří Klimeš's avatar
    • Jiří Klimeš's avatar
      logging: add "VLAN" log domain · 1eb9c5e3
      Jiří Klimeš authored
      1eb9c5e3
    • Jiří Klimeš's avatar
      logging: add "BOND" log domain · 8437b075
      Jiří Klimeš authored
      8437b075
    • Jiří Klimeš's avatar
      logging: add new combined log domains · 8fbd24c9
      Jiří Klimeš authored
      ALL  - for setting all log domains
      DHCP - for DHCP4 combined with DHCP6
      IP   - for IP4 combined with IP6
      8fbd24c9
    • Jiří Klimeš's avatar
      Revert "docs: add PPP interface API to HTML spec" · 9fa1a9b8
      Jiří Klimeš authored
      This reverts commit 2ad6dcf2.
      
      org.freedesktop.NetworkManager.PPP is a private interface between
      NM and nm-ppp-plugin and we don't want it in the documentation.
      9fa1a9b8
  5. 06 Nov, 2012 4 commits
  6. 05 Nov, 2012 1 commit
    • Pavel Šimerda's avatar
      build: unify NetworkManager path handling (some paths are changed) · d82669d3
      Pavel Šimerda authored
      Use autoconf/automake variables for NetworkManager paths. Use
      NetworkManager subdirectory where appropriate.
      
      Files in /var/run (or /run on some distros) are moved into a separate
      directory as is usual with other daemons. It makes the filesystem
      more readable and file prefixing unnecessary.
      
      /var/run/NetworkManager.pid -> /var/run/NetworkManager/NetworkManager.pid
      /var/run/nm-dns-dnsmasq.pid -> /var/run/NetworkManager/dnsmasq.pid
      /var/run/nm-dns-dnsmasq.conf -> /var/run/NetworkManager/dnsmasq.conf
      
      The /var/run/NetworkManager directory is created at runtime, if it doesn't
      exist.
      
      Note: Path-based security policies like SELinux and AppArmor may need to
      be adapted.
      d82669d3
  7. 04 Nov, 2012 1 commit
  8. 02 Nov, 2012 2 commits
  9. 01 Nov, 2012 5 commits
  10. 31 Oct, 2012 1 commit
    • Colin Walters's avatar
      build: target GLib 2.34 (bgo #687218) · ceba6bf4
      Colin Walters authored
      By specifying GLIB_VERSION_MAX_ALLOWED=GLIB_2_34, we tell GLib not to
      warn us about e.g. g_type_init() being deprecated in 2.36.
      
      This avoids the NM build blowing up with the default -Werror
      configuration if we happen to have a newer GLib in the buildroot.
      ceba6bf4