Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93292 > unrolled thread
| Started by | Laura Creighton <lac@openend.se> |
|---|---|
| First post | 2015-06-29 22:19 +0200 |
| Last post | 2015-06-29 22:19 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Scapy and MGCP Laura Creighton <lac@openend.se> - 2015-06-29 22:19 +0200
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Date | 2015-06-29 22:19 +0200 |
| Subject | Re: Scapy and MGCP |
| Message-ID | <mailman.169.1435609166.3674.python-list@python.org> |
In a message of Mon, 29 Jun 2015 20:06:05 -0000, "Devaki Chokshi (dchokshi)" wr
ites:
>Hello,
>
>As per reply received I have begun to use scapy for MGCP.
>
>I started off with reading a .pcap file with MGCP packets.
>
>For example:
>
>from scapy.all import *
>from scapy.utils import *
>from scapy.layers.mgcp import *
>
>mgcp_pkts = rdpcap("my-mgcp-capture.pcap")
>
>However, rdpcap() is returning all MGCP packets as UDP packets. The output is something like:
>
><my-mgcp-capture.pcap: TCP:33 UDP:262 ICMP:1 Other:0>
>
>All 262 UDP packets are actually MGCP packets.
>
>I would have thought rdpcap() will understand MGCP packet format.
>
>Would appreciate help on how I can make scapy read MGCP packets from a .pcap file.
>
>Thank you
>Devaki
Ask on the secdev mailing list.
see: https://bitbucket.org/secdev/scapy/wiki/doc/index
This 'everything is UDP' is normal, but I forget how to turn it off
if you don't want that, and it's been over 3 years so there may be
better ways than what I used .... plus for me it wasn't MGCP packets
anyhow. At any rate they will know over there.
Laura
Back to top | Article view | comp.lang.python
csiph-web