Skip to contentSkip to conversation

arptables - bulk/fast insert

DISCUSSION Peter Gordon 2 participants 2 messages Apr 6, 2010 netfilter

lore
Share & tools
lore
#0 lore raw

Is there a fast way to add rules to arptables, like ebtables-restore or iptables-restore?

arptables-restore is a perl script which runs arptables for each insert, so
a) it is not atomic
b) it is slow

Peter

#1 lore raw
Quoted 7 lines · Peter Gordon

Is there a fast way to add rules to arptables, like ebtables-restore or iptables-restore?

arptables-restore is a perl script which runs arptables for each insert, so
a) it is not atomic
b) it is slow

Its certainly possible to write an atomic arptables-restore program, but so far nobody has done it.