netdev
[Top] [All Lists]

Masquerading Portrange in 2.4.0

To: netfilter@xxxxxxxxxxxxxxx
Subject: Masquerading Portrange in 2.4.0
From: Thomas Kerpe <kerpe@xxxxxxxxxx>
Date: Tue, 23 Jan 2001 14:34:40 +0100
List-archive: http://lists.samba.org/pipermail/netfilter/
List-help: <mailto:netfilter-request@lists.samba.org?subject=help>
List-id: Netfilter discussions <netfilter.lists.samba.org>
List-post: <mailto:netfilter@lists.samba.org>
List-subscribe: <http://lists.samba.org/listinfo/netfilter>, <mailto:netfilter-request@lists.samba.org?subject=subscribe>
List-unsubscribe: <http://lists.samba.org/listinfo/netfilter>, <mailto:netfilter-request@lists.samba.org?subject=unsubscribe>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hello!

I am wondering about the hard-coded Masquerading Port-Range
in net/ipv4/netfilter/ip_fw_compat_masq.c (kernel 2.4.0) 
In the 2.2.x Kernel hirarchy the Masquerading Ports could be 
changed in an include file. It doesnt look so pretty...

 range = ((struct ip_nat_multi_range)
                         { 1,
                           {{IP_NAT_RANGE_MAP_IPS|IP_NAT_RANGE_PROTO_SPECIFIED,
                             newsrc, newsrc,
                             { htons(61000) }, { htons(65095) } } } });

Greets... 
Thomas Kerpe

Attachment: pgpzZEG5X3PSa.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • Masquerading Portrange in 2.4.0, Thomas Kerpe <=