Example #1
0
def lisp_rtr_process_trace_packet(lisp_socket):

    #
    # Read from listen socket for port 2434 and parse LISP-Trace packet.
    #
    opcode, source, port, packet = lisp.lisp_receive(lisp_socket, False)
    trace = lisp.lisp_trace()
    if (trace.decode(packet) == False): return

    #
    # Cache the translated information. Will use local addressing info to
    # find translated information in lisp_trace_append().
    #
    trace.rtr_cache_nat_trace(source, port)
Example #2
0
def O00(lisp_socket):
    if 32 - 32: iIii1I11I1II1 * IiII / Ii1I % IiII
    if 42 - 42: I1Ii111 + I1Ii111 * II111iiii
    if 78 - 78: OoooooooOO
    if 77 - 77: I1ii11iIi11i / i1IIi / Oo0Ooo % OOooOOo
    I1I1Iiii1, OO, IIIIii, oO0OOOO0 = lisp.lisp_receive(lisp_socket, False)
    i111i1 = lisp.lisp_trace()
    if (i111i1.decode(oO0OOOO0) == False): return
    if 99 - 99: I1IiiI + i1IIi + i11iIiiIii + Oo0Ooo % oO0o / I11i
    if 60 - 60: Ii1I * OoOoOO00 - i11iIiiIii % ooOoO0o
    if 52 - 52: I1ii11iIi11i % oO0o - i11iIiiIii
    if 30 - 30: iII111i / OoO0O00 + oO0o
    if 6 - 6: iII111i.I11i + Ii1I.I1Ii111
    i111i1.rtr_cache_nat_trace(OO, IIIIii)
    if 70 - 70: OoO0O00
    if 46 - 46: I11i - i1IIi
    if 46 - 46: I1Ii111 % Ii1I
    if 72 - 72: iIii1I11I1II1
    if 45 - 45: Oo0Ooo - o0oOOo0O0Ooo % I1Ii111
    if 38 - 38: I1Ii111 % OOooOOo - OoooooooOO
    if 87 - 87: OoO0O00 % I1IiiI