captures incoming and outgoing traffic from a network device