Displaying 3 results from an estimated 3 matches for "maniptyp".
Did you mean:
maniptype
2005 Oct 14
5
[PATCH] Fix NAT for domU checksum offload
...<linux/netfilter_ipv4/ip_nat.h>
+#include <linux/netfilter_ipv4/ip_nat_rule.h>
+#include <linux/netfilter_ipv4/ip_nat_protocol.h>
+#include <linux/netfilter_ipv4/ip_nat_core.h>
+
+static int
+tcp_in_range(const struct ip_conntrack_tuple *tuple,
+ enum ip_nat_manip_type maniptype,
+ const union ip_conntrack_manip_proto *min,
+ const union ip_conntrack_manip_proto *max)
+{
+ u_int16_t port;
+
+ if (maniptype == IP_NAT_MANIP_SRC)
+ port = tuple->src.u.tcp.port;
+ else
+ port = tuple->dst.u.tcp.port;
+
+ return ntohs(port) >= ntohs(min->tcp.port)
+ &a...
2002 May 08
0
Security Advisory
...would normally apply a dst manip, we apply
a src, and vice versa. */
- if (info->manips[i].hooknum =3D=3D opposite_hook[hooknum]) {
+ if (map_innards(info->manips[i].hooknum, hooknum)) {
DEBUGP("icmp_reply: inner %s -> %u.%u.%u.%u %u\n",
info->manips[i].maniptype =3D=3D IP_NAT_MANIP_SRC
? "DST" : "SRC",
diff -urN linux-2.4.19-pre6.orig/net/ipv4/netfilter/ipt_REJECT.c linux-2.4.=
19-pre6-nf-01/net/ipv4/netfilter/ipt_REJECT.c
--- linux-2.4.19-pre6.orig/net/ipv4/netfilter/ipt_REJECT.c Sun Apr 7 15:27=
:29 2002
+++ linux-2.4.19-...
2006 Feb 24
2
r56 - trunk/debian
...:29.000000000 +0200
-+++ linux-2.6.12-xen/net/ipv4/netfilter/ip_nat_proto_tcp.c 2006-02-17 00:45:18.264516719 +0100
++++ linux-2.6.12-xen/net/ipv4/netfilter/ip_nat_proto_tcp.c 2006-02-25 00:12:33.822986561 +0100
@@ -40,7 +40,8 @@ tcp_unique_tuple(struct ip_conntrack_tup
enum ip_nat_manip_type maniptype,
const struct ip_conntrack *conntrack)
@@ -103884,7 +103887,7 @@
diff -Nurp pristine-linux-2.6.12/net/ipv4/netfilter/ip_nat_proto_tcp.c.orig linux-2.6.12-xen/net/ipv4/netfilter/ip_nat_proto_tcp.c.orig
--- pristine-linux-2.6.12/net/ipv4/netfilter/ip_nat_proto_tcp.c.orig 1970-01-01 01:00:0...