Package: python-scapy
Version: 2.2.0-1
Severity: normal

Dear Maintainer,

This is the current value of scapy.all.conf.l2types:

In [2]: conf.l2types
Out[2]:
   0x1 <-  Dot3                 (802.3)
   0x1 <-> Ether                (Ethernet)
   0xc  -> IP                   (IP)
  0x17  -> Ether                (Ethernet)
  0x1f <-> IPv6                 (IPv6)
  0x65 <-> IP                   (IP)
  0x69 <-> Dot11                (802.11)
  0x71  -> CookedLinux          (cooked linux)
  0x77 <-> PrismHeader          (Prism header)
  0x7f <-> RadioTap             (RadioTap dummy)
  0x90 <-> CookedLinux          (cooked linux)
  0xc0 <-> PPI                  (Per-Packet Information header (partial))
 0x304  -> Ether                (Ethernet)
 0x321  -> Dot11                (802.11)
 0x322  -> PrismHeader          (Prism header)
 0x323  -> RadioTap             (RadioTap dummy)

Therefore, scapy.all.conf.l2types[scapy.layers.l2.CookedLinux] is 0x90:

In [3]: scapy.all.conf.l2types[scapy.layers.l2.CookedLinux]
Out[3]: 144

However, as detailed here - http://www.tcpdump.org/linktypes.html, it should be
0x71 (Linux cooked-mode header, as specified here -
http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL.html), rather than 0x90
(Linux IrDA header, as specified here -
http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_IRDA.html).



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-43-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-scapy depends on:
ii  python     2.7.5-5ubuntu3
ii  python2.7  2.7.6-8

python-scapy recommends no packages.

Versions of packages python-scapy suggests:
pn  ebtables        <none>
pn  graphviz        <none>
pn  gv              <none>
pn  hexer           <none>
pn  imagemagick     <none>
pn  librsvg2-bin    <none>
ii  python-crypto   2.6.1-4build1
pn  python-gnuplot  <none>
ii  python-pcapy    0.10.8-1build1
pn  python-pyx      <none>
pn  python-visual   <none>
pn  sox             <none>
ii  tcpdump         4.5.1-2ubuntu1.1
ii  tcpreplay       3.4.4-2
ii  wireshark       1.10.6-1
pn  xpdf            <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to