This tag wiki does not currently have an excerpt. Help by creating one
Questions tagged [sharppcap]
125 questions
0
votes
0 answers
How can i get the url using C# windows application?
How can i get the url sent from my pc, i can get the ip of the sites that i've visited using SharpPcap.
I wonder if there's a way to get the http message from the IP packet, or an easier wat to just get the url.

malaa
- 3
- 5
0
votes
0 answers
use Socket to listen TCP/IP lost some packets which SharpPcap(winPcap) can catch
I make a c# application to catch TCP/IP packets by Socket.I bind the local ip and listen all the ports to catch the IP packets .Sometimes,it was effective and caught all IP packets.But some IP packets which I could catch with SharpPcap(winPcap) apis…

Gevy
- 1
0
votes
1 answer
How to capture packages from open wi-fi hotspot using SharpPcap or Pcap.NET?
I can capture packets sent from my computer, but I can't capture packets from other attached devices to wi-fi
Sorry for my bad English

Roman Kiyashev
- 150
- 1
- 11
0
votes
1 answer
How to use SharpPcap to dump packets fast
I'm using SharpPcap to dump packets to a .pcap file. My problem is, that it's working to slow to capture any amount of network traffic and I run out of memory eventually.
How can i speed up the file writing process?
Here is the code I'm using:
…

Christian
- 123
- 7
0
votes
2 answers
SharpPcap Encoding.UTF8.GetBytes
Does someone know which is the right way to get the actual text in these bytes?
I do something wrong here.
And another question: is utf-8 the most generic encoding, that will show most of the chars correctly?
TY
private void…

Itay.B
- 3,991
- 14
- 61
- 96
0
votes
2 answers
how to check for BackgroundWorker.CancellationPending when my thread has called another?
How should I check for a CancellationPending within a BackgroundWorker DoWork method, when within this method I call off to a Pcap.Net packet capture routine, which responses via a callback. The two options I can think of is:
a) write a loop at the…

Greg
- 34,042
- 79
- 253
- 454
0
votes
1 answer
Sharppcap - How to get the traffiqued file name?
I managed to capture the content of the file trafficked across the network, however I am unable to capture the file name.
class Program
{
static void Main(string[] args)
{
// Retrieve the device list
CaptureDeviceList devices…

Vinicius Gonçalves
- 2,514
- 1
- 29
- 54
0
votes
1 answer
How to understand a packet is TCP CLOSE packet with sharPcap
I am trying to read packets that are sent from the clients to the server. I am using sharpPcap in C#. How can i understand a packet is TCP CLOSE packet in this event:
private static void device_OnPacketArrival(object sender, CaptureEventArgs e)
…

user3563177
- 69
- 8
0
votes
1 answer
localhost request packet not recognized by sharppcap?
I did asp.net program using mvc 4. I deployed in iis server as localhost; I want track HTTP Packet so I used SharpPcap.
Here is full code...
namespace CaseStudy
{
class Program
{
static void Main(string[] args)
{
var parmenter =…

Kernel
- 165
- 4
- 14
0
votes
1 answer
Sharppcap how to send packets using the route in ubuntu?
I 'm using Sharppcap to convert multicast udp packets to unicast then forward the packet to another network
I established a tunnel IPsec
connection between two networks like the following scenario IPsec-tools and racoon and it works fine
But in…

Ahmad Darwish
- 91
- 5
0
votes
1 answer
Why packets injected with libpcap are duplicated?
I'm using sharppcap in order to send packets as part of a monitoring system. Usually it works well but I've encountered the strangest bug on a hosted vista machine and I would like your help.
On that virtual vista machine, injected packets are…

r0u1i
- 3,526
- 6
- 28
- 36
0
votes
2 answers
Interpreting the Packets using sharppcap
Is it possible to interpret every coming packets using sharppcap?

Eyla
- 5,751
- 20
- 71
- 116
0
votes
3 answers
determining HTTP packets
Greeting,
how is possible to determine from captured packets using sharppcap if the packet is http packet or not?
and can we determine frpm TCP packets if the packet is HTTP or not?

Eyla
- 5,751
- 20
- 71
- 116
0
votes
2 answers
Howto convert to string and read data from TCP packet
I used sharppcap to capture TCP packets. Now i wanna reconstruct HTTP packet from TCP packets but i don't know how. I read somewhere i can find start of HTTP packet in TCP data... i tried to convert byte[] TCP data to string using this code:
string…

salime
- 1
- 1
- 1
0
votes
1 answer
Which network layer is in charge of reassembling fragmented datagrams?
Recently I dug a bit deeper into the matter of network protocols and the OSI model, when noticed, that incoming TCP datagrams (correct me if this is the wrong term) are splitted into several parts, when they exceed a certain size - in this case it's…

wodzu
- 3,004
- 3
- 25
- 41