1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TCP Flagの16進数表記

Last updated at Posted at 2019-03-06

wiresharkでパケット解析する分にはGUIならすぐわかるが
CUIでしか解析できない場合にtsharkを使用しなかればならない場合がある。(ほとんどないかも。。。)

tsharkのオプション -e で tcp.flagsを指定している時に
TCP Flagが16進数で調べるに手間取ったのでまとめ。

0x00 NULL
0x01 FIN
0x02 SYN
0x04 RST
0x10 ACK
0x20 URG

各パケットの詳しい中身は以下のサイトが参考になりました。
https://www.wdic.org/d/COMM/PROT/LAYER/34/TCPIP/TCP

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?