NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46602: rfc6056 sysctl names are odd



>Number:         46602
>Category:       kern
>Synopsis:       rfc6056 sysctl names are odd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 15 07:25:00 +0000 2012
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD current
>Organization:
        
>Environment:
        
>Description:

        -current has the following sysctl mibs.

                net.inet.udp.rfc6056.available
                net.inet.udp.rfc6056.selected
                net.inet6.udp6.rfc6056.available
                net.inet6.udp6.rfc6056.selected

        they seems odd because

                1. they are not udp-specific and inconsist with
                   a precedent (net.inet.ip.anonportmin)

                2. using the rfc number as a sysctl name is not appropriate.
                   eg. what happens if we add another algorithm?
                   something like "portselect" is a better name.

        UDP_RFC6056ALGO socket option has the same problems.

>How-To-Repeat:
        man rfc6056
>Fix:
        rename them before a release.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index