lkml.org 
[lkml]   [2007]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ANNOUNCE] UidBind LSM 0.1
From
Date
Il giorno lun, 23/04/2007 alle 14.38 -0400, Gerhard Mack ha scritto:
> On Mon, 23 Apr 2007, Roberto De Ioris wrote:
> > Hi all,
> > this is a very simple module that allows bind() to tcp/udp port (>=1024)
> > only for the uids defined in a configfs tree.
> >
> > It is a first version, it only works for PF_INET sockets and makes no
> > difference between tcp and udp (i am working on this)
> >
> > For (little) more info see
> >
> > http://projects.unbit.it/uidbind/
> >
> > Patch attached is for vanilla 2.6.20.7
>
> Is it possible to lock a range of ports to a uid?

I think i can implement something like a configfs item named
'8081-8090', instead of only '8081'.
I will need to validate the range, but its not too difficult.

>
> Also, is it possible to lock a uid to one ip address? For example usera
> can only bind to 10.0.0.23 while userb can only bind to 10.0.0.24.

This is simple to add and i have already a patch for it.
In the next few days i will post it.


--
Roberto De Ioris
http://unbit.it
JID: roberto@jabber.unbit.it
Wii: 2999 4476 3509 0964
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-04-23 23:09    [W:0.527 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site