Add support for port mirroring in rtl8366rb
|Reported by:||Colin Leitner <colin.leitner@…>||Owned by:||jow|
|Priority:||normal||Milestone:||Chaos Calmer 15.05|
I needed to analyze some network traffic and had no hub in reach.
The TL-WR1043NDs switch (RTL8366RB) supports port mirroring, but the driver lacks the necessary swlib attributes to enable it.
I've enhanced the driver to support the following new attributes:
config 'switch' option 'enable_mirror_rx' '0' option 'enable_mirror_tx' '0' option 'enable_monitor_isolation' '0' option 'enable_mirror_pause_frames' '0' option 'mirror_monitor_port' '0' option 'mirror_source_port' '0'
I posted the patch for the driver to the openwrt-devel mailing list and attached the LuCI patch to this ticket.
On a side note, vlan.lua should probably be renamed to switch.lua.
Change History (9)
Changed 5 years ago by anonymous
Changed 4 years ago by colin.leitner@…
comment:6 Changed 2 years ago by jow
- Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)