Commit Graph

18 Commits

Author SHA1 Message Date
Maksim Yevmenkin
c169089a88 Straighten out those pesky SDP records for the Bluetooth
Service Discovery Application Profile.

Discussed with:	Iain Hibbert of NetBSD plunky at rya dash online dot net
MFC after:	3 weeks
2008-11-25 21:54:42 +00:00
Maksim Yevmenkin
07f8cd18c6 Add mandatory "security description" SDP parameter to the PANU profile
Pointed-out by:	Iain Hibbert < plunky at rya-online dot net >
MFC after:	3 days
2008-03-19 00:06:30 +00:00
Maksim Yevmenkin
13040bc96b Add PSM and Load Factor SDP parameters to the BNEP based profiles
(NAP, GN and PANU). No reason to not to support them.

Separate SDP parameters data structures for the BNEP based profiles.

Generalize Service Availability SDP parameter creation.

Requested by:	Iain Hibbert < plunky at rya-online dot net >
MFC after:	3 days
2008-03-18 18:21:39 +00:00
Maksim Yevmenkin
f2505d7088 Add support for the NAP, GN and PANU profiles to the sdpd(8).
It should be mentioned that a somewhat similar patch was
submitted by Rako < rako29 at gmail dot com >

MFC after:	1 week
2008-03-11 16:51:07 +00:00
Maksim Yevmenkin
6bfc799ccf Check that the length of the received message is at least as big as a PDU
before we use pdu->len.

Submitted by:	Iain Hibbert
MFC after:	3 days
2007-02-23 19:37:47 +00:00
Maksim Yevmenkin
831a4264af Use socklen_t instead of int32_t where appropriate to pacify new GCC4
warnings.

Submitted by:	kan
MFC after:	1 week
2006-09-21 02:32:28 +00:00
Maksim Yevmenkin
0c3420df68 Fix formatting. Add missing break;
Submitted by:	Iain Hibbert
MFC after:	3 days
2006-05-14 22:19:38 +00:00
Maksim Yevmenkin
35929e6013 Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.
Noticed by:	Iain Hibbert < plunky at rya-online dot net >
MFC after:	3 days
2006-03-16 18:26:54 +00:00
Maksim Yevmenkin
d1c004f7d1 Teach sdpd(8) to check peer's credentials before accepting request to
register, remove or change services in the local database. For now only
accept the request if the peer has effective user ID the same as 'root'
user ID.

MFC after:	1 week
2005-12-06 17:56:36 +00:00
Giorgos Keramidas
6fb9b618f5 Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after:	1 week
Thanks to:	Music band ``Chingon''
		for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
Ruslan Ermilov
59a3c79da6 Sort sections. 2005-01-18 20:02:45 +00:00
Maksim Yevmenkin
ee935b5800 Teach sdpd(8) about 32-bit and 128-bit uuid's.
MFC after:	3 days
2005-01-05 18:37:37 +00:00
Alexander Kabaev
1bb0b6dee7 Avoid casts as lvalues. 2004-07-28 07:20:04 +00:00
Ruslan Ermilov
9cdb6ee164 Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
Maksim Yevmenkin
0d60ad30ca Add extra sanity check for SDP packets in libsdp(3)
Fix yet another endianess bug in sdpd(8)
2004-02-26 20:44:55 +00:00
Maksim Yevmenkin
167bc3861d Fix endianes bug 2004-02-25 22:43:43 +00:00
Maksim Yevmenkin
6c7f392438 Cleanup CFLAGS in libsdp(3) Makefile
Connect sdpd(8) to the build

Reviewed by: ru, imp (mentor)
2004-01-25 21:33:59 +00:00
Maksim Yevmenkin
07be7a6c2e Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.
Extend libsdp(3) API to allow service registration and removal.
Fix uninitialized variable bug in sdpcontrol(8).

Reviewed by: imp (mentor)
No objection: ru
2004-01-20 20:48:26 +00:00