However when I run ipportfw -C is get:
ipfwadm: setsockopt failed: Protocol not available
Strace output:
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
setsockopt(3, IPPROTO_IP1603, [134545407], 20) = -1 ENOPROTOOPT (Protocol not available)
write(2, "ipfwadm: setsockopt failed: Prot"..., 51ipfwadm: setsockopt failed: Protocol not available
) = 51
_exit(-1) = ?
After looking at the source to ipportfw.c is see that it makes the
call
setsockopt(sockfd, IPPROTO_IP, IP_PORTFW_FLUSH, &pfw, sizeof(pfw));
By looking at the patch for 2.0.x is see that IP_PORTFW_FLUSH should
get defined in linux/include/linux/ip_fw.h but it isn't. In fact
grepping the linux source tree for IP_PORTFW_FLUSH yields no matches.
Any help?
-- Mark A. Wagner markwa@citylinq.com ---------------------------------------------------------------------- "Someday sendmail, like X11, will die--but I'm not holding my breath." - Eric Allman Speaks, _Sendmail_- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu