for example, 1 when I'm using some programs, like visiting websites using firefox if the webserver send my program some data, my program TCP stack will issue an ACK packet. Is it possible to intercept this ACK packet, modify it and then send it out
2 when a program receives some tcp data or tcp ack packet from network, is it possible to intercept these packets and then deliver them to the program TCP stack?
someone says Deep packet Inspection(DPI) is OK, is it true or not? DPI can be deployed in a PC like laptop? so What I'm trying to do is like to add a layer between the network and the TCP stack of a machine.