Re: Destination Nat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On June 2, 2004 07:19 am, John A. Sullivan III wrote:
> -p 6 is the same as -p tcp only a little faster as it does not have to
> look up tcp in the protocols file and translate it from tcp to 6.  UDP
> would be -p 17, ICMP -p 1, ESP -p 50, etc.

	That lookup would only be done when the rule was posted or loaded.
	Thus - the time saving is only on loading the rule.  
	I believe that the rule data is *all* stored in numeric form ...
	But I could be completely wrong on that front.

	Alistair.
>
> On Tue, 2004-06-01 at 23:38, John Black wrote:
> > thanks, ill give it a try tomorrow when i get to work.  what is the -p 6?
> > ----- Original Message -----
> > From: John A. Sullivan III <john.sullivan@xxxxxxxxxxxxx>
> > To: <black@xxxxxxxxx>
> > Cc: <netfilter@xxxxxxxxxxxxxxxxxxx>
> > Sent: Friday, May 28, 2004 8:56 PM
> > Subject: Re: Destination Nat
> >
> > > If I understand you correctly and remember your original rule, then I
> > > think you have it backward.  If you are changing the destination, you
> > > probably want to change it from the public address to the private
> > > address:
> >
> > john


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux