if 98 - 98: I11i % i11iIiiIii % ooOoO0o + Ii1I if 78 - 78: I1ii11iIi11i % oO0o / iII111i - iIii1I11I1II1 if 69 - 69: I1Ii111 if 11 - 11: I1IiiI if 16 - 16: Ii1I + IiII * O0 % i1IIi.I1IiiI if (oO0o0.source_eid.is_ipv6() and iiII1i1 != ""): oO0o0.signature_eid = oO0o0.source_eid oO0o0.privkey_filename = "./lisp-lig.pem" if 67 - 67: OoooooooOO / I1IiiI * Ii1I + I11i if 65 - 65: OoooooooOO - I1ii11iIi11i / ooOoO0o / II111iiii / i1IIi if 71 - 71: I1Ii111 + Ii1I if 28 - 28: OOooOOo if 38 - 38: ooOoO0o % II111iiii % I11i / OoO0O00 + OoOoOO00 / i1IIi OoOOo0OOoO = lisp.lisp_control_header() ooO0O00Oo0o = lisp.lisp_map_reply() OOO = lisp.lisp_map_notify(None) if (i11iIIIIIi1.find(":") != -1): iI1Ii11iIiI1 = lisp.LISP_AFI_IPV6 OO0Oooo0oOO0O = 128 elif (i11iIIIIIi1.find(".") != -1): iI1Ii11iIiI1 = lisp.LISP_AFI_IPV4 OO0Oooo0oOO0O = 32 else: print("Invalid Map-Resolver address {}".format(i11iIIIIIi1)) Ii11Ii1I(Oo0oO0oo0oO00) exit(1) if 73 - 73: OoooooooOO * OoooooooOO * ooOoO0o * OoOoOO00 + ooOoO0o * I1Ii111 i11iIIIIIi1 = lisp.lisp_address(iI1Ii11iIiI1, i11iIIIIIi1, OO0Oooo0oOO0O, 0) if 88 - 88: I1ii11iIi11i if 11 - 11: ooOoO0o / OoOoOO00 - IiII * OoooooooOO + OoooooooOO.OoOoOO00
# # Map-Requests can be signed and validated on the map-resolver. Supplying # a file name for a private key file will add a signature to the Map-Request. # lisp_map_request.encode() will check to see if the file exists. # if (map_request.source_eid.is_ipv6() and source_eid != ""): map_request.signature_eid = map_request.source_eid map_request.privkey_filename = "./lisp-lig.pem" #endif # # Build header to parse Map-Reply. # header = lisp.lisp_control_header() map_reply = lisp.lisp_map_reply() map_notify = lisp.lisp_map_notify(None) if (mr.find(":") != -1): afi = lisp.LISP_AFI_IPV6 ml = 128 elif (mr.find(".") != -1): afi = lisp.LISP_AFI_IPV4 ml = 32 else: print("Invalid Map-Resolver address {}".format(mr)) lisp_lig_close_sockets(lisp_sockets) exit(1) #endif mr = lisp.lisp_address(afi, mr, ml, 0) # # If we are behind a NAT, send a Info-Request to the DDT-node, wait for