Error in rc.firewall

From: Chuck Pitre <>
Date: Thu, 16 Jul 1998 18:19:45 -0400 (EDT)

ipfwadm: setsockopt failed: protocol not available

This is the error message I get when I run my rc.firewall

I know it's something stupid I just can't quite see it (too much coffee i
guess ;)
anyhow attached to this file is my rc.firewall file,
I was hoping that someone might be able to point out my stupidity.

Currently this is on a Linux 2.0.29 Slackware distribution and squid
1.2.22 and I'm attempting to have it proxy transparently (uh oh;)

Chuck Pitre 128 Larch Street, Suite 301
Technical Consultant P3E 5J8 Sudbury Ontario
ViaNet Internet Solutions tel: 705-675-0400

*The box said "Windows 95, Windows NT4.0 or better".. so I installed Linux*

# rc.firewall Linux firewalling rules

# FLush rules, for testing purposes
for i in I O F
        ${FW} -$i -f

# Default policies:
${FW} -I -p rej # Incoming policy: reject (quick error)
${FW} -O -p acc # Output policy: accept
${FW} -F -p den # Forwarding policy: deny

# Input Rules:

# Loopback Interface:
${FW} -I -a acc -S -D

# Local Ehternet-interface:

# Redirect to Squid proxy server
${FW} -I -a acc -P tcp -D 80 -r 80

# Accept packets from local network:
${FW} -I -a acc -P all -S -D -W eth0

# Only required for toher types of traffic (FTP, TELNET):

# Forward localnet with masquerading (udp and tcp, no icmp!):
${FW} -F -a m -P tcp -S -D
${FW} -F -a m -P udp -S -D
Received on Thu Jul 16 1998 - 15:22:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:08 MST