* [LARTC] Restrict access to certain ips.
@ 2003-04-13 20:20 Thilo Schulz
0 siblings, 0 replies; 2+ messages in thread
From: Thilo Schulz @ 2003-04-13 20:20 UTC (permalink / raw)
To: lartc
Hello,
I have a machine with several ips. My goal is to only allow access to one ip
for a certain user. for example 192.168.1.11 may only be used by UID 1001
I have found in the man page for bind following errno numeric:
> EACCES The address is protected, and the user is not the super-user.
Is it possible to restrict access to certain ips to certain uids?
- Thilo Schulz
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Restrict access to certain ips.
@ 2003-05-01 3:24 Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-05-01 3:24 UTC (permalink / raw)
To: lartc
Thilo,
Did you ever receive an answer on this question?
Also--a question of clarification....
Do you mean that only UID 1001 should be allowed to bind to 192.168.1.11
for outbound packets?
If so, then, why not try this:
iptables -I OUTPUT -o $OUTDEV -m owner ! --uid-owner 1001 -j DROP
Is that what you wished to accomplish?
-Martin
: Hello,
:
: I have a machine with several ips. My goal is to only allow access to one ip
: for a certain user. for example 192.168.1.11 may only be used by UID 1001
:
: I have found in the man page for bind following errno numeric:
: > EACCES The address is protected, and the user is not the super-user.
:
: Is it possible to restrict access to certain ips to certain uids?
:
: - Thilo Schulz
: _______________________________________________
: LARTC mailing list / LARTC@mailman.ds9a.nl
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-01 3:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-13 20:20 [LARTC] Restrict access to certain ips Thilo Schulz
-- strict thread matches above, loose matches on Subject: below --
2003-05-01 3:24 Martin A. Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.