I'm working on a monitoring application for my home gateway and I want to know the device type of all connected clients. For that purpose I'm using
tcpdump to extract the user-agent of all devices
tcpdump -vvAls0 | grep 'User-Agent:'
but I can't figure out each client user-agent. is there a way to distinct the correspondent user-agent for each device.