📄 authentication
字号:
struct drcom_authFor every UDP packet and every TCP connection, with the other end outside theISP network, we add authentication data.For UDP, the packet is prepended with this 16 byte data.For TCP, the first outgoing packet of every connection is preceded with this16 byte data.struct drcom_auth{ char drco[4]; u_int32_t servip; u_int16_t servport; u_int32_t hostip; u_int16_t hostport;} __attribute__ ((__packed__));drco is "Drco".the names servip, servport, hostip, hostport are just my inventions.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -