SlideShare a Scribd company logo
PROXY_ARP
Marian HackMan Marinov <mm@1h.com>
Normal network
Add a router to the bunch
Proxy arp
With Containers/VM
Host MachineHost Machine
Proxy arp
Proxy arp
Proxy arp
Proxy arp
Why not use OpenVswitch, brctl or even MACVLAN
● Linux bridge is limited to around 200Mbit/s
● OpenVswitch eats a lot of RAM and CPU. When
you receive DDoS your whole system goes down
● both OpenVswitch and MACVLAN do not allow
you to use iptables/ebtables and leak broadcasts
proxy_arp issues
● stealing MACs of neighboring machines
– arptables helps with that
– static ARP entries speedup the responses and also
help with the security
● requires static routing for each container/VM
– but you can solve that with BIRD
● gratuitous and unsolicited ARP requests simply
don't work
– that is why I wrote arpsniff:
https://github.com/Kyup-com/arpsniff
# arping -I eth0 -U 192.168.0.10
does not work :(
# arping -I eth0 -A 192.168.0.10
does not work :(
Solution - arp stealing
# arptables -P OUT DROP
# arptables -I OUT -j ACCEPT -o eth0 
-z XX:XX:XX.. -s 192.168.0.100
# arptables -I OUT -j ACCEPT -o eth0 
-z XX:XX:XX.. -s 192.168.0.10
# arptables -I OUT -j ACCEPT -o veth0
THANK YOUUUUTHANK YOUUUU
Marian HackMan Marinov <mm@1h.com>

More Related Content

ODP
Linux Kernel Crashdump
PDF
Kernel crashdump
PDF
Debugging linux kernel tools and techniques
ODP
Debugging linux
PDF
Killing any security product … using a Mimikatz undocumented feature
PDF
Reverse engineering Swisscom's Centro Grande Modem
ODP
Advanced Diagnostics 2
Linux Kernel Crashdump
Kernel crashdump
Debugging linux kernel tools and techniques
Debugging linux
Killing any security product … using a Mimikatz undocumented feature
Reverse engineering Swisscom's Centro Grande Modem
Advanced Diagnostics 2

What's hot (20)

PPTX
Creating "Secure" PHP applications, Part 2, Server Hardening
PDF
Kernel Recipes 2015 - Kernel dump analysis
PDF
Hacking the swisscom modem
PPTX
Analisis_avanzado_vmware
PPTX
Advanced Root Cause Analysis
PDF
x86_64 Hardware Deep dive
ODP
Linux kernel debugging(ODP format)
PDF
C&C Botnet Factory
PDF
App secforum2014 andrivet-cplusplus11-metaprogramming_applied_to_software_obf...
PDF
Hacking cable modems the later years
PDF
Debugging 2013- Jesper Brouer
PDF
Tegra 186のu-boot & Linux
PDF
Davide Berardi - Linux hardening and security measures against Memory corruption
PDF
SSH: Seguranca no Acesso Remoto
PDF
Spider Setup with AWS/sandbox
PDF
Honeypots: Visão Geral
PDF
Debugging Ruby
PDF
Debugging Ruby Systems
PDF
44CON London - Attacking VxWorks: from Stone Age to Interstellar
PDF
Linux Tracing Superpowers by Eugene Pirogov
Creating "Secure" PHP applications, Part 2, Server Hardening
Kernel Recipes 2015 - Kernel dump analysis
Hacking the swisscom modem
Analisis_avanzado_vmware
Advanced Root Cause Analysis
x86_64 Hardware Deep dive
Linux kernel debugging(ODP format)
C&C Botnet Factory
App secforum2014 andrivet-cplusplus11-metaprogramming_applied_to_software_obf...
Hacking cable modems the later years
Debugging 2013- Jesper Brouer
Tegra 186のu-boot & Linux
Davide Berardi - Linux hardening and security measures against Memory corruption
SSH: Seguranca no Acesso Remoto
Spider Setup with AWS/sandbox
Honeypots: Visão Geral
Debugging Ruby
Debugging Ruby Systems
44CON London - Attacking VxWorks: from Stone Age to Interstellar
Linux Tracing Superpowers by Eugene Pirogov
Ad

Similar to Proxy arp (20)

ODP
Securing the network for VMs or Containers
PDF
Layer2&arp
PDF
WordPress Performance & Scalability
PPTX
EMEA Airheads - Aruba Remote Access Point (RAP) Troubleshooting
PPTX
Power vc for powervm deep dive tips &amp; tricks
PDF
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
PDF
Implementing an IPv6 Enabled Environment for a Public Cloud Tenant
PDF
Nova HA
PDF
IPv6 Council: IPv6 on your servers; fun or frightening?
PDF
IPv6 on your servers; fun or frightening? - Swiss IPv6 Council meeting
PDF
Your Inner Sysadmin - LonestarPHP 2015
PDF
Installation of pfSense on Soekris 6501
PDF
Installation of pfSense on Soekris 6501
PDF
Xen_and_Rails_deployment
PDF
Keeping your rack cool with one "/IP route rule"
PDF
Keeping your rack cool
PPTX
IPv6 Segment Routing : an end-to-end solution ?
PDF
Run Your Own 6LoWPAN Based IoT Network
DOCX
©LWTAOB© 2013 Cisco andLab – O.docx
PDF
Deployment with Ruby on Rails
Securing the network for VMs or Containers
Layer2&arp
WordPress Performance & Scalability
EMEA Airheads - Aruba Remote Access Point (RAP) Troubleshooting
Power vc for powervm deep dive tips &amp; tricks
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
Implementing an IPv6 Enabled Environment for a Public Cloud Tenant
Nova HA
IPv6 Council: IPv6 on your servers; fun or frightening?
IPv6 on your servers; fun or frightening? - Swiss IPv6 Council meeting
Your Inner Sysadmin - LonestarPHP 2015
Installation of pfSense on Soekris 6501
Installation of pfSense on Soekris 6501
Xen_and_Rails_deployment
Keeping your rack cool with one "/IP route rule"
Keeping your rack cool
IPv6 Segment Routing : an end-to-end solution ?
Run Your Own 6LoWPAN Based IoT Network
©LWTAOB© 2013 Cisco andLab – O.docx
Deployment with Ruby on Rails
Ad

More from Marian Marinov (20)

PDF
How to start and then move forward in IT
PDF
Thinking about highly-available systems and their setup
PDF
Understanding your memory usage under Linux
PDF
How to implement PassKeys in your application
PDF
Dev.bg DevOps March 2024 Monitoring & Logging
PDF
Basic presentation of cryptography mechanisms
PDF
Microservices: Benefits, drawbacks and are they for me?
PDF
Introduction and replication to DragonflyDB
PDF
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
PDF
How to successfully migrate to DevOps .pdf
PDF
How to survive in the work from home era
PDF
Managing sysadmins
PDF
Improve your storage with bcachefs
PDF
Control your service resources with systemd
PDF
Comparison of-foss-distributed-storage
PDF
Защо и как да обогатяваме знанията си?
PDF
Securing your MySQL server
PDF
Sysadmin vs. dev ops
PDF
DoS and DDoS mitigations with eBPF, XDP and DPDK
PDF
Challenges with high density networks
How to start and then move forward in IT
Thinking about highly-available systems and their setup
Understanding your memory usage under Linux
How to implement PassKeys in your application
Dev.bg DevOps March 2024 Monitoring & Logging
Basic presentation of cryptography mechanisms
Microservices: Benefits, drawbacks and are they for me?
Introduction and replication to DragonflyDB
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
How to successfully migrate to DevOps .pdf
How to survive in the work from home era
Managing sysadmins
Improve your storage with bcachefs
Control your service resources with systemd
Comparison of-foss-distributed-storage
Защо и как да обогатяваме знанията си?
Securing your MySQL server
Sysadmin vs. dev ops
DoS and DDoS mitigations with eBPF, XDP and DPDK
Challenges with high density networks

Recently uploaded (20)

PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
PPT on Performance Review to get promotions
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Sustainable Sites - Green Building Construction
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Construction Project Organization Group 2.pptx
PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Model Code of Practice - Construction Work - 21102022 .pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT on Performance Review to get promotions
Lecture Notes Electrical Wiring System Components
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Sustainable Sites - Green Building Construction
Arduino robotics embedded978-1-4302-3184-4.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Foundation to blockchain - A guide to Blockchain Tech
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Construction Project Organization Group 2.pptx
Project quality management in manufacturing
composite construction of structures.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Proxy arp

  • 3. Add a router to the bunch
  • 10. Why not use OpenVswitch, brctl or even MACVLAN ● Linux bridge is limited to around 200Mbit/s ● OpenVswitch eats a lot of RAM and CPU. When you receive DDoS your whole system goes down ● both OpenVswitch and MACVLAN do not allow you to use iptables/ebtables and leak broadcasts
  • 11. proxy_arp issues ● stealing MACs of neighboring machines – arptables helps with that – static ARP entries speedup the responses and also help with the security ● requires static routing for each container/VM – but you can solve that with BIRD ● gratuitous and unsolicited ARP requests simply don't work – that is why I wrote arpsniff: https://github.com/Kyup-com/arpsniff
  • 12. # arping -I eth0 -U 192.168.0.10 does not work :( # arping -I eth0 -A 192.168.0.10 does not work :(
  • 13. Solution - arp stealing # arptables -P OUT DROP # arptables -I OUT -j ACCEPT -o eth0 -z XX:XX:XX.. -s 192.168.0.100 # arptables -I OUT -j ACCEPT -o eth0 -z XX:XX:XX.. -s 192.168.0.10 # arptables -I OUT -j ACCEPT -o veth0
  • 14. THANK YOUUUUTHANK YOUUUU Marian HackMan Marinov <mm@1h.com>