l2ping(8) and -f switch

Iain Hibbert plunky at rya-online.net
Mon Mar 28 14:04:54 UTC 2011


On Mon, 28 Mar 2011, Alexander Best wrote:

> On Mon Mar 28 11, Iain Hibbert wrote:
> > On Mon, 28 Mar 2011, Alexander Best wrote:
> >
> > > thus i believe making the -f switch only accessable to super-users (in
> > > accordance with ping(8)/ping6(8)) would increase security.
> >
> > what stops the user from recompiling l2ping without this restriction?
>
> nothing. but what stops him from recompiling ping(8) or ping6(8) without the
> restriction? still it's there.

AFAIK you need superuser privileges to even send ICMP_ECHO packets, thats
why ping is traditionally a suid program and making a new binary won't
help normal users..  I'm guessing that l2ping doesn't have the same
restrictions?

iain


More information about the freebsd-bluetooth mailing list