Client and server containers code
Client main code
Client icmp plugin
Client tcp plugin
- class clientservercode.clientplugins.tcp.tcp(logger)
Bases:
object
- ERROR = 1
- ERR_EXCEPTION = 255
- ERR_TIMEOUT = 2
- LAYER = 3
- OK = 0
- PRIORITY = 1
- PROTOCOL_NUMBER = 6
- get_service(service, numericformat=True)
- run(proto, srcip, ip, srcport, dstport, searchfor)
Send a tcp data and wait for response
Client udp plugin
Server main code
Server icmp plugin
Server tcp plugin
- class clientservercode.serverplugins.tcp.tcp(logger)
Bases:
object
- ERROR = 1
- ERR_EXCEPTION = 255
- ERR_TIMEOUT = 2
- LAYER = 3
- OK = 0
- PRIORITY = 1
- PROTOCOL_NUMBER = 6
- get_service(service, numericformat=True)
- run(proto, srcip, ip, srcport, dstport, searchfor)
Waits for a tcp data and sends a response