随笔分类 - TCP/IP
摘要:Retransmission TCP sets a timer when it sends data, and if the data is not acknowledged when the timer expires, a timeout or timer-based retransmissio
阅读全文
摘要:Reset In general, a reset is sent by TCP whenever a segment arrives that does not appear to be correct for the referenced connection. The reset segmen
阅读全文
摘要:Timestamp option http://www.networksorcery.com/enp/protocol/tcp/option008.htm Timestamp Value (TSval). 32 bits. This field contains the current value
阅读全文
摘要:Headers Connection Management State Tansition Diagram Sequence Diagram Normal Simultaneous Open Simultaneous Close Half Close Normal with State Exampl
阅读全文
摘要:Docs and Articles Manpage of TCPDUMP Manpage of PCAP-FILTER Examples of using tcpdump on the command line tcpdump命令详解 Capture of tcp
阅读全文
摘要:Do some experiment about UDP by Python3 and netstat. Code # coding: utf-8 import socket from IPython import embed def main(): sock = socket.socket(soc
阅读全文
摘要:Find max packet size # coding: utf-8 import socket def find_max_udp_packet_size(): sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) max_sz = 0
阅读全文
摘要:UDP headers Headers for computing checksum The checksum computation is similar to the Internet checksum computation. #include <bits/stdc++.h> #define
阅读全文
摘要:From: TCP/IP Illustrated, Volume 1: The Protocols. IHL The Internet Header Length (IHL) field is the number of 32-bit words in the IPv4 header, includ
阅读全文
摘要:ifconfig https://linux.die.net/man/8/ifconfig Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up
阅读全文
摘要:To do an experiment, first capture an IP packet, as we can see the checksum is 0xCAD7. Then we set the checksum field to 0, and calculate the checksum
阅读全文

浙公网安备 33010602011771号