1. 15 Mar, 2019 1 commit
  2. 11 Mar, 2019 1 commit
  3. 23 Feb, 2019 3 commits
  4. 22 Feb, 2019 1 commit
  5. 15 Feb, 2019 1 commit
  6. 06 Feb, 2019 1 commit
  7. 28 Jan, 2019 2 commits
  8. 29 Nov, 2018 1 commit
    • Lubomir Rintel's avatar
      all: say Wi-Fi instead of "wifi" or "WiFi" · b385ad01
      Lubomir Rintel authored
      Correct the spelling across the *entire* tree, including translations,
      comments, etc. It's easier that way.
      
      Even the places where it's not exposed to the user, such as tests, so
      that we learn how is it spelled correctly.
      b385ad01
  9. 28 Nov, 2018 1 commit
  10. 17 Oct, 2018 1 commit
  11. 18 Sep, 2018 2 commits
    • Beniamino Galvani's avatar
      Squashed 'shared/n-acd/' changes from a68b55992..a40949267 · 1361ede0
      Beniamino Galvani authored
      a40949267 build: add CI run without ebpf
      044db2056 n-acd: drop redundant headers
      6a391cd83 n-acd: fix build without eBPF
      bb194cf09 n-acd/config: make transport mandatory
      ec2865743 build: drop unused c-sundry
      721d9d84f n-acd: inline c_container_of()
      1a7ee317c util/timer: fix coding-style
      6c96f926b util/timer: fall back to CLOCK_MONOTONIC if necessary
      4ea3165fc n-acd: only use CLOCK_BOOTTIME if really necessary
      c1b853c6c util/timer: cleanup headers
      b1d6ad272 n-acd: add destructors that return void
      185be55b6 test-bpf: skip test in case of unsufficient privs
      84a40e8fa build: add NEWS file
      bf11443ff build: mention mailinglist in readme
      e2797984a test-bpf: drop bpf-filter.h
      668ed3c82 subprojects: pull in updates
      dd8cab3f0 test-veth: reduce parallel execution to 9
      68b09ba2b build: update AUTHORS
      3f77e3e88 test: make function headers valid C
      5275a5120 test: get rid of spurious tab
      037df412c n-acd: make struct initializers valid C
      346ec0c67 build: upgrade CI
      38682a36d n-acd: fix signed vs unsigned comparison
      5e7578b33 bpf: properly zero out trailing bpf_attr space
      ee1e432ae probe: fix coding-style
      a143540f9 build: use lower-case build options
      835533e7d build: minor style fixes
      2bd6d1d29 build: get rid of tabs
      b14979934 eBPF: make compile-time optional
      6f13c27ee n-acd: filter out invalid packets
      4e6a169a0 build: sync with c-util repositories
      6c4a9117b build: document eBPF kernel requirement
      3ef08394d n-acd: don't remember dropped defense attempts
      4dff8771f n-acd: fix coding-style
      b11fb9706 n-acd/config: default to the RFC-specified timeout
      d885bb3b7 n-acd/event: don't expose the type of operation that caused a conflict
      e2f87e047 TODO: drop remaining items
      f06993856 test/veth: reduce the number of probed addresses
      8b4f7ed64 test/veth: bump the timeout a bit
      14e4606f6 n-acd/probe: don't cap the jitter at 4s
      a0247b86f test/veth: fix stackvariable corruption
      a64ac8389 n-acd/probe: update comments
      aa9c25bc1 n-acd/handle_timeout: update comments
      b6c2df3a9 timer: rename timer_pop() to timer_pop_timeout()
      47c657a8d test: fix handling of child addresses
      27168ba9e timer: move timer_read() from n-acd.c to util/timer.c
      21a1e37aa timer: require timer to be explicitly rearmed
      ee1080820 bpf/map: make key/value sizes self-documenting
      fd444353e test/veth: rework test
      ba2bc433c test: rework child_ip() helper
      07881b8da test: silence a warning
      38da00b0a test/bpf: make tests for map modifications more comprehensive
      6a2ffd23a test/timerfd: for documentation purposes verify the kernel API
      01a9cf54b probe: move from ms to ns internally
      4fe438dd9 n-acd: move to use the Timer utility library
      e098cfc79 util: add a timer utility helper
      8ea196e5b subprojects: pull in c-sundry
      0c0b3c29f acd/probe: do not subscribe to packets in FAILED state
      9c922ea3d acd/probe: introduce probe_{un,}link() helpers
      024a830e6 acd/probe: use unschedule() helper in free()
      b098a3bcc tests/veth: minor fixes to the test
      fe3d9578a acd/packet: consider unexpected packets a fatal error
      34d7656d7 acd: stop state-machine after USED or CONFLICT events
      7d9e5ec6b acd: don't declare iovec entries inline
      7afd8d8a3 tests: add veth test
      26a737b42 tests/veth: add helper for adding IP addresses to child device
      e73a37a11 probe: store a userdata pointer in the probe object
      327e82625 test: introduce loopback helper
      0682b15f8 acd: reduce default map size
      afead881f tests: reinstate loopback test
      4527d2f71 BPF: move and document the eBPF helpers
      88bacc022 socket filter: move to the new eBPF helpers
      245104d5c tests: skip tests if lacking permissions
      195d9ff5a n-acd: rework API to support many probes on a context
      ab440eb99 eBPF: never return packets that userspace should unconditionally drop
      ac933f412 eBPF: add eBPF helper functions
      
      git-subtree-dir: shared/n-acd
      git-subtree-split: a40949267923c45cb232fa4c1d60eafacee4b36e
      1361ede0
    • Beniamino Galvani's avatar
      Squashed 'shared/c-rbtree/' content from commit bf627e0c3 · 4f4e9665
      Beniamino Galvani authored
      git-subtree-dir: shared/c-rbtree
      git-subtree-split: bf627e0c32241915108f66ad9738444e4d045b45
      4f4e9665
  12. 17 Sep, 2018 1 commit
  13. 14 Sep, 2018 1 commit
  14. 07 Sep, 2018 1 commit
  15. 13 Aug, 2018 1 commit
  16. 08 Aug, 2018 1 commit
  17. 30 Jun, 2018 1 commit
  18. 29 Jun, 2018 2 commits
  19. 26 Jun, 2018 1 commit
  20. 18 Jun, 2018 4 commits
    • Thomas Haller's avatar
      dispatcher: add NM_DISPATCHER_ACTION environment variable · 2800232b
      Thomas Haller authored
      Previously, the action was only passed as the first command line
      argument to the dispatcher scripts. Now, also set it via the
      "$NM_DISPATCHER_ACTION" environment variable.
      
      The main purpose is to have a particular, nm-dispatcher specific
      variable that is always set inside the dispatcher scripts.
      For example, imagine you have a script that can be either called by
      dispatcher or some other means (manually, or spawned via
      /etc/NetworkManager/dispatcher.d/11-dhclient).  Then it might make
      sense to differenciate from inside the script whether you are called
      by nm-dispatcher. But previously, there was no specific environment
      variable that was always set inside the dispatcher event. For example,
      with the "hostname" action there are no other environment variables.
      
      Now (with version 1.12), you can check for `test -n "$NM_DISPATCHER_ACTION"`.
      
      (cherry picked from commit ce961904)
      2800232b
    • Thomas Haller's avatar
      dispatcher: add NM_DISPATCHER_ACTION environment variable · ce961904
      Thomas Haller authored
      Previously, the action was only passed as the first command line
      argument to the dispatcher scripts. Now, also set it via the
      "$NM_DISPATCHER_ACTION" environment variable.
      
      The main purpose is to have a particular, nm-dispatcher specific
      variable that is always set inside the dispatcher scripts.
      For example, imagine you have a script that can be either called by
      dispatcher or some other means (manually, or spawned via
      /etc/NetworkManager/dispatcher.d/11-dhclient).  Then it might make
      sense to differenciate from inside the script whether you are called
      by nm-dispatcher. But previously, there was no specific environment
      variable that was always set inside the dispatcher event. For example,
      with the "hostname" action there are no other environment variables.
      
      Now (with version 1.12), you can check for `test -n "$NM_DISPATCHER_ACTION"`.
      ce961904
    • Thomas Haller's avatar
      release: update NEWS for 1.10.10 release · 4822bff7
      Thomas Haller authored
      1.10.10 was released still before 1.12.0. Update the
      NEWS to reflect that.
      
      (cherry picked from commit f8dfc436)
      4822bff7
    • Thomas Haller's avatar
      release: update NEWS for 1.10.10 release · f8dfc436
      Thomas Haller authored
      1.10.10 was released still before 1.12.0. Update the
      NEWS to reflect that.
      f8dfc436
  21. 15 Jun, 2018 3 commits
  22. 05 Jun, 2018 1 commit
    • Thomas Haller's avatar
      dns: change main.rc-manager=file behavior to always follow symlink · 644aa42f
      Thomas Haller authored
      With "main.rc-manager=file", if /etc/resolv.conf is a symlink, NetworkManager
      would follow the symlink and update the file instead.
      
      However, note that realpath() only returns a target, if the file actually
      exists. That means, if /etc/resolv.conf is a dangling symlink, NetworkManager
      would replace the symlink with a file.
      
      This was the only case in which NetworkManager would every change a symlink
      resolv.conf to a file. I think this is undesired behavior.
      
      This is a change in long established behavior. Although note that there were several
      changes regarding rc-manager settings in the past. See for example commit [1] and [2].
      
      Now, first still try using realpath() as before. Only if that fails, try
      to resolve /etc/resolv.conf as a symlink with readlink().
      
      Following the dangling symlink is likely not a problem for the user, it
      probably is even desired. The part that most likely can cause problems
      is if the destination file is not writable. That happens for example, if
      the destination's parent directories are missing. In this case, NetworkManager
      will now fail to write resolv.conf and log a warning. This has the potential of
      breaking existing setups, but it really is a mis-configuration from the user's
      side.
      
      This fixes for example the problem, if the user configures
      /etc/resolv.conf as symlink to /tmp/my-resolv.conf. At boot, the file
      would not exist, and NetworkManager would previously always replace the
      link with a plain file. Instead, it should follow the symlink and create
      the file.
      
      [1] 718fd224
      [2] 15177a34
      
      https://github.com/NetworkManager/NetworkManager/pull/127
      644aa42f
  23. 31 May, 2018 1 commit
  24. 18 Apr, 2018 1 commit
  25. 15 Mar, 2018 1 commit
    • Beniamino Galvani's avatar
      dhcp: dhclient: set type 0 for printable client IDs · 8ffa22d1
      Beniamino Galvani authored
      The documentation for the ipv4.dhcp-client-id property says:
      
       If the property is not a hex string it is considered as a
       non-hardware-address client ID and the 'type' field is set to 0.
      
      However, currently we set the client-id without the leading zero byte
      in the dhclient configuration and thus dhclient sends the first string
      character as type and the remainder as client-id content. Looking
      through git history, the dhclient plugin has always behaved this way
      even if the intent was clearly that string client-id had to be zero
      padded (this is evident by looking at
      nm_dhcp_utils_client_id_string_to_bytes()). The internal plugin
      instead sends the correct client-id with zero type.
      
      Change the dhclient plugin to honor the documented behavior and add
      the leading zero byte when the client-id is a string.
      
      This commit introduces a change in behavior for users that have
      dhcp=dhclient and have a plain string (not hexadecimal) set in
      ipv4.dhcp-client-id, as NM will send a different client-id possibly
      changing the IP address returned by the server.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=793957
      8ffa22d1
  26. 07 Feb, 2018 1 commit
  27. 10 Nov, 2017 1 commit
  28. 03 Nov, 2017 1 commit
  29. 10 May, 2017 1 commit
  30. 20 Apr, 2017 1 commit