Skip to content

Commit

Permalink
fix: Temporarily revert ebtables rules to reduce frame broadcasting
Browse files Browse the repository at this point in the history
  • Loading branch information
pentestiing committed Nov 29, 2023
1 parent 516429d commit b7edf50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def add_to_batman(self, client_mac):
add_interface_to_batman(interface_to_add=self.macsec_obj.get_macsec_interface_name(client_mac), batman_interface=self.batman_interface)
elif self.level == "upper":
add_interface_to_bridge(interface_to_add=self.macsec_obj.get_macsec_interface_name(client_mac), bridge_interface=self.bridge_interface)
setup_ebtables_macsec(interface=self.macsec_obj.get_macsec_interface_name(client_mac), mac=client_mac)
# setup_ebtables_macsec(interface=self.macsec_obj.get_macsec_interface_name(client_mac), mac=client_mac)

def setup_batman(self):
# Wait till a macsec interface is setup and added to batman before setting up batman interface
Expand Down Expand Up @@ -200,4 +200,4 @@ def start(self):
def stop(self):
# Use this method to stop the periodic sender and other threads
self.stop_event.set()
self.sender_thread.join()
self.sender_thread.join()

0 comments on commit b7edf50

Please sign in to comment.