I just installed apache 2 and was trying to see if port 80 was open by doing
a sockstat -4 but I couldn't see the port so I thought it didn't install
right. So I did a sockstat -6 and noticed port 80 is showing up for IPv6
sockets.
Is this a default feature for Apache 2 on freebsd.
Per default apache 2.x ports use v4 mapped adresses, in other words,
ipv4 connections are handled by ipv6 sockets.
For more information:
http://www.apache.org/~trawick/v4mapped.html
On FreeBSD 5-STABLE:
[EMAIL PROTECTED]|(501)| ~]$ sockstat -4
USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
www httpd 46980 3 tcp46 *:80 *:*
www httpd 46979 3 tcp46 *:80 *:*
www httpd 46975 3 tcp46 *:80 *:*
www httpd 46973 3 tcp46 *:80 *:*
www httpd 46972 3 tcp46 *:80 *:*
www httpd 46971 3 tcp46 *:80 *:*
www httpd 46970 3 tcp46 *:80 *:*
www httpd 46969 3 tcp46 *:80 *:*
root httpd 46968 3 tcp46 *:80 *:*
clem
pgp6zUaQ1J21b.pgp
Description: PGP signature