I think the original packets wasn't sent out because my LAN interface in the NAT Server device doesn't have any gateway attached...
But I'm not really sure... I'll try to sniff it later... On 5/2/06, Jack <[EMAIL PROTECTED]> wrote: > > Hello Widita, > > To my knowledge, Windows raw sockets let you capture packets > and create new packets, but I don't think you can change or > drop packets. Are you sure the original packets wasn't sent out? > > -- > Best regards, > Jack > > Tuesday, May 2, 2006, 8:34:30 AM, you wrote: > > > Right now i can receive any incoming packets, edit those which need to > be > > translated, and send it to the internet, but > > > when the reply came to my mapped port on the NAT machine, Windows > > automatically sends a TCP Packet containing RST flag to the replier... > > > > > On 5/2/06, Fastream Technologies <[EMAIL PROTECTED]> wrote: > >> > >> Hello, > >> > >> Is it really possible to build a NAT application with WinPcap/ICS? > Doesn't > >> it require a NDIS driver? Any comments? > >> > >> Regards, > >> > >> SubZero > >> > >> ----- Original Message ----- > >> From: "Widita Nugraha" <[EMAIL PROTECTED]> > >> To: <twsocket@elists.org> > >> Sent: Monday, May 01, 2006 8:10 PM > >> Subject: [twsocket] Requesting an Ephemeral Port > >> > >> > >> > Hello, > >> > I am building a NAT application using WinPCAP and I need to request > an > >> > ephemeral port to Windows.... > >> > > >> > Can anybody share me the code in order to request an ephemeral port? > >> > > >> > Right now, i've tried to translate the client's HTTP Syn Request to a > >> web > >> > server, > >> > the web server replied (SYN/ACK) to my External IP addressed NIC. > >> > But because the port used as sender port has not been registered to > >> > Windows, > >> > Winsock or whoever it is automatically send a RST reply to the web > >> > server... > >> > causing the connection ended... > >> > > >> > I think I need to make Windows ignore any data sent to the NAT mapped > >> > port... How can I do that, > >> > > >> > Thanks before... > >> > -- > >> > To unsubscribe or change your settings for TWSocket mailing list > >> > please goto http://www.elists.org/mailman/listinfo/twsocket > >> > Visit our website at http://www.overbyte.be > >> > >> -- > >> To unsubscribe or change your settings for TWSocket mailing list > >> please goto http://www.elists.org/mailman/listinfo/twsocket > >> Visit our website at http://www.overbyte.be > >> > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be