Exemplo n.º 1
0
def manage_host(info):
    #log.addFilter(ConnLogFilter())
    sleep(
        5
    )  # prevent immediate waking after registration by backlogged in-flight ARP/TCP requests
    arp.handle(info['othermac'], info['addresses'], info['mymac'],
               info['myif'])  #+1 Thread.start() #handle grat-arps first
    tcp.handle(info['othermac'], info['addresses'],
               info['myif'])  #+1 Thread.start() #then L3 reqs
    mdns.handle(info['othermac'], info['records'])  #advertise last
Exemplo n.º 2
0
def manage_host(info):
    mdns.handle(info['othermac'], info['records'])
    arp.handle(info['othermac'], info['addresses'], info['mymac'], info['myif'])
    tcp.handle(info['othermac'], info['addresses'], info['myif'])
Exemplo n.º 3
0
def manage_host(info):
    #log.addFilter(ConnLogFilter())
    sleep(5) # prevent immediate waking after registration by backlogged in-flight ARP/TCP requests 
    arp.handle(info['othermac'], info['addresses'], info['mymac'], info['myif']) #+1 Thread.start() #handle grat-arps first
    tcp.handle(info['othermac'], info['addresses'], info['myif']) #+1 Thread.start() #then L3 reqs
    mdns.handle(info['othermac'], info['records']) #advertise last
Exemplo n.º 4
0
def manage_host(info):
    mdns.handle(info['othermac'], info['records'])
    arp.handle(info['othermac'], info['addresses'], info['mymac'],
               info['myif'])
    tcp.handle(info['othermac'], info['addresses'], info['myif'])