Question about divert in ipfw2 on 5.0 release

2003-02-28 Thread denb
I write program simular to natd, witch receives packets at divert port X. Question: On ipfw1 (FreeBSD 4.7) this rules work excellent: ipfw add divert X from any to any Y ipfw add divert X from any Y to any We're diverting all received and sended packets (from\to port Y) to divert port X. But th

Re: Why natd don't divert packets?

2003-03-07 Thread denb
Bernd Walter <[EMAIL PROTECTED]>: > On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote: > > This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0 (ipfw2). > > Why? > > This is an issue triggered by compiling libalias with -O2. > Recompile libalias withou

Why natd don't divert packets?

2003-03-07 Thread denb
Why natd don't divert packets? *screenshot*** #ipfw add divert tcp from any to any 7 #ipfw add divert tcp from any 7 to any #natd -v -p -a 172.16.0.102 -redirect_port tcp 172.16.0.253:7 7 In [TCP] [TCP] 172.16.0.104:49169 -> 172.16.0.102:7 aliased to

Re: Why natd don't divert packets?

2003-03-07 Thread denb
Clement Laforet <[EMAIL PROTECTED]>: > On Fri, 7 Mar 2003 11:02:06 +0300 (MSK) > denb <[EMAIL PROTECTED]> wrote: > > > Why natd don't divert packets? > > > > *screenshot*** > > > > #ipfw add divert tcp from