fix exception messages and setfilter argument.
take interface name as an argument.