Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2004 18:07:25 -0300
From:      Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
To:        Kelly Yancey <kbyanc@posi.net>
Cc:        Dario Basso Cardoso <cardosodario@itelefonica.com.br>
Subject:   Re: FWD under bridged enviroment...
Message-ID:  <4122738D.1020607@freebsdbrasil.com.br>
In-Reply-To: <20040817125600.I2020@gateway.posi.net>
References:  <4120DA69.8080609@freebsdbrasil.com.br> <20040817125600.I2020@gateway.posi.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Right; I have checked it is really not fwding (ok should have done it 
before posting)...


              case O_FORWARD_IP:
                        if (args->eh)   /* not valid on layer2 pkts */
                               break;
                      if (!q || dyn_dir == MATCH_FORWARD)
                               args->next_hop =
                                   &((ipfw_insn_sa *)cmd)->sa;
                       retval = 0;
                       goto done;


I considered there was a chance it would already work, since the fwd 
rule counts packets.

Kelly, I remember you said once that you had modified the code in a 
different way Luigi had done and posted here (Rizzo's patch for 
revision); I considere patching ip_fw2.c and ip_input.c to get it 
working, where can I find your patches to read it?

I want to see the two ways it was done :}

Btw, (maybe Rizzo can comment) what's the reason it has not been 
commited when the patch was posted? :) It's a feature that is usually 
discussed (probably, maybe I should check the lists history before 
saying so, but I remember it got on topic a number times before...).

Thanks :)

 >   I believe I've mentioned having code to implement fwd for IPv4 packets
 > filtered from ether_input (net.link.ether.ipfw=1).  Unfortunately, the
 > patches are against 4.10.  If someone else doesn't implement it before
 > then, I plan on porting the functionality to 6-current (and then backport
 > to 5-stable) after 5.3 is released.
 >
 >   Kelly
 >

-- 
Atenciosamente,

Patrick Tracanelli

FreeBSD Brasil LTDA.
The FreeBSD pt_BR Documentation Project
http://www.freebsdbrasil.com.br
patrick @ freebsdbrasil.com.br
"Long live Hanin Elias, Kim Deal!"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4122738D.1020607>