From: "John Guntenaar" <john@guntenaar.nl>
To: 'Khanh Tran' <khanh@slc.edu>
Cc: netfilter@lists.netfilter.org
Subject: RE: per user IP adresses
Date: Mon, 5 May 2003 10:30:06 +0200 [thread overview]
Message-ID: <000401c312e0$8bf85d70$0200a8c0@WKSJOHN> (raw)
In-Reply-To: <01CEA3A5B8B2D511890F0002A5870AEC0128AD85@EXCHANGE>
That won't work either because the IP's are aliased, so the all have the
same MAC address.
I just want that userid 1234 can't use IP 1.2.3.4 BUT userid 1235 CAN
use that IP to bind for things like IRC sessions (for like a vhost or
something).
-----Oorspronkelijk bericht-----
Van: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] Namens Khanh Tran
Verzonden: maandag 5 mei 2003 2:10
Aan: john@guntenaar.nl
CC: netfilter@lists.netfilter.org
Onderwerp: RE: per user IP adresses
I think what you want to do is continue to use your rule that drops all
IRC
packets, but then add a rule that will -m --mac yo:ur:ma:ca:dd:re:ss and
-j
ACCEPT for IRC ports. Remember to put the match rule for your MAC
address
after the drop rule since the rules are processed in order!
Khanh Tran
Network Operations
Sarah Lawrence College
-----Original Message-----
From: John Guntenaar [mailto:john@guntenaar.nl]
Sent: Sunday, May 04, 2003 3:19 PM
To: netfilter@lists.netfilter.org
Subject: RE: per user IP adresses
I think you didn't understand my question,
Ofcourse I can just set open that IP address, but I only want it to be
open for my own user (so the other users CAN'T use the IP)
I think I need things like -m owner --owner-uid or something but I can't
figure out a good rule, I get errors on everything I try :(
John
-----Oorspronkelijk bericht-----
Van: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] Namens SaVaGE
Verzonden: zondag 4 mei 2003 21:19
Aan: netfilter@lists.netfilter.org
Onderwerp: Re: per user IP adresses
Op zondag 4 mei 2003 20:38, schreef John Guntenaar:
> Hello,
>
> I have a linux machine with 4 IP addresses, I have a couple of friends
> on that machine and I don't allow them to use IRC, so I simply blocked
> the IRC ports, but I want to use IRC from the 4th IP without the other
> users being able to use it. I think I can reach that goal by using the
> owner match facility of iptables, though I can't find any good
examples
> with google, is it correct and can somebody post an example?
>
> Thanks in advantage,
>
> John
this one is very easy , you can use the same rule , you used before ,
but now
you say : .......... -s ! $4th_ip -j DROP
Pascal
next prev parent reply other threads:[~2003-05-05 8:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-05 0:09 per user IP adresses Khanh Tran
2003-05-05 8:30 ` John Guntenaar [this message]
2003-05-05 12:09 ` Arnt Karlsen
-- strict thread matches above, loose matches on Subject: below --
2003-05-04 18:38 John Guntenaar
2003-05-04 19:19 ` SaVaGE
2003-05-04 19:18 ` John Guntenaar
2003-05-06 9:48 ` Chris Wilson
2003-05-05 23:46 ` Joel Newkirk
2003-05-06 8:37 ` John Guntenaar
2003-05-06 13:16 ` Joel Newkirk
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='000401c312e0$8bf85d70$0200a8c0@WKSJOHN' \
--to=john@guntenaar.nl \
--cc=khanh@slc.edu \
--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