-
公开(公告)号:US20190199635A1
公开(公告)日:2019-06-27
申请号:US16330510
申请日:2017-08-01
发明人: Yuanming LIN
IPC分类号: H04L12/803 , H04L29/08 , H04L12/801 , H04L29/06 , H04W28/14
CPC分类号: H04L47/122 , H04L47/193 , H04L47/20 , H04L63/0884 , H04L67/28 , H04L67/2814 , H04L67/327 , H04W28/10 , H04W28/14
摘要: The present disclosure provides a method and a system for redirecting service application traffic. The method includes traversing dlopen function and connect function in all dynamic libraries initially loaded by a service application module; mounting the dlopen function and the connect function, and replacing the dlopen function and the connect function with a self-defined mydlopen function and a self-defined myconnect function, respectively. Features of the mydlopen function include loading a new dynamic library, mounting the dlopen function and the connect function in the new dynamic library, and replacing the dlopen function and the connect function with the mydlopen function and the myconnect function, respectively. Features of the myconnect function include redirecting non-local traffic of the service application module to a proxy service module, receiving, by the proxy service module, the non-local traffic, and redirecting, by the proxy service module, the non-local traffic.