'Filters records with at least one port other than those
listed in `ports` with state `state`.'

@staticmethod
def searchportsother(ports, protocol='tcp', state='open'):

    return NmapFilter(port=[(True, and_(or_(Port.port.notin_(ports), (Port.protocol != protocol)), (Port.state == state)))])
