示例#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
示例#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'])
示例#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
示例#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'])