This is our old Q&A Site. Please post any new questions and answers at

I'm using Python and Scapy to create socket, craft a packet and send it. How I create a packet:


Thing is when I send the packet and capture it with Wireshark I see this:

UDP stuff ends with 9c and I don't understand what is this highlighted stuff, because I am not sending it explicitly. If I do hexdump of my full packet in Scapy, I get this exact data. So it just adds Hex representation of whole packet?

asked 22 Sep '15, 06:49

estranged's gravatar image

accept rate: 0%

edited 22 Sep '15, 06:50

I don't understand what is this highlighted stuff,

it's the payload of the generated UDP packet, which happens to look like an IP frame itself. So I guess there is something wrong with your scapy script, as scapy does not use any payload by default.


permanent link

answered 22 Sep '15, 08:12

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Sep '15, 06:49

question was seen: 1,438 times

last updated: 22 Sep '15, 08:12

p​o​w​e​r​e​d by O​S​Q​A