add support for excluding interfaces, Fixes #1