Short Version:
Does anyone know if there is a way to disable TCP/IP on an interface in Linux? Its easy enough on Windows...as all you have to do is uncheck the box under the interface settings...but not sure how in Linux...
***NOTE*** I do not want to disable the interface ('ifconfig eth0 down' will NOT work here)...I just don't want TCP/IP running
Long Version:
I am attempting to reprogram the functions of the eth0 interface, via Python script and Scapy (a raw packet crafting tool). The problem is, the Linux kernel is independent and remains unaware of my use of Scapy. Because of this, TCP/IP is interfering with some of the stuff I'm trying to do. For example...if I send a SYN packet to a remote TCP port via Scapy, that service then replies with a SYN-ACK packet (as it should). But then, when my system recieves the SYN-ACK packet, because the Kernel is unaware that I sent the SYN packet with Scapy, it sees the SYN-ACK packet as an unsolicited response and replies automatically with an RST packet. <-- This is what I'm trying to avoid.
Any help is greatly appreciated!!!