Skip to content

Instantly share code, notes, and snippets.

@ahupowerdns

ahupowerdns/macfilter.lua

Last active Jan 27, 2016
Embed
What would you like to do?
filter={}
filter["192.168.5.24"]={["b8:27:eb:0c:88:27"]=1, ["00:0d:b9:36:6f:79"]= 1}
filter["10.0.0.1"]={["06:31:25:7a:84:6b"]=1}
-- note that the filtering could be more than binary, but specify lots of categories
-- see https://i.imgur.com/wGwNHl7.png for inspiration
baddomains=newDS()
baddomains:add("xxx")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment