Proxy-ARP daemon

Buggy xDSL is an ongoing problem here. We solved it by reducing the netmasks significantly. During the last months, rigid first-hop security filters were introduced into the DSLAMs and different CPEs, unable to deal with short netmasks, occured. We had to really solve the problem.

Problem

Large networks come with large numbers of visible MAC addresses. Several devices (i.e. DSLAMs) behave strangely in such situations, therefore network operators try hard to prevent leakage of frames into other areas. Blocking traffic from a satellite location to a different satellite location is typically called split-horizon. Clients in different parts of the network are unable to communicate with each other.

local proxy arp1

Large layer 2 networks are hard to maintain. Therefore, several security measurements should be implemented at the satellite locations with few clients. Especially DSLAMs are prone to broken first-hop security implementation, which effectively requires to disable those filters or to drop support of non-standard clients,

Often first hop security filters do sniff the communication for DHCP and adjust the filters accordingly. Clients with static IPs do not need to use DHCP (and often have and static configuration instead), which causes the filters to fail to learn the used IP address. Other clients do negotiate more than one IP address, or have full ranges of statically assigned IP addresses. In all such cases, the DLSAM filters are too simple to cover with the required setup.

A common first hop security filter simply drops all broadcast traffic not intended to the learned IP address. The rationale behind this type of filter is, that clients, which already know the MAC of the destination are allowed to reach this device. The canonical way to learn about the destination MAC is to broadcast an ARP packet for desired IP address. So if the filter blocks the distribution of those ARP broadcasts to different clients, only valid communication can be established.

Combining DHCP sniffing, broadcast filters, and split-horizon creates a typical xDSL network, where each client can only communicate with the central router(s). Advanced clients cannot communicate at all.

Simple solution

If only a single router is attached to such a network, enabling local-proxy-arp on this device solves large parts of problem: For every ARP request from a client, the router responds with its own MAC address. So client-client communication is hair pinned at the router interface.

local proxy arp3

Because a router learns the client MAC from the ARP request for the default gateway, it may not need to ask for the client itself. Several routers refresh expiring ARP entries by sending unicast requests, hence the broadcast filter may not cause notifiable trouble.

If there are more than one router or server in the network, the situation becomes complicated. Local-proxy-arp can't be used anymore, because each of the routers will quickly learn each other's MAC address for the client IPs, causing loops.

On the other hand some services, like DHCP, try to verify, that free IP addresses are unused, by arping for that IP. Any generic local-proxy-arp response would cause trouble to such applications.

Different approach

In order to keep the network running, a new daemon (parpd) provides the necessary ARP replies. Depending on configuration rules, the utility respond to ARP requests with the real MAC address of the device or the MAC address of a router (redirect).

It does learn the real MAC-IP pairs by listening to broadcast ARP queries and gratuitous ARP requests. Of course, it does not learn from ARP probes or replies not originated by the device owning the IP. parpd does refresh it's ARP cache using unicast ARP requests. In order to obtain MAC addresses for a redirect response, the request may be broadcasted.

Responses can be delayed, which effectively ignores the first set of requests over a (short) period. This way, special services can probe for the non-existence of an IP, while obtaining necessary answers for real communication.

The customizable set of rules allows adapting the behaviour to complex scenarios.

Example

How to configure the daemon? This way:

cache
 timeout       302     # seconds
 tablesize     3499     # expecting about 10000 entries
 refresh       3*5     # 3 retries a 5 seconds each
 delay         4*3     # respond at 4th retry in 3 seconds
end

interface em0
 timeout       1.011
 # do not respond for queries to our own infrastructure
 rule          0.0.0.0/0        198.51.100.0/29    ignore
 # delay queries from the DHCP server
 rule          198.51.100.4/32  198.51.100.0/24    delay tell
 # help the routers/servers to reach the clients
 rule          198.51.100.0/29  198.51.100.0/24    tell
 # interclient communication through hairpinning at the default gateway
 rule          198.51.100.0/24  198.51.100.0/24    198.51.100.1
 # help erroneous clients arping for everything
 rule          198.51.100.0/24  0.0.0.0/0          verbose 198.51.100.1
 # multihomed server with weak host model
 rule          192.0.2.0/24     198.51.100.0/24    tell
 # show missing entries
 rule          0.0.0.0/0        0.0.0.0/0          verbose ignore
