Thanks Paul, I will have to take a similar approach, I am afraid. (I will use the "/sbin/brconfig bridg0 rulefile filename" instead of the for loop).
But it was very nice if one could remove single entries! Regards, Amir -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Wittmayer Sent: Tuesday, January 24, 2006 12:58 To: Badbanchi Hossein Cc: [email protected] Subject: Re: MAC based rules in Bridge config 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 GrC<ssen Paul Wittmayer -- /"\ \ / ASCII Ribbon Campaign X against HTML email & vCards / \

