Hi,
i've listed all allowed MACs in a File and if one MAC changes i'll edit the
file and reload the Bridge-Rules by following script:
#! /bin/sh
/sbin/brconfig bridge0 flushrule fxp0
for i in `cat macs.allow`;
do /sbin/brconfig bridge0 rule pass in on fxp0 src $i tag ok;
done
Paul
Am Dienstag, 24. Januar 2006 12:36 schrieb Badbanchi Hossein:
Hi,
In patched Linux versions, one can add or remove MAC based filter rules
from the interfaces taking part in a bridge.
In OpenBSD (according to the man page of brconfig(8)) one can add rules,
but there is no (documented) way to delete rules!
In order to delete a certain rule, the only possibility is to flushrule
the interface, and add all MAC based rules (except the one you want to
delete) again.
Is my understanding correct?
This doesn't seem to be productive! Isn't there any solution or workaround
or patch for this?
Thanks for any help.
Regards,
H. Badbanchi
--
Mit freundlichen GrCssen
Paul Wittmayer
--
/\
\ /ASCII Ribbon Campaign
X against HTML email vCards
/ \