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: Sat, 20 Jan 2024 10:33:24 +0530
From: Vikas Aggarwal <vik.reck@...il.com>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: Suman Ghosh <sumang@...vell.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

Thanks so much  Pedro Tammela & Suman.
Getting bit greedy here with tc filter :)  -  Can i also use some
boolean  for example dst_mac != aa:bb:cc:dd:ee:ff

On Thu, Jan 18, 2024 at 3:10 AM Pedro Tammela <pctammela@...atatu.com> wrote:
>
> On 17/01/2024 16:15, Vikas Aggarwal wrote:
> > Thanks Suman that works.
> > I need similar "redirect rule" on egress side.  Suppose if i do udhcpc
> > -i eth1  then I want  DHCP to resolve via eth0.
> > Syntax on egress (root) side is different and more complicated and I
> > need to learn egress syntax.
> > I am trying to tc filter + mirror  based on udp and DHCP port 67-68 .
> > Can you please help with this  egress side DHCP redirect too.
> > Thanks Again
> > Vikas
> >
>
> tc qdisc add $ETH clsact
> tc filter add dev $ETH egress ...
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