iiii1 = None ooO0oooOO0 = lisp.lisp_get_local_rloc() if 71 - 71: I1Ii111.II111iiii if (ooO0oooOO0 == None): print("Cannot obtain a local address") Ii11Ii1I(Oo0oO0oo0oO00) exit(1) if 62 - 62: OoooooooOO.I11i oOOOoo00 = lisp.LISP_CTRL_PORT if 9 - 9: O0 % O0 - o0oOOo0O0Ooo if (ooO0oooOO0 != None and ooO0oooOO0.is_private_address() and "no-info" not in sys.argv): print "Possible NAT in path, sending Info-Request ... " if 51 - 51: I1IiiI.iIii1I11I1II1 - I1ii11iIi11i / O0 OOOoO00 = lisp.lisp_convert_4to6(i11iIIIIIi1.print_address_no_iid()) lisp.lisp_send_info_request(Oo0oO0oo0oO00, OOOoO00, lisp.LISP_CTRL_PORT, None) if 40 - 40: I1ii11iIi11i % I1IiiI.ooOoO0o.O0 * I1Ii111 if 4 - 4: Ii1I % oO0o * OoO0O00 if 100 - 100: I1Ii111 * OOooOOo + OOooOOo if 54 - 54: OoooooooOO + o0oOOo0O0Ooo - i1IIi % i11iIiiIii OoOooOOOO, i11iiII, I1iiiiI1iII, IiIi11i = lisp.lisp_receive( oO0oIIII, False) if 3 - 3: o0oOOo0O0Ooo % o0oOOo0O0Ooo if (i11iiII != ""): OoOOo0OOoO = lisp.lisp_control_header() if (OoOOo0OOoO.decode(IiIi11i) == None or OoOOo0OOoO.info_reply == False): i11iiII = "" if 83 - 83: II111iiii + I1Ii111 if 73 - 73: iII111i if 42 - 42:
global_address = None local_address = lisp.lisp_get_local_rloc() if (local_address == None): print("Cannot obtain a local address") lisp_lig_close_sockets(lisp_sockets) exit(1) #endif source_port = lisp.LISP_CTRL_PORT if (local_address != None and local_address.is_private_address() and "no-info" not in sys.argv): print "Possible NAT in path, sending Info-Request ... " dest = lisp.lisp_convert_4to6(mr.print_address_no_iid()) lisp.lisp_send_info_request(lisp_sockets, dest, lisp.LISP_CTRL_PORT, None) # # Wait 2 seconds for Info-Reply. # opcode, source, port, packet = lisp.lisp_receive(lisp_ephem_listen_socket, False) if (source != ""): header = lisp.lisp_control_header() if (header.decode(packet) == None or header.info_reply == False): source = "" #endif #endif #