IPv6 support and cleanup of address family dependency in userland utilities

Project description

FreeBSD boasts a plethora of userspace command tools utilizing IPv4 network programming APIs and exhibiting address family dependency. With the emergence of IPv6 to address the limitations of IPv4, it's imperative to update these tools to utilize address-independent APIs, thereby facilitating seamless handling of both IPv4 and IPv6 connections.

Approach to solving the problem

Deliverables

  1. Ensure that all command line tools (located in sbin/, usr.sbin/, bin/, and usr.bin/) are updated to support both IPv4 and IPv6 seamlessly, achieving IPv6 cleanliness.

Milestones

  1. Write the utilities for both easy and medium levels before the Mid Term Evaluation (July 8 - July 12).
  2. Complete writing all utilities before the End Term Evaluation (August 26).

Test Plan

Conduct thorough testing on an IPv6-only machine to verify the functionality and compatibility of the updated utilities. Consider implementing Automated Testing Framework (ATF) for comprehensive testing coverage.

The Code

Utility

Patch

rwhod(8)

D45124

SummerOfCode2024Projects/IPv6SupportAndCleanupOfAddressFamilyDependencyInUserlandUtilities (last edited 2024-05-20T11:01:30+0000 by YanHaoWang)