2005-01-17 11:58:11

by Khoo Teck Ping

[permalink] [raw]
Subject: [Bluez-devel] Question about l2ping: 0 bytes always

RGVhciBBbGwNCiANCkkgYW0gYWJsZSB0byBydW4gbDJwaW5nLCBhdHRlbXB0aW5nIHRvIHNlbmQg
YW5kIHJlY2VpdmUgcGFja2V0cyBmcm9tIG15IGxpbnV4IGJveCB0byBteSBzb255IGVyaWNzc29u
IFQ2MzAuIEhvd2V2ZXIgdGhlIG91dHB1dCBpcyBhbHdheXMgDQogDQowIGJ5dGVzIGZyb20geHg6
eHg6eHg6eHg6eHggaWQgeCB0aW1lIHggbXMuIA0KIA0KSXQgYWx3YXlzIGVuZHMgd2l0aCB4IGJ5
dGVzIHNlbnQsIHggYnl0ZXMgcmVjZWl2ZWQsIDAlIGxvc3MuIA0KIA0KSXMgdGhpcyB0aGUgY29y
cmVjdCBvdXRwdXQ/DQogDQpQbGVhc2UgYXNzaXN0LiANCiANClRoYW5rIFlvdSB2ZXJ5IG11Y2gu
IA0KIA0KVGVjayBQaW5nDQogDQogDQo=


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-01-17 12:07:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Question about l2ping: 0 bytes always

Hi Teck,

> I am able to run l2ping, attempting to send and receive packets from my linux box to my sony ericsson T630. However the output is always
>
> 0 bytes from xx:xx:xx:xx:xx id x time x ms.
>
> It always ends with x bytes sent, x bytes received, 0% loss.
>
> Is this the correct output?

according to the L2CAP part of the specification the device can send you
whatever echo responds it wants. This includes a zero byte response and
for security reasons this is good, because we have seen DoS attacks when
they are unable to handle big echo packets.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel