netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help on firewall hooks
@ 2002-07-31  4:34 puja
  2002-08-08  9:31 ` TBF timing issues Gabriel Paues
  0 siblings, 1 reply; 3+ messages in thread
From: puja @ 2002-07-31  4:34 UTC (permalink / raw)
  To: netdev

Hello sir,

I wanted to clarify on some concepts in firewall hooks. I found FW_QUEUE 
as a return type in firewall hook functions in some codes which use 
firewall hooks. I wanted to know the significance of FW_QUEUE. When is 
this used as a return type in firewall hook functions ??

In the tcp/ip code for kernel 2.2.20, in ip_output.c; one of the 
comments says that when call_out_firewall returns FW_QUEUE silently drop 
the skb.
Can you please elaborate on this.


Thanks in advance
Regards
Puja Puri

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

* TBF timing issues
  2002-07-31  4:34 Help on firewall hooks puja
@ 2002-08-08  9:31 ` Gabriel Paues
  2002-08-10 14:34   ` jamal
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Paues @ 2002-08-08  9:31 UTC (permalink / raw)
  To: netdev

Hello!

I use the TBF filter with good results on my computer. When I set a rate
with the filter the traffic get shaped accordingly.

I have set up a couple of UML-instances (user-mode-linux) as a network
to test different QoS strategies. My problem is that the TBF calculates
the wrong rates. An UML-instance may get interrupted just like any other
program. Does the timing code in TBF presume that the kernel wont be 
interrupted, and therefore generates the wrong rates?

Ragards,

Gabriel Paues

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

* Re: TBF timing issues
  2002-08-08  9:31 ` TBF timing issues Gabriel Paues
@ 2002-08-10 14:34   ` jamal
  0 siblings, 0 replies; 3+ messages in thread
From: jamal @ 2002-08-10 14:34 UTC (permalink / raw)
  To: Gabriel Paues; +Cc: netdev


UML will never work well. The issue is related to the timer effects
in UML. I believe its more of a clock skew and innacuracy than TBF making
assumptions.

cheers,
jamal

On Thu, 8 Aug 2002, Gabriel Paues wrote:

> Hello!
>
> I use the TBF filter with good results on my computer. When I set a rate
> with the filter the traffic get shaped accordingly.
>
> I have set up a couple of UML-instances (user-mode-linux) as a network
> to test different QoS strategies. My problem is that the TBF calculates
> the wrong rates. An UML-instance may get interrupted just like any other
> program. Does the timing code in TBF presume that the kernel wont be
> interrupted, and therefore generates the wrong rates?
>
> Ragards,
>
> Gabriel Paues
>

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

end of thread, other threads:[~2002-08-10 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-31  4:34 Help on firewall hooks puja
2002-08-08  9:31 ` TBF timing issues Gabriel Paues
2002-08-10 14:34   ` jamal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).