Linux Http-Lua-Mode MsgPacknetwork data
程序员文章站
2022-06-16 08:34:54
...
Location:
clients -----|----> proxy gate -----|----> gserver
||nginx---------------->http-lua-mode nginx-net.api ===> URL 、POST/GET、Socket and so on.....(role by web server)
||network data =============================================================================
|| Time255(60秒频率生成key) ==>gen and check the KEY, use 1 byte for check in the pack
|| msgpack:packdata = msgpack(rspData);packdata = msgpack(#packdata) .. packdata
|| xxtea:encrypt ---(packdta)---> encryStr(binary data)
|| package :Time255 + ||msgpack way(rspData)
||xxtea [ msgpack data ] =====>Gen Package
======================================================================
======================================================================
|| Time255 = nginx api.get() ----|---> string.sub (reqData, 1 , 1)(Time255 Len :1 byte)
|| already xxtea and msgpack way data
||
|| msgpack way data ||
|| msgpack(#packdata) .. packdata ||
(totalLen, rspData)------------------>rspData=========>Unpack Data
Important :Gen encrypt KEY by Time255,time 60s change and KEY WORDS
KEY WORDS:
3 . . ? . . x . . # . . ` . . _ . . - . .5 . . v
! . . \ . . | . . } . .&. . 0
* . . / . . + . . b . . i . . |
q . . ( . . k . . t . .o . . p
m . . = . . $ . . { . .u . .h
clients -----|----> proxy gate -----|----> gserver
||nginx---------------->http-lua-mode nginx-net.api ===> URL 、POST/GET、Socket and so on.....(role by web server)
||network data =============================================================================
|| Time255(60秒频率生成key) ==>gen and check the KEY, use 1 byte for check in the pack
|| msgpack:packdata = msgpack(rspData);packdata = msgpack(#packdata) .. packdata
|| xxtea:encrypt ---(packdta)---> encryStr(binary data)
|| package :Time255 + ||msgpack way(rspData)
||xxtea [ msgpack data ] =====>Gen Package
======================================================================
======================================================================
|| Time255 = nginx api.get() ----|---> string.sub (reqData, 1 , 1)(Time255 Len :1 byte)
|| already xxtea and msgpack way data
||
|| msgpack way data ||
|| msgpack(#packdata) .. packdata ||
(totalLen, rspData)------------------>rspData=========>Unpack Data
Important :Gen encrypt KEY by Time255,time 60s change and KEY WORDS
KEY WORDS:
3 . . ? . . x . . # . . ` . . _ . . - . .5 . . v
! . . \ . . | . . } . .&. . 0
* . . / . . + . . b . . i . . |
q . . ( . . k . . t . .o . . p
m . . = . . $ . . { . .u . .h
未经允许,请勿转载
版权声明:本文为博主原创文章,未经博主允许不得转载。
以上就介绍了Linux Http-Lua-Mode MsgPacknetwork data,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
相关文章
相关视频
上一篇: 多个域名绑定一个空间互不影响
下一篇: 【PHP动态调用方法】带参数解决思路
推荐阅读
-
Linux 中/data 数据分区磁盘空间不足,如何挂载磁盘。
-
Linux Http-Lua-Mode MsgPacknetwork data
-
[Linux] [Python] MemoryError: Unable to allocate array with shape (x, x) and data type float64
-
Linux下Data Guard 无法应用归档日志的处理过程
-
Linux Http-Lua-Mode MsgPacknetwork data
-
mysql-Linux mono 添加 Mysql.Data.dll 文件,无法找到命名空间。
-
mysql-Linux mono 添加 Mysql.Data.dll 文件,无法找到命名空间。
-
#step by step# Linux command line and explanation for NGS data
-
linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2
-
linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2