end
Avatar
k2 spice spray world 31/07/2025 8:18 am
Welcome to <a href="https://k2spicesprayworld.com/" rel="dofollow">K2 Spice Spray World</a>, your comprehensive guide to understanding and exploring the world of K2 and synthetic cannabinoids. Buy the best <a href="https://k2spicesprayworld.com/product-category/herbal-ecstasy/" rel="dofollow">K2 spice</a>, <a href="https://k2spicesprayworld.com/ product/best-k2-spice-spray/" rel="dofollow">K2 spice spray</a> and <a href="https://k2spicesprayworld.com/product/k2-on-paper-a4-sheet/" rel="dofollow">soaked papers</a> at our website. We have the <a href="https://k2spicesprayworld.com/product/k2-paper-wholesale/" rel="dofollow">best k2 papers</a> and spice liquid around. You can buy the <a href="https://k2spicesprayworld.com/product/diablo-sample-sheet/" rel="dofollow">infused A4 plain</a> or <a href="https://k2spicesprayworld.com/product/k2-spice-spray-on-lined-paper/" rel="dofollow">lined paper</a> and write a letter to send to your buddy in prison. Our <a href="https://k2spicesprayworld.com/product/k2-spice-spray-on-attorney-letter/" rel="dofollow">K2 prison papers</a> are our best sellers because they are odorless and colorless.
Here are some of our categories:
a) <a href="https://k2spicesprayworld.com/product-category/dmt-vape-pen/" rel="dofollow">dmt vape pen</a>
b) <a href="https://k2spicesprayworld.com/product-category/herbal-esctasy/" rel="dofollow">herbal ecstasy</a>
c) <a href="https://k2spicesprayworld.com/best-books-for-inmates/" rel="dofollow">Best Books for Inmates</a>
d) <a href="https://k2spicesprayworld.com/product-category/k2-herbal-incense/" rel="dofollow">k2 herbal incense</a>
e) <a href="https://k2spicesprayworld.com/product-category/k2-powder/" rel="dofollow">k2 powder</a>
f) <a href="https://k2spicesprayworld.com/product-category/k2-spice-books/" rel="dofollow">k2 spice books</a>
g) <a href="https://k2spicesprayworld.com/product-category/k2-spice-spray/" rel="dofollow">k2 spice spray</a>
h) <a href="https://k2spicesprayworld.com/product-category/live-resin/" rel="dofollow">live resin</a>
i) <a href="https://k2spicesprayworld.com/product-category/liquid-herbal-incense/" rel="dofollow">liquid herbal incense</a>
j) <a href="https://k2spicesprayworld.com/product-category/kaws-moonrocks/" rel="dofollow">kaws moonrocks</a>
k) <a href="https://k2spicesprayworld.com/product-category/liquid-k2/" rel="dofollow">liquid k2</a>
l) <a href="https://k2spicesprayworld.com/product-category/liquid-k2-on-paper/" rel="dofollow">liquid k2 on paper</a>
m) <a href="https://k2spicesprayworld.com/product-category/magic-shrooms/" rel="dofollow">magic shrooms</a>
n) <a href="https://k2spicesprayworld.com/product-category/research-chemicals/" rel="dofollow">research chemicals</a>
o) <a href="https://k2spicesprayworld.com/product-category/shroom-edibles/" rel="dofollow">shroom edibles</a>
There are also some relevant pages on our site:
- <a href="https://k2spicesprayworld.com/" rel="dofollow">Home</a>
- <a href="https://k2spicesprayworld.com/shop/" rel="dofollow">Shop</a>
- <a href="https://k2spicesprayworld.com/categories/" rel="dofollow">Categories</a>
- <a href="https://k2spicesprayworld.com/blog/" rel="dofollow">Blog</a>
- <a href="https://k2spicesprayworld.com/product/herbal-empire-k2-on-letter/" rel="dofollow">herbal incense empire</a>
- <a href="https://k2spicesprayworld.com/" rel="dofollow">herbal empire</a>
- <a href="https://k2spicesprayworld.com/product/extra-extra-potent-herbal-empire-k2-sheets-5-a4-soaked-paper/" rel="dofollow">herbal empire k2</a>
- <a href="https://k2spicesprayworld.com/product/best-k2-spice-spray/" rel="dofollow">herbal incence liquid</a>
- <a href="https://k2spicesprayworld.com/best-books-for-inmates/" rel="dofollow">Best Books For Inmates</a>
- <a href="https://k2spicesprayworld.com/product/diablo-herbal-incense/" rel="dofollow">diablo k2 spray near me</a>
- <a href="https://k2spicesprayworld.com/product/diablo-k2-incense/" rel="dofollow">k2 diablo spray</a>
There are also some links to some of our blogs:
- <a href="https://k2spicesprayworld.com/2024/10/22/thcp/" rel="dofollow">THCP-The new king among cannabinoids</a>

