* hcidump does not show all traffic
@ 2015-08-28 12:24 Freek de Kruijf
2015-08-28 19:05 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Freek de Kruijf @ 2015-08-28 12:24 UTC (permalink / raw)
To: linux-bluetooth
I am trying to monitor the traffic between my linux system and an external
bluetooth system using the command "hcidump -i hci0 -w filename". I only catch
some traffic from the host to the external device, but nothing from the device
to the host. I analyze the file using wireshark.
--
fr.gr.
Freek de Kruijf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcidump does not show all traffic
2015-08-28 12:24 hcidump does not show all traffic Freek de Kruijf
@ 2015-08-28 19:05 ` Marcel Holtmann
2015-09-11 13:41 ` Freek de Kruijf
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2015-08-28 19:05 UTC (permalink / raw)
To: Freek de Kruijf; +Cc: linux-bluetooth
Hi Freek,
> I am trying to monitor the traffic between my linux system and an external
> bluetooth system using the command "hcidump -i hci0 -w filename". I only catch
> some traffic from the host to the external device, but nothing from the device
> to the host. I analyze the file using wireshark.
you need a newer Wireshark version. I remember it had some issues with correctly decoding the base packet types. Double check with btmon or hcidump that all traffic is actually in the file.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcidump does not show all traffic
2015-08-28 19:05 ` Marcel Holtmann
@ 2015-09-11 13:41 ` Freek de Kruijf
2015-09-12 10:18 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Freek de Kruijf @ 2015-09-11 13:41 UTC (permalink / raw)
To: linux-bluetooth
Op vrijdag 28 augustus 2015 12:05:29 schreef Marcel Holtmann:
> Hi Freek,
>
> > I am trying to monitor the traffic between my linux system and an external
> > bluetooth system using the command "hcidump -i hci0 -w filename". I only
> > catch some traffic from the host to the external device, but nothing from
> > the device to the host. I analyze the file using wireshark.
>
> you need a newer Wireshark version. I remember it had some issues with
> correctly decoding the base packet types. Double check with btmon or
> hcidump that all traffic is actually in the file.
I finally found the cause. The bluetooth communication was between an
application of a normal user and the device. I used hcidump from the same
user. Now that I use hcidump as root I get all the traffic. Silly mistake.
I would propose to put some text in the man page of hcidump about using the
command only as root. Maybe it should be installed in sbin instead of bin.
--
fr.gr.
Freek de Kruijf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcidump does not show all traffic
2015-09-11 13:41 ` Freek de Kruijf
@ 2015-09-12 10:18 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2015-09-12 10:18 UTC (permalink / raw)
To: Freek de Kruijf; +Cc: linux-bluetooth
Hi Freek,
>>> I am trying to monitor the traffic between my linux system and an external
>>> bluetooth system using the command "hcidump -i hci0 -w filename". I only
>>> catch some traffic from the host to the external device, but nothing from
>>> the device to the host. I analyze the file using wireshark.
>>
>> you need a newer Wireshark version. I remember it had some issues with
>> correctly decoding the base packet types. Double check with btmon or
>> hcidump that all traffic is actually in the file.
>
> I finally found the cause. The bluetooth communication was between an
> application of a normal user and the device. I used hcidump from the same
> user. Now that I use hcidump as root I get all the traffic. Silly mistake.
>
> I would propose to put some text in the man page of hcidump about using the
> command only as root. Maybe it should be installed in sbin instead of bin.
just start using btmon instead of hcidump.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-12 10:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-28 12:24 hcidump does not show all traffic Freek de Kruijf
2015-08-28 19:05 ` Marcel Holtmann
2015-09-11 13:41 ` Freek de Kruijf
2015-09-12 10:18 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.