Home > other >  Python block TCP connection
Python block TCP connection

Time:04-09

Under the Linux environment, want to block a software process on the client and server heartbeat detection, the Python library any recommendations?
The actual environment has the following restrictions:
1, cannot use iptables,
2, I just want to block a user, and Linux is a multi-user, so can't simple ifdown eth0,

Now considering the socket or pypcap library, but they just can capture packets, not before filtering software process or discarded, seek advice

Not last, only hang the software process,

CodePudding user response:

Only block the heartbeat detection or blocking all communication with the server's bag?

CodePudding user response:

@ CKC only blocking the heart examination,
You have to hire?

CodePudding user response:

Hook solution to
  • Related