From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: Dropping a specific Owner from a certain IP
Date: Tue, 07 Sep 2004 16:32:44 -0400 [thread overview]
Message-ID: <1094589164.1890.59.camel@wolfpack.ljm.dom> (raw)
In-Reply-To: <413E1004.5020808@mail.bloomfield.k12.mo.us>
On Tue, 2004-09-07 at 15:46, Scott Mayo wrote:
> I have my filter set up with 1 internal nic and 1 external nic. My
> workstations are addressed 10.0.0.1-10.0.255.255 with a subnet of
> 255.255.0.0. My filter 10.0.0.1 has Dansguardian and Squid/Squidguard
> which authenticates through my Samba server 10.0.0.5.
>
> I have a generic user 'user' that I give to a lab in the elementary
> (10.0.8.1-10.0.8.255). Is there some way that I can stop that generic
> login from being used from anywhere else? I tried the following, but it
> did not do anything.
>
> iptables -A OUTPUT -m owner --uid-owner 10000 -s ! 10.0.8.0/24 -j DROP
>
> 10000 is the uid of 'user' on my samba server. Is the uid actually
> pulled from the filter server? If so then I guess that I cannot do this.
> Thanks for any info.
apply this filter in dansguardian. it's the only thing in this scenario
that knows both the src ip and username--it should be able to force them
to be paired up. i do this with squid+squidguard for a similar setup as
yours...never used dansguardian myself, so i can't get all OT on this
one...
-j
--
Jason Opperisano <opie@817west.com>
next prev parent reply other threads:[~2004-09-07 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 19:46 Dropping a specific Owner from a certain IP Scott Mayo
2004-09-07 20:32 ` Jason Opperisano [this message]
2004-09-07 21:05 ` Scott Mayo
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=1094589164.1890.59.camel@wolfpack.ljm.dom \
--to=opie@817west.com \
--cc=netfilter@lists.netfilter.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