[lxc-devel] [lxc/lxc] 650915: network: Adds layer 2 (ARP/NDP) proxy mode

Christian Brauner noreply at github.com
Fri May 3 10:36:02 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6509154de18b96f0e6f1eb5fb066a9d2bfff7b91
      https://github.com/lxc/lxc/commit/6509154de18b96f0e6f1eb5fb066a9d2bfff7b91
  Author: tomponline <thomas.parrott at canonical.com>
  Date:   2019-05-02 (Thu, 02 May 2019)

  Changed paths:
    M doc/api-extensions.md
    M doc/lxc.container.conf.sgml.in
    M src/lxc/api_extensions.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/file_utils.c
    M src/lxc/file_utils.h
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  network: Adds layer 2 (ARP/NDP) proxy mode

Adds the lxc.net.[i].l2proxy flag that can be either 0 or 1.

Defaults to 0.

This, when used with lxc.net.[i].link, will add IP neighbour proxy entries on the linked device
for any IPv4 and IPv6 addresses on the container's network device.

Additionally, for IPv6 addresses it will check the following sysctl values and fail with an error if not set:

	net.ipv6.conf.[link].proxy_ndp=1
	net.ipv6.conf.[link].forwarding=1

Signed-off-by: tomponline <thomas.parrott at canonical.com>


  Commit: 5b94d538dd1e69fd690f7994036a070c2857ffc2
      https://github.com/lxc/lxc/commit/5b94d538dd1e69fd690f7994036a070c2857ffc2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-05-03 (Fri, 03 May 2019)

  Changed paths:
    M doc/api-extensions.md
    M doc/lxc.container.conf.sgml.in
    M src/lxc/api_extensions.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/file_utils.c
    M src/lxc/file_utils.h
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  Merge pull request #2964 from tomponline/tp-l2proxy

network: Adds layer 2 (ARP/NDP) proxy mode


Compare: https://github.com/lxc/lxc/compare/9e1accb9d28a...5b94d538dd1e


More information about the lxc-devel mailing list