I've been trying to create an ACKSYN packet to make it seem like the port is open but it's not working, this is the code I have so far
ip=IP(src=machine_self_ip, dst=pkt[IP].src, proto='tcp')
SYN=TCP(sport=pkt.payload.dport, dport=pkt.payload.sport, seq=1,ack=1, urgptr=0, flags="SA")
Then I send the packet but the port still appears closed. Am I missing something?
Thanks!