<br><br><div class="gmail_quote">On Thu, Mar 27, 2008 at 5:17 PM, Gianluca Varenni <<a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div>
<div><font size="2">- Which kind of device are you using with pcap_send()?
</font></div>
<div><font size="2"></font> </div>
<div><font size="2">- You are talking about a modem. Are you trying to inject
packets over a modem connection?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">- Which kind of packets are you trying to inject?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">- When "the internet stops working" what happens exactly on
the network? Have you tried sniffing the network and see if your machine still
sends packets?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Have a nice day</font></div>
<div><font size="2">GV</font></div>
<div><font size="2"></font> </div></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="w32.chess@gmail.com" href="mailto:w32.chess@gmail.com" target="_blank">Leonardo
Barata</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org" target="_blank">winpcap-users@winpcap.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, March 27, 2008 9:22
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [Winpcap-users] Problems with
pcap_sendpacket() function</div>
<div><br></div>Hi,<br>I'm having problems with pcap_sendpacket() function.
When I repeatedly send packets with it, my internet stops working (It stops
being able to send packets). I then have to restart my computer so my internet
works again (sometimes I even have to reset my modem).<br><br>I'm using NVIDIA
nForce device to send the packets and my WinPcap version is 4.0.2 . My OS is
Windows XP SP2. <br>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>Winpcap-users
mailing
list<br><a href="mailto:Winpcap-users@winpcap.org" target="_blank">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
</blockquote></div>
<br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></blockquote><div><br>- I'm using pcap_sendpacket with NVIDIA nForce Networking Controller(onboard device), but I've also used it with SMZ EZ card 10/100/1000 (which connects my other pc to this one with a crossover cable). It always happens the same thing with any device I use.<br>
<br>- I don't know very well what you mean with "<font size="2">inject
packets over a modem connection", but what I'm doing is simply using pcap_sendpacket to send a packet I made(with ethernet, IP and tcp headers) to a remote IP address.<br><br>- I'm just "injecting" a simple TCP packet with SYN flag. I think the packet is not the problem, because when I send it to any server I can see the SYN/ACK response.<br>
<br>- Yes, I've already try to sniff when it happens. I receive packets from remote addresses(TCP AND UDP protocols mostly), but I can't send any packet(and it doesn't sniff any packets going out), not even to my other computer. <br>
<br>Regards,<br>Leonardo<br></font><br></div></div><br>