Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Deny of service in case of multicast network temporary problems  #17

@kivarun

Description

@kivarun

I am using vrrpd on virtual guests inside Hyper-V cloud. Some times, I don't know the reason why, hypervisor drops multicast packets for small periods of time 3-10 seconds. After that we lost connections between VIP IP and clients outside his subnet. I did small investigation and found the reason - in case of multicast network problem bacup node become master, after restoring multicast connections between nodes, secondary node returns to backup state and nobody revert ARP table back on routers.

Steps to reproduce:

  1. Configure two nodes of VRRP cluster.
  2. Drop multicast traffic on backup node. iptables -A INPUT -d 224.0.0.18 -j DROP
    Backup node lost the master, become new master end send "magic packet" to rewrite ARP table on router
  3. Allow multicast traffic on backup node. iptables -D INPUT -d 224.0.0.18 -j DROP
    Backup node found the master, switch to backup state and stop serve the VIP IP.
    Routers still sending traffic to backup node due ARP table

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions