| |||||
| Bas de page | |
|---|---|
| Auteur |  Sujet : Error connexion with Ethernet NIC card using winpcap | 
Publicité  | Posté le 16-05-2011 à 17:24:27   ![]() ![]()  | 
theShockWave I work at a firm named Koslow | why bother trying to use a network card when all you seem to need is the loopback address ? If you want a "real" network test, you'll have to use separate machines anyways. Message édité par theShockWave le 16-05-2011 à 17:44:02 --------------- last.fm  | 
theShockWave I work at a firm named Koslow | using this testing protocol, you can't even be sure that the interface you are using itself won't skip the send, thus, hiding the latency.
 --------------- last.fm  | 
Publicité  | Posté le 17-05-2011 à 21:09:23   ![]() ![]()  | 
sloumanaw  | thanks gilou. i did like this:
  | 
sloumanaw  | i think this error occurs because im devolopping in C++ langage. im using this struct  in the function "SendQueuPacket" which is in the class "RawPacket".
  | 
gilou ModérateurModosaurus Rex  | 
 Why would you do this?
 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | yesss  looooll, i included "pcap.h" and i added the struct to my code too, so this error occurs.now it is fixed  Message cité 1 fois Message édité par sloumanaw le 18-05-2011 à 11:23:50  | 
gilou ModérateurModosaurus Rex  | 
   --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | thanks!!! that problem is fixed   | 
__tomjost c'est un pseudo ! | 
 
 Message édité par __tomjost le 20-05-2011 à 09:50:39  | 
sloumanaw  | hello tomjost, have you a link or the full name of the driver needed?  | 
sloumanaw  | winpcap has two .dll: packet.dll and wpcap.dll ,i think those are responsable for capturing and sending messages to NIC interface.so they do the work of a driver.no?  | 
sloumanaw  | i still have the same problem,i can't receive packets that i send,i think they dropped before reaching NIC interface   | 
gilou ModérateurModosaurus Rex  | Did you read this? http://wiki.wireshark.org/CaptureSetup/Loopback
 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | i used wireshark, but even wireshark does not receive my packet!!    | 
gilou ModérateurModosaurus Rex  | Can't you read the link i gave?
 
 
 Message édité par gilou le 26-05-2011 à 16:46:58 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | 1)i uninstalled winpcap
  | 
gilou ModérateurModosaurus Rex  | 
 I would use it with one Ethernet Card first in order to have the minimum of causes for failure. Once it works in that setting, I would try with the two cards configuration. Note, if you remove one card, you will probably need to uninstall/reinstall Winpcap. If it was me, I would try: If step 1 does not work correctly, it means that something is wrong with your code. A+, Message édité par gilou le 27-05-2011 à 16:46:00 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | yes i tried the first step, i sent from machine 1 and capture on machine 2.but this doen't work!!
  | 
gilou ModérateurModosaurus Rex  | I think that this line is suspect 
 
 
 
 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
gilou ModérateurModosaurus Rex  | You may also read this article: How to craft UDP packets and send them with WinPCap
 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | yes i read this article and i used the same fonctions to send my packets. i used "pcap_findalldevs_ex()".
  | 
sloumanaw  | have you another idea to inject a packet in NIC card? i can use any solution even without winpcap.
  | 
gilou ModérateurModosaurus Rex  | Compile an test the code of this article: How to craft UDP packets and send them with WinPCap
 Message édité par gilou le 29-05-2011 à 23:33:29 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | hello gilou,
  | 
gilou ModérateurModosaurus Rex  | I don't understand. Are you trying to send a non-ethernet frame through an ethernet card?  Message édité par gilou le 30-05-2011 à 14:20:33 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- Il ne faut plus dire Sarkozy, mais Sarkozon -- (╯°□°)╯︵ ┻━┻  | 
sloumanaw  | hi that works!!
  | 
Publicité  | Posté le    ![]() ![]()  | 
| Sujets relatifs | |
|---|---|
| Error MySQL. | Etre informé lors d'une connexion TSE | 
| Sending many packets Ethernet simultaneously | [RESOLU] connexion SSH2 sous windows | 
| error: no match for call to | se debarasser des error: crosses initialization | 
| connexion a la base de données ne marche pas | Connexion Oracle 11g en oci | 
| Problème C++ : Syntax error : missing ';' | Problème de connexion malgré les bons identifiants | 
| Plus de sujets relatifs à : Error connexion with Ethernet NIC card using winpcap | |



  


