Mirror network packets from WiFi to Ethernet in an ASUS Router RT N53
        Posted  
        
            by 
                fazineroso
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by fazineroso
        
        
        
        Published on 2013-10-23T15:22:07Z
        Indexed on 
            2013/10/23
            15:56 UTC
        
        
        Read the original article
        Hit count: 259
        
I have an ASUS RT N53 router, running the default firmware (Linux 2.6.22 with busybox and uclibc). I need to capture data packets from some Wi-Fi devices I have connected to that router (iPad and some smartphones), but the router is not forwarding any package coming from Wi-Fi devices to the Ethernet Ports. Any idea how can I proceed? Available tools in the router are iptables (no tee option, though), ebtables, brctl...
Currently the ethernet and Wifi devices are forming a bridge:
# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.50465dc06be2       no              vlan0
                                                        eth1
No ebtables rules:
# ebtables -L
Bridge table: filter
Bridge chain: INPUT, entries: 0, policy: ACCEPT
Bridge chain: FORWARD, entries: 0, policy: ACCEPT
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
        © Server Fault or respective owner