Is encryption supported?

Vance Shipley vances at motivity.ca
Sun Sep 25 15:53:55 PDT 2005


I am looking for a way to turn on encryption.  Apparently the
gnubox application, which I need to get my Nokia 6620 doing
TCP/IP over bluetooth, insists on enabling encryption.

I have tried:

$ hccontrol -n ubt0hci write_encryption_mode 1
$ hccontrol -n ubt0hci read_encryption_mode
Encryption mode: Only for point-to-point packets [0x1]

However when I look at a connection I see it is not encrypted:

$ hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State
Nokia6620              7  ACL    0 MAST    NONE       0     0 OPEN


I see that Linux has a flag in /etc/bluetooth/hcid.conf to turn
on encryption.  It also has a -encrypt command line option to dund.

Is this a limitation with FreeBSD?

	-Vance



More information about the freebsd-bluetooth mailing list