Re: choosing outgoing interface based on process uid

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Imre Oolberg
Date: Saturday, September 18, 2010 - 2:59 pm

Hi!

I try to describe my understanding out the situation more closely and
hope you can guide me further

1. since packets are generated locally packet filter match them only on
outgoing direction
2. locally generated packets are routed according to the default routing
table
3. using route-to ($if_ext $if_ext_gw) construct on the pass out rule i
can't change the interface the packet it getting out, its already
decided, i can only choose the next hop gateway address with-in the
network the  $if_ext is in
4. using routing table with different default gateway with locally
generated packets seem not to be a solution, i guess its also too late
because the match is actually happening on the outgoing direction and
routing has already happened

match log user _squid tag FROM_SQUID rtable 1


Imre


roberth wrote:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
choosing outgoing interface based on process uid, Imre Oolberg, (Sat Sep 18, 10:12 am)
Re: choosing outgoing interface based on process uid, Imre Oolberg, (Sat Sep 18, 2:59 pm)
Re: choosing outgoing interface based on process uid, Stuart Henderson, (Sun Sep 19, 2:55 pm)
Re: choosing outgoing interface based on process uid, Imre Oolberg, (Mon Sep 20, 2:59 pm)