- <a href="https://k2spicesprayworld.com/2024/10/22/angry-birds-liquid-incense/" rel="dofollow">Best Place To Buy Angry birds liquid incense online</a>

- <a href="https://k2spicesprayworld.com/2024/10/13/k2-liquid-on-a4-paper/" rel="dofollow">How to spray k2 liquid on A4 paper</a>

- <a href="https://k2spicesprayworld.com/2024/08/17/diablo-k2-liquid-spray/" rel="dofollow">Synthetic Cannabinoid-Diablo K2 Liquid Spray</a>

- <a href="https://k2spicesprayworld.com/2024/08/17/diablo-liquid-k2-incense/" rel="dofollow">Diablo Liquid K2 Liquid</a>

- <a href="https://k2spicesprayworld.com/2024/08/17/liquid-k2-spray/" rel="dofollow">Introducing Liquid K2 Spray</a>
Here are some of our latest products in stock:
a) <a href="https://k2spicesprayworld.com/product/diablo-k2-powder-1-ounce/" rel="dofollow">Diablo K2 Powder 1 Ounce</a>
b) <a href="https://k2spicesprayworld.com/product/diablo-sample-sheet/" rel="dofollow">Diablo Sample Sheet</a>
c) <a href="https://k2spicesprayworld.com/product/diablo-k2-spice-powder/" rel="dofollow">Diablo K2 Spice Powder</a>
d) <a href="https://k2spicesprayworld.com/product/infused-daily-planner/" rel="dofollow">Infused Daily Planner</a>
e) <a href="https://k2spicesprayworld.com/product/infused-recipe-book-for-women/" rel="dofollow">Infused Recipe Book for Women</a>
f) <a href="https://k2spicesprayworld.com/product/k2-spice-infused-coloring-books/" rel="dofollow">K2 Spice Newspaper</a>
g) <a href="https://k2spicesprayworld.com/product/legal-high-k2-spice-paper/" rel="dofollow">Legal High K2 Spice Paper</a>
h) <a href="https://k2spicesprayworld.com/product/k2-infused-calendar/" rel="dofollow">K2 Infused Calendar</a>
i) <a href="https://k2spicesprayworld.com/product/k2-spice-powder/" rel="dofollow">K2 Spice Powder</a>
Here are some of our other products in stock:
1) <a href="https://k2spicesprayworld.com/product/k2-spice-newspaper/" rel="dofollow">K2 Spice Newspaper</a>
2) <a href="https://k2spicesprayworld.com/product/k2-spice-book-100-pages/" rel="dofollow">K2 spice book-100 pages</a>
3) <a href="https://k2spicesprayworld.com/product/k2-spice-book-50-pages/" rel="dofollow">K2 spice book-50 pages</a>
4) <a href="https://k2spicesprayworld.com/product/diablo-k2-powder/" rel="dofollow">Diablo k2 powder</a>
5) <a href="https://k2spicesprayworld.com/product/back-together-k2-spice-letter/" rel="dofollow">Back together k2 spice letter</a>
6) <a href="https://k2spicesprayworld.com/product/small-k2-spice-bible/" rel="dofollow">Small k2 spice bible</a>
7) <a href="https://k2spicesprayworld.com/product/black-mamba-liquid-k2/" rel="dofollow">Black mamba liquid k2</a>
8) <a href="https://k2spicesprayworld.com/product/k2-spice-spray-book-500-pages/" rel="dofollow">K2 spice spray book-500 pages</a>
9) <a href="https://k2spicesprayworld.com/product/k2-spice-spray-on-lined-paper/" rel="dofollow">K2 spice spray on lined paper</a>
10) <a href="https://k2spicesprayworld.com/product/buy-aroma-liquid-5ml-online/" rel="dofollow">Buy aroma liquid 5ml online</a>
11) <a href="https://k2spicesprayworld.com/product/i-am-groot-vanilla-potpourri/" rel="dofollow">I am Groot Vanilla Potpourri</a>
12) <a href="https://k2spicesprayworld.com/product/diablo-incense/" rel="dofollow">Diablo K2 Spice Spray</a>
13) <a href="https://k2spicesprayworld.com/product/k2-spice-spray-diablo/" rel="dofollow">Spice Spray Diablo</a>
14) <a href="https://k2spicesprayworld.com/product/diablo-k2-powder/" rel="dofollow">Diablo K2 Powder</a>
15) <a href="https://k2spicesprayworld.com/product/diablo-incense/" rel="dofollow">Liquid K2 Spray Diablo</a>
16) <a href="https://k2spicesprayworld.com/product/diablo-incense/" rel="dofollow">Herbal Empire K2</a>
17) <a href="https://k2spicesprayworld.com/product/joker-extra-potent/" rel="dofollow">Joker extra potent blend</a>
18) <a href="https://k2spicesprayworld.com/product/green-k2-dark-bottle-spray-100ml/" rel="dofollow">Green k2 dark bottle spray 100ml</a>
19) <a href="https://k2spicesprayworld.com/product/k2-paper-wholesale/" rel="dofollow">K2 paper wholesale</a>
20) <a href="https://k2spicesprayworld.com/product/extra-extra-potent-herbal-empire-k2-sheets-5-a4-soaked-paper/" rel="dofollow">Extra extra potent herbal empire k2 sheets 5 A4 soaked paper </a>
21) <a href="https://k2spicesprayworld.com/product/angry-birds-liquid-incense/" rel="dofollow"> Angry birds liquid incense </a>
22) <a href="https://k2spicesprayworld.com/product/green-k2-dark-gallon/" rel="dofollow">Green k2 dark gallon</a>
23) <a href="https://k2spicesprayworld.com/product/buy-5f-akb48-c-liquid/" rel="dofollow">Buy 5F-AKB48 C liquid</a>
24) <a href="https://k2spicesprayworld.com/product/blue-caution-extra-extra-a4-soaked-sheet/" rel="dofollow">Blue Caution Extra Extra A4 Soaked Sheet</a>
25) <a href="https://k2spicesprayworld.com/product/herbal-empire-k2-on-letter/" rel="dofollow">Herbal empire k2 on letter</a>
26) <a href="https://k2spicesprayworld.com/product/cannabis-infused-rolling-papers/" rel="dofollow">Cannabis infused rolling papers</a>
27) <a href="https://k2spicesprayworld.com/product/1-gallon-liquid-k2/" rel="dofollow">1 gallon liquid k2</a>
28) <a href="https://k2spicesprayworld.com/product/k2-on-paper-a4-sheet/" rel="dofollow">K2 on paper A4 Sheet</a>
29) <a href="https://k2spicesprayworld.com/product/ DMT Vape pen" rel="dofollow"> DMT Vape pen</a>
30) <a href="https://k2spicesprayworld.com/product/buy-a-ovp-online/" rel="dofollow">Buy A-OVP Online</a>
31) <a href="https://k2spicesprayworld.com/product/4-meo-pv8/" rel="dofollow">4-MEO-PV8</a>
32) <a href="https://k2spicesprayworld.com/product/cannabis-infused-rolling-papers/" rel="dofollow">Cannabis Infused Rolling Papers</a>
33) <a href="https://k2spicesprayworld.com/product/3-cmc-powder-crystal-and-pellets/" rel="dofollow">3-CMC Powder, Crystal and Pellets</a>
34) <a href="https://k2spicesprayworld.com/product/alacabenzi-strain-mushrooms/" rel="dofollow">Alacabenzi Strain Mushrooms</a>
35) <a href="https://k2spicesprayworld.com/product/albino-a+-mushrooms/" rel="dofollow">Albino A+ Mushrooms</a>
36) <a href="https://k2spicesprayworld.com/product/magic-mushrooms/" rel="dofollow">Magic Mushrooms</a>
37) <a href="https://k2spicesprayworld.com/product/buy-changa-dmt-online/" rel="dofollow">Buy changa DMT Online</a>
38) <a href="https://k2spicesprayworld.com/product/4-aco-dmt/" rel="dofollow">4-ACO-DMT</a>
Here are some of our Whole Melt Extract products:
1. <a href="https://wholemeltextracts.online/product/blue-nerdz-hash-rosin/" rel="dofollow">Blue Nerdz Hash Rosin</a>
2. <a href="https://wholemeltextracts.online/product/candy-apple-fritter/" rel="dofollow">Candy Apple Fritter</a>
3. <a href="https://wholemeltextracts.online/product/whole-melt-extracts-50-50s/" rel="dofollow">Whole Melt Extracts 50/50s</a>
4. <a href="https://wholemeltextracts.online/product/whole-melt-extracts-badder/" rel="dofollow">Whole Melt Extracts Badder</a>
5. <a href="https://k2spicesprayworld.com/product/grand-daddy-purple-shatter/" rel="dofollow">Grand Daddy Purple Shatter</a>
Here are some of our Herbal Incense Products
i. <a href="https://herbalempire.online/product/24k-california-chronic/" rel="dofollow">24K california chronic</a>
ii. <a href="https://herbalempire.online/product/bizarro-10g-herbal-incense/" rel="dofollow">Bizzaro 10g herbal incense</a>
iii. <a href="https://herbalempire.online/product/black-lion-4g/" rel="dofollow">Black lion 4g</a>
iv. <a href="https://herbalempire.online/product/dead-man-walking-8g/" rel="dofollow">Dead man walking 8g</a>
v. <a href="https://herbalempire.online/product/diablo-k2-incense/" rel="dofollow">Diablo k2 incense</a>
Avatar
QPbmCRVM 12/02/2022 1:44 pm
555
Avatar
Lutz Donnerhacke 06/08/2018 4:36 pm
Die Software rennt nun schon seit ich davon berichtet produktiv. Keinen zusätzlichen RAM-Bedarf. Keine CPU Auffälligkeiten.

