TCP
TCP/IP のプロトコル番号6
下位 IPv4/IPv6/ICMP
TCPv4
TCPv6
に分けるかも
RFC 9293 Transmission Control Protocol (TCP)
https://tex2e.github.io/rfc-translater/html/rfc9293.html
https://zenn.dev/moatdrive/articles/rfc9293-tcpm-rfc793bis-part1
https://zenn.dev/moatdrive/articles/rfc9293-tcpm-rfc793bis-part2
https://asnokaze.hatenablog.com/entry/2022/04/11/010234
https://www.toyo.co.jp/ict/casestudy/detail/id=42427
RFC 6691 TCP Options and Maximum Segment Size (MSS) → 9293
https://tex2e.github.io/rfc-translater/html/rfc6691.html
RFC 6528 Defending against Sequence Number Attacks → 9293
RFC 6429 TCP Sender Clarification for Persist Condition → 9293
RFC 6093 On the Implementation of the TCP Urgent Mechanism → 9293
RFC 2873 TCP Processing of the IPv4 Precedence Field → 9293
https://tex2e.github.io/rfc-translater/html/rfc2873.html
RFC 2385 → Update 6691
RFC 1948 Defending Against Sequence Number Attacks → 6528
RFC 1122 インターネットホストの要件: 通信レイヤー RFC 1123
https://jprs.jp/tech/material/rfc/RFC1122-ja.txt
RFC 879 The TCP Maximum Segment Size and Related Topics → 9293
旧 RFC 793 TRANSMISSION CONTROL PROTOCOL → 9293
https://www5d.biglobe.ne.jp/stssk/rfc/rfc793j.html
Socket という形で通信をシリアル接続っぽくする
IPv4用とIPv6用があるが、使い方はほぼ同じ
接続するとセッションという形でIPアドレスとポート番号を送信者側、受信者側でそれぞれ持つ
基本セット
AのIP
Aのport
BのIP
Bのport
AのIP、portで複数相手のIP, portと通信することも可能
AとB双方同じ接続は複数維持できないので複数接続する場合は接続する側のportを変更するのが一般的
データにはパケット番号も振られ、抜けや順番の前後のないように管理される
OSI参照モデル
上?の階層
20 / 21 FTP
22 SSH
23 TELNET
25 SMTP
53 DNS
80 / 443 HTTP
110 POP3
554 / 322 RTSP
などいろいろ
アプリケーションで行うあんごう
SSL (廃止)
TLS
下?の階層
IPv4
IPv6