0

Angular 的 HTTPClient 或任何等效的 Angular 是否能够检索用于进行 REST 数据检索调用的 TCP 连接的 source_address?

参考 https://groups.google.com/g/google-chrome-developer-tools/c/OBQKVhaGE-s

399777: SOCKET
ssl/xxxxx.com:48443
Start Time: 2021-05-29 22:25:41.334

t=116054 [st=    0] +SOCKET_ALIVE  [dt=12298+]
                     --> source_dependency = 399776 (SSL_CONNECT_JOB)
t=116054 [st=    0]   +TCP_CONNECT  [dt=4]
                       --> address_list = ["10.1.1.218:48443"]
                       --> canonical_name = ""
t=116054 [st=    0]      TCP_CONNECT_ATTEMPT  [dt=4]
                         --> address = "10.1.1.218:48443"
t=116058 [st=    4]   -TCP_CONNECT
                       --> source_address = "10.1.2.116:62158"
t=116058 [st=    4]   +SSL_CONNECT  [dt=3]
t=116058 [st=    4]      SSL_HANDSHAKE_MESSAGE_SENT
                         --> bytes =

在此,我们想在程序中捕获 source_address = "10.1.2.116:62158" 和 address_list = ["10.1.1.218:48443"] 以便我们记录以供审核。

大多数情况下,我们正在尝试捕获源地址和目标地址(包括端口号)的流关闭失败,并对其进行改进。

谢谢, Saravanan Thangavel

4

0 回答 0