Re: Strange Failure Mode in FreeBSD 4.11



Martin McCormick wrote:
  In
rc.firewall, there is a place where one can include a table of local
rules and that's where I am doing something wrong.  The place in
rc.firewall reads:

# filename - will load the rules in the given filename (full path required)

This section of rc.firewall refers to valid values you can place in rc.conf for firewall_type. In rc.conf you can name any of the types defined in rc.firewall /or/ you can specify a file of your own (instead of rc.firewall). I don't think you can invoke rc.firewall /and/ another file you name.


Well, OK, surely there is a way to do that, but that functionality is not the intent of this part of rc.firewall and rc.conf as I understand it. I'm sure that if you put your custom rules in a shell file that you can use rc or cron to load those rules at boot time; you'd just need to be careful with rule numbering, maybe use ipfw sets for rule ordering, etc.

Maybe easier to just

cp rc.firewall custom.ipfw, edit to your needs and use
firewall_type="/etc/custom.ipfw"


-- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) <gregb at scls.lib.wi.us>, (608) 266-6348 _______________________________________________ freebsd-questions@xxxxxxxxxxx mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ASM Cassette Images in TRS-80 Emulator
    ... David Keil's TRS-80 Model III/4/4P emulator. ... One of the progress asterisks changes to a C, and the load prematurely stops. ... Picking apart the *.CAS file that I was trying to load had initially suggested that the filename was "SPWAR" There is other data in the file, of course, but that plaintext seemed like a good guess. ...
    (comp.sys.tandy)
  • Re: Save/load values of text entry
    ... # not the fonction behind it. ... # set filex {file exist $filename} ... An entry widget is similar ...
    (comp.lang.tcl)
  • [DSPack]Rendering a 2nd video doesnt work on user pc, but fine on dev. pc
    ... The following code is designed to load a video. ... It works on the development pc but only the first time on the user pc. ... Folder + Filename are correct. ... StopPos:= ClipDuration; ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Assembly.Load() exception
    ... You did not specify the filename or you forgot to put the extention on the ... TestModule needs to have an extention. ... > This is throwing the following exception: ... > Could not load file or assembly ...
    (microsoft.public.dotnet.languages.csharp)
  • Track a program that is loading
    ... I am getting an error when I try to load a new program in or ... It says shell32.dll is either missing or corrupt. ... it it's not the shell file thats bad,but maybe a file calling the shell file ...
    (microsoft.public.windowsxp.general)