arp spoofing because of repeater bridge

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
fork29
DD-WRT Novice


Joined: 28 May 2025
Posts: 4

PostPosted: Wed May 28, 2025 1:04    Post subject: arp spoofing because of repeater bridge Reply with quote
Hey guys,
my nerves are shot. Since two days I try to setup the repeater bridge on R7000 connecting to R6400 AP (both DD-WRT v3.0-r61423 std (05/25/25)), but my devices keep having trouble. Coming from a working setup with freshTomato, I have wasted a lot of time using ddwrt now. Being surrounded by potential issues everywhere (CTF, AES in WPA, Broadcom driver and so on), I have turned on and off everything I could think of. Two days of my life lost forever. Well well...

Internet works okayish on my desktop connected to RB router, but mobile devices (Fairphone 3 and iPhone) do not work. Directly after connecting to wifi, first moments browsing internet works, but then suddently connection drops and websites do not load anymore.

My AP router logs:
Code:
May 28 02:48:51.734 r6400 kern.err kernel: [ 1281.042490] arp spoofing detected ip=192.168.10.171 mac is xx:xx:xx:xx:xx:03 but should be xx:xx:xx:xx:xx:94


Also my gateway router, a fritzbox 6660, reports jumping and duplicate IP addresses spotted via ARP.

Why repeater bridge is recognized as arp spoofing? And why ARP spoofing protection is active even though I have not enabled it in security tab?

It seems this is a known issue. The following thread helped me:
https://unix.stackexchange.com/questions/582131/forwarding-arp-reply-on-bridge-device

This is buggy as hell. All this needs more attention.


Last edited by fork29 on Wed May 28, 2025 1:44; edited 4 times in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16123
Location: Texas, USA

PostPosted: Wed May 28, 2025 1:17    Post subject: Reply with quote
I presume this is on a Netgear R6400, but no idea what build version you've flashed. Keep in mind that repeater modes may be problematic on Broadcom Northstar (ARM) devices, and arp on these fake bridge modes is broken.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
fork29
DD-WRT Novice


Joined: 28 May 2025
Posts: 4

PostPosted: Wed May 28, 2025 1:28    Post subject: Reply with quote
kernel-panic69 wrote:
I presume this is on a Netgear R6400, but no idea what build version you've flashed. Keep in mind that repeater modes may be problematic on Broadcom Northstar (ARM) devices, and arp on these fake bridge modes is broken.


I have seen WDS, media bridge, repeater bridge, wifi ethernet bridge. WDS was slow as hell. Media bridge was never stable. Ethernet bridge worked, but has the same problems as repeater bridge with mac desaster.

What is the cleanest way to pair two wifi routers with ARP being healthy and connection bandwidth acceptable?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16123
Location: Texas, USA

PostPosted: Wed May 28, 2025 2:02    Post subject: Reply with quote
Unfortunately, this issue is probably not going to go away save and except the developer removes the fake bridge modes entirely. Also, on current releases the following would apply since the shift to Linux 4.4:

https://github.com/mirror/dd-wrt/blob/master/src/linux/universal/linux-4.4/net/ipv4/arp.c#L1381-L1421

The only 100% stable linking between two routers is over wired ethernet. The closest option is wireless station mode (not WDS) on one of the radios on the second router. Of course, I don't know *what* WDS configuration you used, and again, I have no idea what release build number your are using in this situation.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
fork29
DD-WRT Novice


Joined: 28 May 2025
Posts: 4

PostPosted: Wed May 28, 2025 9:37    Post subject: Reply with quote
kernel-panic69 wrote:
Unfortunately, this issue is probably not going to go away save and except the developer removes the fake bridge modes entirely. Also, on current releases the following would apply since the shift to Linux 4.4:

https://github.com/mirror/dd-wrt/blob/master/src/linux/universal/linux-4.4/net/ipv4/arp.c#L1381-L1421

The only 100% stable linking between two routers is over wired ethernet. The closest option is wireless station mode (not WDS) on one of the radios on the second router. Of course, I don't know *what* WDS configuration you used, and again, I have no idea what release build number your are using in this situation.


I have updated release number into my previous post. And also changed it to for better understandability.

Important: I have linked a solition from an old thread. Disabling ARP spoofing protection via commandline brings the repeater bridge back to life. I have also added that ARP spoofing protection is NOT ticked in webgui, but still it was active which seems to be bug.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13650
Location: Netherlands

PostPosted: Wed May 28, 2025 10:03    Post subject: Reply with quote
I used it on an older build and that worked very well, but I did not test it on a recent build.

My notes: https://github.com/egc112/ddwrt/tree/main

You need the Wireless bridge

On build 60742 I can disable Arp-Spoofing in the GUI, but I added it to the instructions to check it.

Are you sure you really did Save and Apply after unchecking Arp-spoofing?

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
fork29
DD-WRT Novice


Joined: 28 May 2025
Posts: 4

PostPosted: Wed May 28, 2025 10:15    Post subject: Reply with quote
egc wrote:
Are you sure you really did Save and Apply after unchecking Arp-spoofing?

Yes, 100%. Please also take a look at the linked thread in my initial post. I have reported both issues that I see here:
https://svn.dd-wrt.com/ticket/7830
https://svn.dd-wrt.com/ticket/7831

egc wrote:
You need the Wireless bridge

In my wireless dropdown, I can only see:
AP, station, station bridge, repeater, repeater bridge, Ad-Hoc. Which of those modes represent the "Wireless bridge"?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13650
Location: Netherlands

PostPosted: Wed May 28, 2025 11:28    Post subject: Reply with quote
See my notes: https://github.com/egc112/ddwrt/tree/main

DDWRT Wireless Bridge v6.pdf

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum