You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
15:50:57 root@OpenWrt ~ cat /etc/config/port-mirroring
#
#"target" defines the mirror target, it can be a local interface or a remote ip
#address. For openwrt routers, it shall be remote ip in most case.
#
#"source_ports" defines the mirrored interface, for example, "wlan0" will mirror#all wireless traffic. Multiple interfaces are supported(ie: "wlan0,eth0").
#
config 'port-mirroring'
option 'target' '192.168.1.141'
option 'source_ports' 'pppoe-pppoe'
option 'filter' ''
option 'protocol' 'TZSP'
I use wireshark on 192.168.1.141.If it mirrors these traffic,I should see ip packets which src ip is the ip from pppoe server.but I only get packets which src/dst ip is 192.168.1.x
sorry for my pool english
The text was updated successfully, but these errors were encountered:
Thanks for the quick response and you're using the right version of port-mirroring and OpenWrt with your router. I'm reviewing the code and it looks like a bug with port-mirroring. I don't think the original author anticipated using port-mirroring on a virtual network interface such as PPPoE which doesn't appear to have a MAC address or use address resolution protocol. I'll look into it this week but I can't guarantee when I'll be able to fix it.
I try to mirror the traffic on a pppoe network but receive nothing
and --debug shows no error
details:
I use wireshark on 192.168.1.141.If it mirrors these traffic,I should see ip packets which src ip is the ip from pppoe server.but I only get packets which src/dst ip is 192.168.1.x
sorry for my pool english
The text was updated successfully, but these errors were encountered: