Linux TCP/IP Stack sends bad packets
I am writing a raw-sockets program to connect with a remote computer on a remote port. Here is the source. Note: it will run only on *nix with root priveleges.
The problem is that when I send a SYN packet to the remote host, the remote host sends back a SYN | ACK packet. Then the Linux TCP/IP stack says "Hey, we don't have a connection on port 23, lets send a RST packet."
It does, and this screws up the EDIT:connection.
Does anyone know how to get my OS not to send those stupid RST packets?
Thanks.
[edited by - nate0326 on December 18, 2003 1:16:49 AM]
couldn''t look at your source, is the link still valid? Otherwise there''s no way to know what SYN options you are including. So you are trying to connect to the telnet port (23)? Your telnetd is up and running, right? Anyways, post a link to your code if you still have trouble.
Fingh
Fingh
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement