[Winpcap-users] packet sending on win7
Mark Pizzolato - WinPCap-Users
winpcap-users-20040408 at subscriptions.pizzolato.net
Thu Jul 1 12:31:10 PDT 2010
Gianluca is trying to be nice and get you to "walk before you run".
This will let you realize that the issues you may be having are either
due to something in winpcap or something in the network stack or
something in your code.
If you can successfully talk on a direct wire, then you know something
you don't know now.
If there is nothing wrong with your code then things should work on a
direct wire. Prove that to yourself and to us out here in the peanut
gallery.
Once that works, you are still faced with two different issues:
1) Talking out the modem.
2) Talking across the Wifi link.
Each are different problems with different reasons why they may or may
not work.
If you take baby steps you'll learn how/why you may be tripping yourself
up.
Good Luck.
- Mark Pizzolato
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of inter inter
Sent: Thursday, July 01, 2010 12:17 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] packet sending on win7
No, i dont have connection pc2pc, its not important actually.
my internet connection work via pppoe, modem is in bridge mode.
but it doesnt matter too.
2010/7/1 Gianluca Varenni <gianluca.varenni at cacetech.com>
What I asked is a direct connection between the two computers, not
between the computer and the modem.
BTW, are you sure it's a DSL modem and not a DSL router?
Have a nice day
GV
From: inter inter <mailto:intercepter.mail at gmail.com>
Sent: Thursday, July 01, 2010 10:53 AM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] packet sending on win7
i already have that kind of connection.
win7 <-ethernet_cable-> adsl_modem
i can ping modem from cmd and i get reply, but when i send packet myself
i dont get reply, i tried to send arp request and didn't get anything
back.
the deal is that the packets do not reach the physical link. something
between winpcap -> ... -> physical link blocks it, some security filter,
network driver or whatever else...and i want to know exactly where is
the problem.
anyone ever tried to inject packets on win7?
to avoid more questions:
all network preferences are ok, no physical problems.
the code is written right, it works on XP.
2010/7/1 Gianluca Varenni <gianluca.varenni at cacetech.com>
Can you please try connecting the two computers directly with an
ethernet cable and see what happens?
Have a nice day
GV
From: inter inter <mailto:intercepter.mail at gmail.com>
Sent: Thursday, July 01, 2010 9:23 AM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] packet sending on win7
I can not send packets from win7, it has 2 network interfaces, ethernet
with direct connection to adsl modem, and wifi connection to notebook.
The packets i send from win7 are visible in wireshark, but actually they
do not transmiting over network. both devices (modem and notebook do not
receive them).
2010/7/1 Gianluca Varenni <gianluca.varenni at cacetech.com>
Are you saying that the issue happens when transmitting from either a
wired host (with an ethernet connection) or a wireless card?
Have a nice day
GV
From: inter inter <mailto:intercepter.mail at gmail.com>
Sent: Wednesday, June 30, 2010 9:39 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] packet sending on win7
One host directly through the cable, and the second via WIFI.
2010/6/30 Gianluca Varenni <gianluca.varenni at cacetech.com>:
> Are the two hosts connected directly with a cable or these is a
> switch/router in between?
>
> Have a nice day
> GV
>
> --------------------------------------------------
> From: "inter inter" <intercepter.mail at gmail.com>
> Sent: Wednesday, June 30, 2010 12:44 PM
> To: <winpcap-users at winpcap.org>
> Subject: [Winpcap-users] packet sending on win7
>
>> Good day, i have a problem with sending packets on Win7.
>> I've spent a lot of time trying to fix the problem. So the deal is, i
>> do pcap_sendpacket (with icmp request) to some host in network, and i
>> dont get reply, but i see the outgoing packet in wireshark. I execute
>> ping from cmd, comparing my packet and the packet Windows sends -
they
>> are the same (except for crc and id). However, i dont get reply.
>> I started wireshark on remote host and realized that nothing comes to
>> it! I loaded some old code which sends packets too (and works
>> perfectly on XP) and it didnt work either. It seems to me that the
>> problem is with Win7, i tried to turn off every available security
>> measures and had no luck :(
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
________________________________
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
________________________________
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
________________________________
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100701/90a641f7/attachment-0001.htm
More information about the Winpcap-users
mailing list