Skip to content

Commit 3b9f406

Browse files
committed
wireshark looks fixed but reinjection classification is still bad
1 parent 459b03e commit 3b9f406

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

mptcpanalyzer/cli.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -578,17 +578,19 @@ def do_qualify_reinjections(self, line):
578578
)
579579

580580
print("debugging ")
581-
print(" dataframe size = %d" % len(df))
581+
print("dataframe size = %d" % len(df))
582582

583583
# print(df.columns)
584-
print(df[['owd']].head())
584+
# print(df[['owd']].head())
585585
# print("MERGED_DF", merged_df[TCP_DEBUG_FIELDS].head(20))
586586
# print(df[mpdata.MPTCP_DEBUG_FIELDS].head(20))
587587

588588
# TODO for debug
589589
# todo we need to add
590590
# res['mptcpdest'] = dest.name
591591

592+
# TODO keep only the ones with "merge_" : "both" ?
593+
592594
# reinjections = df[['tcpstream', "reinjection_of"]].dropna(axis=0, )
593595
# reinjected_in_receiver
594596
"""
@@ -609,6 +611,7 @@ def do_qualify_reinjections(self, line):
609611

610612
receiver_df = df[ df.mptcpdest == destination]
611613
sender_df = df[ df.mptcpdest == swap_role(destination)]
614+
# sender_df = df[ df.mptcpdest == swap_role(destination)]
612615

613616
print(sender_df[ sender_df.reinjected_in.notna() ][["packetid", "reinjected_in"]])
614617

@@ -700,6 +703,8 @@ def do_qualify_reinjections(self, line):
700703
original_arrival = original_packet[ _receiver("abstime") ]
701704
))
702705

706+
if
707+
703708
# # set it to the maximum possible value
704709
# min_rcvtime = sys.maxsize
705710

0 commit comments

Comments
 (0)