Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
aatlasis committed Aug 3, 2018
1 parent 1e65caa commit 524abe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/chiron_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ def __call__(self):
return pkt

#REQUIRED When loopback interface is used. Check if we can get rid off it - Use a pseudo interface instead of loopback?
def check_if_double_tcp_packet_in_ipv4_loopback(source_port,destination_port, seq, ack):
'''def check_if_double_tcp_packet_in_ipv4_loopback(source_port,destination_port, seq, ack):
if [source_port,destination_port,seq,ack] in used_tcp_id:
used_tcp_id.remove([source_port,destination_port,seq,ack])
return False
else:
used_tcp_id.append([source_port,destination_port,seq,ack])
return True

'''
#Sniff in IPv6 Interface, send to IPv4
class IPv6_to_IPv4_Worker() :
def __init__(self,ipv6filter,ipv4_receiver,ipv4_sender, interface):
Expand Down

0 comments on commit 524abe1

Please sign in to comment.