Linux Netfilter discussions
 help / color / mirror / Atom feed
* UDP forwarding trouble
@ 2005-07-25 19:28 Pierre JUHEN
  2005-08-03 11:09 ` Nick Drage
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre JUHEN @ 2005-07-25 19:28 UTC (permalink / raw)
  To: netfilter

I have a problem with iptables.

This is the configuration

+---------+                 +---------+                 +---------+
|         |                 |         |                 |         |
|    A    +-----------------+    B    ++----------------+    C    |
|         |                 |         |                 |         |
+---------+                 +---------+                 +---------+

A sends UDP packets (ports p1, p2, p3) to C through B.

There is a continuous flow of UDP/p1 packets (10 packets/s) whilst
p2 and p3 are more seldom.

When I activate a rule to  redirect all UDP packets from A to B
the rule seems to be applied only to p2 and p3 ports, p1 packets
are still forwarded directly.

Is there a form of caching mechanism that explains the fact that
the packets are treated differently ?

Thanks for your help

Regards,

Pierre JUHEN





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

* Re: UDP forwarding trouble
  2005-07-25 19:28 UDP forwarding trouble Pierre JUHEN
@ 2005-08-03 11:09 ` Nick Drage
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Drage @ 2005-08-03 11:09 UTC (permalink / raw)
  To: netfilter

On Mon, Jul 25, 2005 at 09:28:28PM +0200, Pierre JUHEN wrote:
> I have a problem with iptables.
> 
> This is the configuration
> 
> +---------+                 +---------+                 +---------+
> |         |                 |         |                 |         |
> |    A    +-----------------+    B    ++----------------+    C    |
> |         |                 |         |                 |         |
> +---------+                 +---------+                 +---------+
> 
> A sends UDP packets (ports p1, p2, p3) to C through B.

If the packets are being sent from A to C...

> There is a continuous flow of UDP/p1 packets (10 packets/s) whilst
> p2 and p3 are more seldom.
> 
> When I activate a rule to  redirect all UDP packets from A to B
> the rule seems to be applied only to p2 and p3 ports, p1 packets
> are still forwarded directly.

...why do you need to redirect packets?

Are you sure that the three rules ( presumably ) dealing with the three
ports are all the same?  Can you post the rules here, with the necessary
obfuscation of course.

-- 
Any ship can be minesweeper, once.



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

end of thread, other threads:[~2005-08-03 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 19:28 UDP forwarding trouble Pierre JUHEN
2005-08-03 11:09 ` Nick Drage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox