text: from scapy.all import *
  
  FINISHED = b'finished'
  
  def get_if():
      ifs = get_if_list()
      iface = None  # "h1-eth0"
      for i in get_if_list():
          if "eth0" in i:
              iface = i
              break
      if not iface:
          print("Cannot find eth0 interface")
          exit(1)
      return iface
  