Date: Tue, 28 Apr 1998 18:54:47 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: fenner@parc.xerox.com (Bill Fenner) Cc: MBONE@isi.edu, multimedia@FreeBSD.ORG Subject: Re: multiple sdr -- found the problem Message-ID: <199804281654.SAA26891@labinfo.iet.unipi.it> In-Reply-To: <98Apr28.092226pdt.177515@crevenia.parc.xerox.com> from "Bill Fenner" at Apr 28, 98 09:22:00 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Luigi Rizzo <luigi@labinfo.iet.unipi.it> wrote: > >I can see a reason for checking privileges on a bind -- if multiple > >processes bind to the same port, some unprivileged process might > >steal packet to another, more privileged one -- especially for > >unicast traffic. > > Right, but with multicast, the packets are replicated to all > processes bound to the port, so this case doesn't apply. ... > I believe this particular diff came from OpenBSD: > > 1.39 Sun Mar 1 19:39:26 1998 UTC by guido > > Make sure that you can only bind a more specific address when it is > done by the same uid. > Obtained from: OpenBSD ok, then you have spotted the problem. Your fix will do the job then, by changing sdr to bind to the multicast addr instead of INADDR_ANY. After all the address is known by then. But this ownership check from OpenBSD is not too convincing. thanks luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804281654.SAA26891>