Und ja, man kann beliebig viele davon in Betrieb nehmen. Aktuell rennen hier sechs Instanzen pro VLAN.
Avatar
Arne 27/07/2018 11:29 am
Hallo Lutz,

sehr interessante/r Artikel.
Wir betreiben ein ähnliches Netz wie du es beschreibst und stehen vor ähnlichen Problemen.

Stellt der parpd dann nicht auch wieder einen single-point-of failure dar (lässt sich der proxy redundant aufbauen)?
Wie sind deine (langzeit-)Erfahrung mit der Software?
Avatar
Lutz Donnerhacke 11/03/2018 10:21 pm
Dieses Netz ist ein Layer2-Netz. Die CPE macht auf dem WAN-Bein stinknormales DHCP. Kein PPP(oE).
Avatar
Maik 10/03/2018 1:12 pm
Dem ganzen unterliegt ein Denkfehler anzunehmen der 1. Providerrouter aus Kundensicht (BRAS - Broadband Remote Access Server) würde sich wie ein Default-Router in einem Ethernet-Segment verhalten. Dieses ist aber nicht so! Vielmehr baut jeder Kunde mit seinem DSL-Router eine PPPoE-Verbindung, also eine Tunnel-Verbindung zum BRAS-Router auf und bekommt eine Subnetmaske von 255.255.255.255 zugewiesen, was bedeutet, es gibt gar keine Nachbarn im gleichen Subnetz, sondern nur einen einzigen Weg und zwar zum BRAS-Router! Verkehr unter Kunden ist also in jedem Fall problemlos möglich und bedarf keinem Lokal-Proxy-ARP.
Avatar
t 28/10/2017 8:15 pm
parpd.8.txt:
"The configuration is contains outmost options as well as a cache and an interface section."
Da fehlt etwas, oder das "is" ist zuviel.

Total 7 comments

Post a comment

Related content