Branch: refs/heads/libnozzle-fixes Home: https://github.com/kronosnet/kronosnet Commit: 03e654af806751ac3718b2b3c04a20f8bc6955ad https://github.com/kronosnet/kronosnet/commit/03e654af806751ac3718b2b3c04a20... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths: M libnozzle/libnozzle.c
Log Message: ----------- libnozzle: use IFF_TUN_EXCL for exclusive TAP device creation
Add IFF_TUN_EXCL flag when creating named TAP devices to prevent race conditions where another process creates the same device name between check and creation. Available since Linux 3.4 with graceful fallback.
Signed-off-by: Fabio M. Di Nitto fabbione@kronosnet.org Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Commit: b67725ad290ff8d7e00365a8a282d4d6d3734566 https://github.com/kronosnet/kronosnet/commit/b67725ad290ff8d7e00365a8a282d4... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths: M libnozzle/libnozzle.c
Log Message: ----------- libnozzle: improve libnl error code translation
Replace generic errno values with proper error code translation from libnl. Add nlerr_to_errno() helper that maps NLE_* codes to standard errno values for better diagnostics when netlink operations fail.
Signed-off-by: Fabio M. Di Nitto fabbione@kronosnet.org Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Commit: a6798b0b51b24f6f78cf93c31c724655d3bf7c11 https://github.com/kronosnet/kronosnet/commit/a6798b0b51b24f6f78cf93c31c7246... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths: M libnozzle/internals.h M libnozzle/libnozzle.c
Log Message: ----------- libnozzle: implement FreeBSD native ioctl for IP address management
Replace shell command execution with native ioctl calls using struct in_aliasreq (IPv4) and struct in6_aliasreq (IPv6). Use separate AF_INET and AF_INET6 sockets for proper address family handling.
Signed-off-by: Fabio M. Di Nitto fabbione@kronosnet.org Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Commit: 051cd040da5215b7647ed5124ba0c6129db04487 https://github.com/kronosnet/kronosnet/commit/051cd040da5215b7647ed5124ba0c6... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths: M libnozzle/libnozzle.c
Log Message: ----------- libnozzle: implement Solaris native ioctl for IP address management
Replace shell command execution with native ioctl calls using struct lifreq. Use per-interface AF_INET and AF_INET6 sockets for IPv4/IPv6 operations. Set secondary=1 for IPv6 address deletion to match Solaris logical interface semantics.
Signed-off-by: Fabio M. Di Nitto fabbione@kronosnet.org Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Commit: fe88b72712f938f4473776d6b5fd3a5278e6bbb8 https://github.com/kronosnet/kronosnet/commit/fe88b72712f938f4473776d6b5fd3a... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths: M libnozzle/Makefile.am M libnozzle/internals.h M libnozzle/libnozzle.c A libnozzle/libnozzle_bsd.c A libnozzle/libnozzle_linux.c A libnozzle/libnozzle_solaris.c
Log Message: ----------- libnozzle: refactor platform-specific code into dedicated files
Move all platform-specific code from libnozzle.c to dedicated platform files (libnozzle_linux.c, libnozzle_bsd.c, libnozzle_solaris.c). Create unified platform abstraction API for tap device management, MAC/MTU operations, and IP address configuration. Solaris global IP sockets moved to lib_cfg.
Signed-off-by: Fabio M. Di Nitto fabbione@kronosnet.org Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Compare: https://github.com/kronosnet/kronosnet/compare/03e654af8067%5E...fe88b72712f...
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications