sobexsrv - Scripting/Secure OBEX Server (for BlueZ Linux)
- OBEX push and pull (put/get commands)
- OBEX-FTP with send/recv/delete files and mkdir/rmdir
- fully scriptable (e.g. do something when a file is received or requested)
- Bluetooth security mode-2
- chroot(2) jailing
- generic mime type handling (see man page)
- transfer log via syslog(8)
- a man page :-)
sobexsrv is a Bluetooth OBEX server with Bluetooth Security Mode-2
(application triggered security) support. It implements OPUSH (put),
OPULL (get) and OBEX-FTP (setpath + directory listing) and therefore is
a full OBEX server. Further it supports pulling generic mime-types and
provides a capability object.
sobexsrv was designed with flexibility and security in mind and supports
chroot (if suid root drop to calling uid immediately). For flexibility
a scripting interface provides access to all functionalities of
the server and therefore allows implementation of further OBEX services
on top of sobexsrv.
sobexsrv has two operation modes Internal and Scripting. In internal mode (-I) all OBEX
functions are handled inside the server, this mode supports chroot(2). In scripting mode all
events are handled by an external script. This external script reads from stdin and writes to stdout.
Through the scripting mechanism many features can be implemented. E.g. the sample script pops up
a window on incoming connections and you can choose to either Reject, Accept, Accept+PIN or Accept+PIN with encryption. But this is only a simple example.
Version upto 1.0.0pre3:
the syslog (-S) function of sobexsrv is vulerable to a formatstring attack and therefore should not be used as of now! An fixed version will be provided soon!
Reported by: Kevin Finisterre (23. Nov. 2005)
sobexsrv-1.0.1.tar.gz (Oct. 6. 2007)
fixed code for talking to external handler
fixed python demo handler
old palmos sdp bug fix
better unicode handling using iconv
improved path handling and checks for directory traversal
Please provide feedback to: collin-sobexsrv(AT)betaversion.net
Especially welcome are new and cool scripts!
Do you like my software and the fact that it is free? Consider a donation, thank you!
Sat Oct 6 19:03:23 CEST 2007
-[ Home ]-[ Weblog ]-[ Bluetooth ]-[ Windows Mobile ]-[ Symbian ]-[ PalmOS ]-[ J2ME ]-[ Maemo ]-[ Security ]-[ iPhone ]-[ Android ]-[ NFC ]-[ Contact ]-