All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Routing based on user id or process name
@ 2001-12-15  4:35 Stephen
  2001-12-15 10:49 ` s I n
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stephen @ 2001-12-15  4:35 UTC (permalink / raw)
  To: lartc

Hi
I was wondering if the was a method of choosing a default route based on
the local user id or process name? 

Thanks
Stephen


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Routing based on user id or process name
  2001-12-15  4:35 [LARTC] Routing based on user id or process name Stephen
@ 2001-12-15 10:49 ` s I n
  2001-12-15 13:35 ` bert hubert
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: s I n @ 2001-12-15 10:49 UTC (permalink / raw)
  To: lartc


You are in luck. You can use iptables to mark pachets belonging to a user
and then use iproute2 to route them accordingly.


On Sat, 15 Dec 2001, Stephen wrote:

> Hi
> I was wondering if the was a method of choosing a default route based on
> the local user id or process name?
>
> Thanks
> Stephen
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Routing based on user id or process name
  2001-12-15  4:35 [LARTC] Routing based on user id or process name Stephen
  2001-12-15 10:49 ` s I n
@ 2001-12-15 13:35 ` bert hubert
  2001-12-16 11:45 ` Stephen
  2001-12-16 13:07 ` bert hubert
  3 siblings, 0 replies; 5+ messages in thread
From: bert hubert @ 2001-12-15 13:35 UTC (permalink / raw)
  To: lartc

On Sat, Dec 15, 2001 at 12:49:39PM +0200, s I n wrote:
> 
> You are in luck. You can use iptables to mark pachets belonging to a user
> and then use iproute2 to route them accordingly.

do so by using policy routes (rules), and select the rule based on the
fwmark.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Routing based on user id or process name
  2001-12-15  4:35 [LARTC] Routing based on user id or process name Stephen
  2001-12-15 10:49 ` s I n
  2001-12-15 13:35 ` bert hubert
@ 2001-12-16 11:45 ` Stephen
  2001-12-16 13:07 ` bert hubert
  3 siblings, 0 replies; 5+ messages in thread
From: Stephen @ 2001-12-16 11:45 UTC (permalink / raw)
  To: lartc

however im using 2.2.x so I guess Im not in luck then?

On Sat, 15 Dec 2001, s I n wrote:

> Date: Sat, 15 Dec 2001 12:49:39 +0200 (EET)
> From: s I n <sin@Aniela.EU.ORG>
> To: Stephen <meridian@tha.net>
> Cc: lartc@mailman.ds9a.nl
> Subject: Re: [LARTC] Routing based on user id or process name
> 
> 
> You are in luck. You can use iptables to mark pachets belonging to a user
> and then use iproute2 to route them accordingly.
> 
> 
> On Sat, 15 Dec 2001, Stephen wrote:
> 
> > Hi
> > I was wondering if the was a method of choosing a default route based on
> > the local user id or process name?
> >
> > Thanks
> > Stephen
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Routing based on user id or process name
  2001-12-15  4:35 [LARTC] Routing based on user id or process name Stephen
                   ` (2 preceding siblings ...)
  2001-12-16 11:45 ` Stephen
@ 2001-12-16 13:07 ` bert hubert
  3 siblings, 0 replies; 5+ messages in thread
From: bert hubert @ 2001-12-16 13:07 UTC (permalink / raw)
  To: lartc

On Sun, Dec 16, 2001 at 10:45:21PM +1100, Stephen wrote:

> however im using 2.2.x so I guess Im not in luck then?

You now have a prime opportunity to upgrade!

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-16 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-15  4:35 [LARTC] Routing based on user id or process name Stephen
2001-12-15 10:49 ` s I n
2001-12-15 13:35 ` bert hubert
2001-12-16 11:45 ` Stephen
2001-12-16 13:07 ` bert hubert

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.