public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "'BlueZ Mailing List'" <bluez-devel@lists.sourceforge.net>
Subject: RE: [Bluez-devel] Alignment issue
Date: Fri, 13 Aug 2004 09:07:45 +0100	[thread overview]
Message-ID: <1092384465.4186.37.camel@imladris.demon.co.uk> (raw)
In-Reply-To: <1092317787.28711.150.camel@pegasus>

On Thu, 2004-08-12 at 15:36 +0200, Marcel Holtmann wrote:
> I looked at the patches from the bluez-utils source RPM and actually I
> can include optional PIE support for you. A simple patch for that is
> easy and actually I already did that. From what I saw, this is a GCC 3.4
> only feature and you give -pie at linking time and not at compile time
> of the sources itself. Is this correct? 

You also need -fpic in CFLAGS, I believe.

> What is the best way to detect PIE support in the compiler?

I hate myself for saying it, but possibly just test whether you can
actually build an executable that way?

> And please don't do this
> 
>         # Authentication and Encryption
> -       #auth enable;
> -       #encrypt enable;
> +       auth enable;
> +       encrypt enable;
> 
> in the bluez-utils-2.3-conf.patch. If you do that then you are going to
> set your local device in security mode 3 and this is not what you want.

Hmmm, OK.... /me refers to Google and then
http://www.niksula.cs.hut.fi/~jiitv/bluesec.html

Don't I want that? If I were to leave it out, would that leave it in
mode 1, and mean I wouldn't be required to exchange a PIN with _every_
device before I can communicate with it at all?

The gnome-bluetooth program has been known to register its OBEX file
receive service and then just dump stuff into the user's home directory
-- even files with names like .rhosts :) If I make the requested change,
would that mean that _anyone_ can exploit this, rather than only devices
with which we're already paired?

Or am I getting confused? Can we do security mode 2?

I have a _vague_ recollection that there were devices I couldn't
communicate with unless I enabled those -- but it was a long time ago
and perhaps it was just that I thought authentication and encryption
sounded like good things so I should probably enable them :)

-- 
dwmw2

  reply	other threads:[~2004-08-13  8:07 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 18:38 [Bluez-devel] Alignment issue Daryl Van Vorst
2004-08-10 23:12 ` Marcel Holtmann
2004-08-11  9:20   ` Stephen Crane
2004-08-11 11:08     ` David Woodhouse
2004-08-11 19:33       ` Marcel Holtmann
2004-08-11  7:13 ` Marcel Holtmann
2004-08-11 16:44   ` Daryl Van Vorst
2004-08-11 19:31     ` Marcel Holtmann
2004-08-12  8:34       ` David Woodhouse
2004-08-12  9:27         ` Marcel Holtmann
2004-08-12 10:01           ` David Woodhouse
2004-08-12 10:22             ` Marcel Holtmann
2004-08-12 10:35               ` David Woodhouse
2004-08-12 11:00                 ` Marcel Holtmann
2004-08-12 11:33                   ` David Woodhouse
2004-08-12 11:49                     ` Marcel Holtmann
2004-08-12 12:02                       ` David Woodhouse
2004-08-12 12:29                         ` Marcel Holtmann
2004-08-12 13:36                         ` Marcel Holtmann
2004-08-13  8:07                           ` David Woodhouse [this message]
2004-08-13  9:05                             ` Marcel Holtmann
2004-08-13  9:14                               ` David Woodhouse
2004-08-13 11:52                               ` David Woodhouse
2004-08-13 12:40                                 ` Marcel Holtmann
2004-08-12 12:53               ` David Woodhouse
2004-08-13  9:58                 ` Marcel Holtmann
2004-08-13 10:56                   ` David Woodhouse
2004-08-12 10:10           ` Stephen Crane
2004-08-12 10:25             ` Marcel Holtmann
2005-01-20 14:30   ` David Woodhouse
2005-01-20 14:45     ` Marcel Holtmann
2005-01-20 14:59       ` David Woodhouse
2005-01-20 18:14         ` Marcel Holtmann
2005-01-21  8:26           ` David Woodhouse
2005-01-23  8:12             ` Marcel Holtmann
2005-01-23 11:39         ` Marcel Holtmann
2005-01-23 12:29           ` David Woodhouse
2005-01-23 14:40             ` Marcel Holtmann
2005-01-23 15:11               ` David Woodhouse
2005-01-23 15:22                 ` Marcel Holtmann
2005-01-23 23:16                   ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2004-08-16  9:48 john smith
2004-08-16 10:15 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1092384465.4186.37.camel@imladris.demon.co.uk \
    --to=dwmw2@infradead.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox