[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-hams
Subject:    Wireshark/Packet Socket Duplicate Frames
From:       Sascha Alexander Jopen <jopen () informatik ! uni-bonn ! de>
Date:       2013-08-07 8:37:44
Message-ID: 52020758.10207 () informatik ! uni-bonn ! de
[Download RAW message or body]

Hey,

i'm trying to work with linux packet sockets to receive and send raw
AX.25 frames. When i use sockets bound to AX.25 frames only, everything
works as expected. However, when i a raw packet socket requesting all
possible frame types like so

  socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))

i receive two frames for each incoming physical frame. Both frames seem
to be identical and i can not distinguish one frome the other.
As wireshark uses the same mechanisms through libpcap, one can see the
same phenomenon there, too. For each incoming frame, two frames are
displayed. Even the listen tool from ax25-apps shows this behaviour when
called with -a.
At the network layer only a single ip packet is emitted, so i'm actually
receiving only a single frame, not two.

Because i currently do not have the necessary radio equipment, i
connected two PCs via a crosslinked serial cable. Both ends are sending
KISS/AX.25 frames. However, this should not be the source of the
duplicates, shouldn't it?

So the basic question here is, does anybody else see this behaviour?
If so, is this behaviour intended?

Thanks in advance,
Sascha

-- 
Dipl.-Inform. Sascha Jopen

University of Bonn                     Tel.:   +49-228-73-54219
Institute of Computer Science 4        Fax:    +49-228-73-4571
Friedrich-Ebert-Allee 144              E-mail: jopen@cs.uni-bonn.de
D-53113 Bonn, Germany
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic