You could have a group per ip-block... split out on the first byte... worst pass will only have to traverse 256 rules as opposed to the 2500+ for every legit packet....
On woensdag, november 13, 2002, at 07:23 , Eric Anderson wrote:
--Can I ask why the (near) duplicate rule sets in the message you'repass in on hme0 proto tcp from any to any port 80 flags S/SA head 20Unless I'm missing something here, the first rule would never be
pass in quick on hme0 proto tcp from any to any port 80 flags S/SA keep state
executed. Perhaps:
pass in on hme0 proto tcp from any to any port 80 flags S/SA keep state head 20
block in quick on hme0 proto tcp from <offender>/32 to any group 20Wouldn't the 'on hme0' (and the 'proto tcp') be redundant? Simplifying the rule MAY give some added permormance:block in quick from <offender>/32 to any group 20
referring? Can I get away with just these two lines:
pass in quick on hme0 proto tcp from any to any port 80 flags S/SA keep state head 20
block in quick from <offender>/32 to any group 20
Met vriendelijke groeten,
Remco Post
SARA - Stichting Academisch Rekencentrum Amsterdam http://www.sara.nl
High Performance Computing Tel. +31 20 592 8008 Fax. +31 20 668 3167
PGP keys at http://home.sara.nl/~remco/keys.asc
"I really didn't foresee the Internet. But then, neither did the computer
industry. Not that that tells us very much of course - the computer industry
didn't even foresee that the century was going to end." -- Douglas Adams
