Hi,
this is a question about the ordering of ipfw rules.
As stated in the documentation ( https://www.freebsd.org/doc/handbook/firewalls-ipfw.html ), the ipfw command syntax is:
Does the ordering of rules depends only on the RULE_NUMBER, or does the SET_NUMBER has an influence?
One could imagine that sets are treated one after another. In this case rule number 200 of set 1 would be treated before rule number 100 of set 2. Is this the case?
Or can rules in different sets get interleaved so as to respect an ordering based only on RULE_NUMBER?
this is a question about the ordering of ipfw rules.
As stated in the documentation ( https://www.freebsd.org/doc/handbook/firewalls-ipfw.html ), the ipfw command syntax is:
CMD RULE_NUMBER set SET_NUMBER ACTION log LOG_AMOUNT PROTO from SRC SRC_PORT to DST DST_PORT OPTIONS
Does the ordering of rules depends only on the RULE_NUMBER, or does the SET_NUMBER has an influence?
One could imagine that sets are treated one after another. In this case rule number 200 of set 1 would be treated before rule number 100 of set 2. Is this the case?
Or can rules in different sets get interleaved so as to respect an ordering based only on RULE_NUMBER?