lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250717115412.11424-1-richardbgobert@gmail.com>
Date: Thu, 17 Jul 2025 13:54:08 +0200
From: Richard Gobert <richardbgobert@...il.com>
To: davem@...emloft.net,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com,
	horms@...nel.org,
	dsahern@...nel.org,
	razor@...ckwall.org,
	idosch@...dia.com,
	petrm@...dia.com,
	menglong8.dong@...il.com,
	richardbgobert@...il.com,
	daniel@...earbox.net,
	martin.lau@...nel.org,
	netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH net-next v4 0/4] net: add local address bind support to vxlan and geneve

This series adds local address bind support to both vxlan
and geneve sockets.

v3 -> v4:
  - Fix a problem where vxlan socket is bound before its outgoing interface is up
  - v3: https://lore.kernel.org/netdev/20240711131411.10439-1-richardbgobert@gmail.com/

v2 -> v3:
  - Fix typo and nit problem (Simon)
  - v2: https://lore.kernel.org/netdev/20240708111103.9742-1-richardbgobert@gmail.com/

v1 -> v2:
  - Change runtime checking of CONFIG_IPV6 to compile time in geneve
  - Change {geneve,vxlan}_find_sock to check listening address
  - Fix incorrect usage of IFLA_VXLAN_LOCAL6 in geneve
  - Use NLA_POLICY_EXACT_LEN instead of changing strict_start_type in geneve
  - v1: https://lore.kernel.org/netdev/df300a49-7811-4126-a56a-a77100c8841b@gmail.com/

Richard Gobert (4):
  net: udp: add freebind option to udp_sock_create
  net: vxlan: add netlink option to bind vxlan sockets to local
    addresses
  net: vxlan: bind vxlan sockets to their local address
  net: geneve: enable binding geneve sockets to local addresses

 drivers/net/geneve.c               | 80 ++++++++++++++++++++++++++---
 drivers/net/vxlan/vxlan_core.c     | 81 ++++++++++++++++++++++++------
 include/net/geneve.h               |  6 +++
 include/net/udp_tunnel.h           |  3 +-
 include/net/vxlan.h                |  1 +
 include/uapi/linux/if_link.h       |  3 ++
 net/ipv4/udp_tunnel_core.c         |  1 +
 net/ipv6/ip6_udp_tunnel.c          |  1 +
 tools/include/uapi/linux/if_link.h |  3 ++
 9 files changed, 156 insertions(+), 23 deletions(-)

-- 
2.36.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