Skip to content

Commit

Permalink
Add pong-rst packet animation support and update packet legend
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinna Adhikari committed Feb 16, 2021
1 parent e52da09 commit 8f9d9c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ function getPacketColor(packetType){
break;
case 'PONG':
color = 'black';
break;
case 'PONG-RST':
color = 'silver'
}
return color;
}
Expand Down
4 changes: 3 additions & 1 deletion templates/temp_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ <h3 class="text-white-50 mx-auto mt-2 mb-5">This is a simulation project, implem
<li><span class="red"></span><abbr title="Dropped packet are lost in transmission">Drop Packets</abbr></li>
<li><span class="blue"></span><abbr title="In TCP, SYN-ACK packet is sent by server to notify client that connection is accepted.">Syn-Ack Packets</abbr></li>
<li><span class="yellow"></span><abbr title="In TCP, ACK packet is sent as acknowledgement notification">Ack Packets</abbr></li>
<li><span class="purple"></span><abbr title="In TCP, RST packet is sent by an end to notify an reset of connection. Reason of resetting could be complex.">RST Packets</abbr></li>
<li><span class="pink"></span><abbr title="Attacker uses this to probe the ddd filter to see which ports are open by waiting for a response from the client">Ping Packets</abbr></li>
<li><span class="black"></span><abbr title="Response from the client that informs attacker a specific port is open">Pong Packets</abbr></li>
<li><span class="silver"></span><abbr title="Packet that tells attacker that a port is not open at the ddd device">Pong-Rst Packets</abbr></li>
</ul>

<script type= "text/JavaScript">
Expand Down

0 comments on commit 8f9d9c4

Please sign in to comment.