Does not handle 802.1Q tagged frames correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpcap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
using tcpdump to monitor traffic, adding 'vlan' to the bpf causes all collection to stop. Traffic is known to have vlan tagged frames. Frames start off as 'XXXX 0800 4500', (XXXX) varies with the vlan.
In 10.04, tcpdump shows the vlan tag and vlan id.
Switching to ngrep (linked against libpcap), with options ' -i -t -q -l -d ethX', watching a text based protocol like SMTP or HTTP,
it fails to parse the packet correctly, because of the 4 byte offset on vlan tagged packets. Even patching ngrep to support vlans, it fails.
Ubuntu 12.04
ii libpcap0.8 1.1.1-10 system interface for user-level packet capture
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libpcap0.8 1.1.1-10
ProcVersionSign
Uname: Linux 3.2.0-51-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Fri Aug 16 09:18:06 2013
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MarkForUpload: True
SourcePackage: libpcap
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Does not handle 802.1Q taggged frames correctly + Does not handle 802.1Q tagged frames correctly |
The system I'm using to report the bug was an upgrade, but I've also tested on a virgin install of 12.04, and the same issues are still present.