TCP listenall

Bruce M. Simpson bms at FreeBSD.org
Fri Oct 26 21:07:02 PDT 2007


Bruce M. Simpson wrote:
>
> The relay port idea I pointed out in my message about udp catchall 
> would be especially applicable here -- we may not always want 
> catchalls for the entire 16-bit tcp port space.
> ...
> How will inp_tlistenall appear in netstat output? Perhaps assigning a 
> LISTEN_ALL state would be helpful for an administrator to clearly see 
> that a listenall socket is active? Perhaps checking for TCP_LISTENALL 
> set on an unbound socket in tcp_usr_listen() when listen() is called 
> is the way to go instead of, or in addition to, using inp_tlistenall?

P.S. This is probably how you get INET6 support for little cost. Hint 
hint. ;-)

BMS


More information about the freebsd-net mailing list