lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Jan 2024 06:49:00 +0000
From: Suman Ghosh <sumang@...vell.com>
To: Suman Ghosh <sumang@...vell.com>, Vikas Aggarwal <vik.reck@...il.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "jhs@...atatu.com"
	<jhs@...atatu.com>
Subject: RE: [EXT] tc-mirred : Redirect Broadcast (like ARP) pkts rcvd on eth1
 towards eth0

Sorry for the typo on the last netdev interface

tc filter add dev eth1 ingress protocol ip flower dst_mac <DMAC> m <MASK> action mirred ingress mirror dev eth0

Regards,
Suman

>-----Original Message-----
>From: Suman Ghosh <sumang@...vell.com>
>Sent: Monday, January 8, 2024 12:17 PM
>To: Vikas Aggarwal <vik.reck@...il.com>; netdev@...r.kernel.org;
>jhs@...atatu.com
>Subject: RE: [EXT] tc-mirred : Redirect Broadcast (like ARP) pkts rcvd on
>eth1 towards eth0
>
>Hi Vikas,
>
>As I understand, tc mirror is an action and can be applied with any filter
>rules. So, something below you can try
>
>tc filter add dev eth1 ingress protocol ip flower dst_mac <DMAC> m <MASK>
>action mirred ingress mirror dev eth1
>
>Regards,
>Suman
>
>>-----Original Message-----
>>From: Vikas Aggarwal <vik.reck@...il.com>
>>Sent: Monday, January 8, 2024 11:36 AM
>>To: netdev@...r.kernel.org; jhs@...atatu.com
>>Subject: [EXT] tc-mirred : Redirect Broadcast (like ARP) pkts rcvd on
>>eth1 towards eth0
>>
>>External Email
>>
>>----------------------------------------------------------------------
>>Hello "tc" experts,
>>
>>I have questions regarding  tc-mirred.
>>
>>Can tc-mirred tool  match on ethernet destination MAC address as I want
>>to redirect all broadcast pkts recvd on my ETH1 interface from external
>>network  to appear on ETH0 ingress interface.
>>
>>Thanks & Regards
>>-vik.reck

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