All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Content based Routing
@ 2002-09-12 15:07 Andrew J. Barbara
  2002-09-12 15:11 ` Martin A. Brown
  2002-09-12 19:52 ` Jose Luis Domingo Lopez
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew J. Barbara @ 2002-09-12 15:07 UTC (permalink / raw)
  To: lartc

Just a quick question...
Is there a way to do content based routing (i.e. routing based on a TCP
or UDP port) without using iptables, i.e. using the ip command?

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

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

* Re: [LARTC] Content based Routing
  2002-09-12 15:07 [LARTC] Content based Routing Andrew J. Barbara
@ 2002-09-12 15:11 ` Martin A. Brown
  2002-09-12 19:52 ` Jose Luis Domingo Lopez
  1 sibling, 0 replies; 3+ messages in thread
From: Martin A. Brown @ 2002-09-12 15:11 UTC (permalink / raw)
  To: lartc


Nope.

You can use ipchains/iptables to fwmark a packet and then route based on 
fwmark (which needs to be supported by your kernel).

-Martin

 : Just a quick question...
 : Is there a way to do content based routing (i.e. routing based on a TCP
 : or UDP port) without using iptables, i.e. using the ip command?
 : 
 : Thanks
 : Andrew
 : _______________________________________________
 : 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] 3+ messages in thread

* Re: [LARTC] Content based Routing
  2002-09-12 15:07 [LARTC] Content based Routing Andrew J. Barbara
  2002-09-12 15:11 ` Martin A. Brown
@ 2002-09-12 19:52 ` Jose Luis Domingo Lopez
  1 sibling, 0 replies; 3+ messages in thread
From: Jose Luis Domingo Lopez @ 2002-09-12 19:52 UTC (permalink / raw)
  To: lartc

On Thursday, 12 September 2002, at 23:07:46 +0800,
Andrew J. Barbara wrote:

> Just a quick question...
> Is there a way to do content based routing (i.e. routing based on a TCP
> or UDP port) without using iptables, i.e. using the ip command?
> 
It doesn't seem to be possible with just "ip", as neither "ip rule" nor
"ip route" have "selectors" for transport-level port. But you have
ipchains/iptables to mark packets and "ip" to route them based on the
mark put on them.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-09-12 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12 15:07 [LARTC] Content based Routing Andrew J. Barbara
2002-09-12 15:11 ` Martin A. Brown
2002-09-12 19:52 ` Jose Luis Domingo Lopez

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.