From owner-freebsd-pf@FreeBSD.ORG Fri May 4 18:29:08 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E22C116A409 for ; Fri, 4 May 2007 18:29:08 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7988613C480 for ; Fri, 4 May 2007 18:29:08 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.64.187.78] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1Hk2Wg1fqY-0003X2; Fri, 04 May 2007 20:29:06 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Fri, 4 May 2007 20:28:53 +0200 User-Agent: KMail/1.9.6 References: In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6008933.FOT41IyrSg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705042028.59796.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+MW03L5B9oCBcvWLjh3wcWQlbwtkQmA8PGgts 6uy5nUNLpIQI3CvK9FOLigYzG7UucoDXneAJwe3TUZ2/aeqPCr P0u+Kmf+dsOZ2y6/YXh6g== Cc: Subject: Re: PF and AD X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 18:29:09 -0000 --nextPart6008933.FOT41IyrSg Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [ Please don't top post - it reverses the communication flow ] On Friday 04 May 2007, Ricardo Benq wrote: > > Ricardo Benq wrote: > > >Hello. > > >Is it possible to make filter rules that are based on Microsoft > > > Active Directory users? > > >Do I have to install samba/winbind? Are there tutorials? > > > > Short answer: no. > > Longer answer: Not that I can really think off an example where that > > would be of use. Can you provide more details as of your network > > setup and what do you want to achieve? The moon is too cloudy today, > > and so is our spiritual possibilities. > > Ok, Gregory, here it goes: > In our network, all users are AD domain users that have access to > services/networks restricted by AD groups. > We already have a SQUID/Dansguardian that filter internet access for AD > user/groups via ACLs for radio, video, messenger, etc. All Active > Diretory users are authenticated on SQUID , using SAMBA/Winbind. > What we want is to use PF to filter access to, say, DMZ servers and > internet from internal network, based on user names and AD groups. So you are interested to map host-ip to authenticated user on that host,=20 correct? I think you should be able to produce a login script that=20 initiates an ssh connection to authpf, which in turn adds required rules=20 to the firewall. Note that anything that relies on host-ip as a security feature is doomed. = =20 Especially in LANs an IP is easily spoofed. So unless you have a proxy=20 that can do further authentication, you can't be sure you get what you=20 ask for. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart6008933.FOT41IyrSg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGO3tmXyyEoT62BG0RApjxAJ9PlpuToRCvReb66IZm65vSacbMYQCbBhoF XZfV4VGAhXSmFx09si9eR1o= =r0lL -----END PGP SIGNATURE----- --nextPart6008933.FOT41IyrSg--