nmap / nmap/npcap

Windows 10 sendPacket not working

Open
#301 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.6k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

System: Windows 10 1904
npcap : npcap-sdk-1.07.zip npcap-1.20.exe

I ping ip by ping 10.0.61.1 -n 1 and copy as hex stream from Wireshark.
Then send by

int	pcap_sendpacket(pcap_t *, const u_char *, int);

Ping request show in Wireshark. But no response(remote ip is good).

Wireshark screenshot:
Dingtalk_20210412161339

This is test pcap file:
icmp.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows 10 case with the supplied icmp.zip capture and the pcap_sendpacket call, then compare the transmitted packet and response in Wireshark. Determine why the ping receives no response and document or correct the behavior, with a reproducible verification using the same capture and environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.