Bug 15513

Summary: kernel or ipfw drops rules sometimes
Product: Base System Reporter: johan <johan>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description johan 1999-12-16 10:40:02 UTC
When generating the firewall ruleset using a script (say, fireup.sh), and calling another script from that one, (say, fire-www.sh), the rules that the second script creates gets dropped somehow.

They're initially in the firewall, but after the "periodic daily" scripts get run they are not.

Fix: 

It probably fixes the problem if you put all the rules in one file, or
if you use an absolute path to the second firewall script.
You could probably also fix it by killing the periodic/daily scripts.

The correct way is of course to fix the periodic/daily scripts. Why are they messing with the firewall at all?
How-To-Repeat: Create a fireup.sh firewall script that calls another firewall script using "./fireup-2.sh" (or whatever you called the second). Call fireup.sh from "/etc/rc.conf.local".

Let the system run across 01:59:00.
Comment 1 ru freebsd_committer freebsd_triage 2000-01-19 09:47:52 UTC
State Changed
From-To: open->closed

Cannot reproduce, believed to be the pilot error. 
Originator is advised to provide some additional 
details and discuss the problem on freebsd-bugs.