Re: iptables and ip_conntrack_amanda
2004-07-28 12:04:14
Owen Williams wrote:
Hi,
I've just upgraded one of my clients to Fedora Core 2,
2.6.6-1.435.2.3smp and want to try ip_conntrack_amanda (if its even
appropriate).
Make sure this patch is in:
http://lists.netfilter.org/pipermail/netfilter-devel/2004-June/015806.html
I have verified that it fixes my earlier problems with kernels
>=2.6.6-rc2<2.6.8-rc1 supporting ip_conntrack_amanda
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/06/20 22:45:31+02:00 kaber AT trash DOT net=20
# [NETFILTER]: Fix offset calculation in amanda conntrack helper
#=20
# net/ipv4/netfilter/ip_conntrack_amanda.c
# 2004/06/20 22:45:22+02:00 kaber AT trash DOT net +1 -1
# [NETFILTER]: Fix offset calculation in amanda conntrack helper
#=20
diff -Nru a/net/ipv4/netfilter/ip_conntrack_amanda.c b/net/ipv4/netfilter/i=
p_conntrack_amanda.c
--- a/net/ipv4/netfilter/ip_conntrack_amanda.c 2004-06-20 23:00:42 +02:00
+++ b/net/ipv4/netfilter/ip_conntrack_amanda.c 2004-06-20 23:00:42 +02:00
@@ -107,7 +107,7 @@
exp->mask.dst.u.tcp.port =3D 0xFFFF;
=20
exp_amanda_info =3D &exp->help.exp_amanda_info;
- exp_amanda_info->offset =3D data - amanda_buffer;
+ exp_amanda_info->offset =3D tmp - amanda_buffer;
exp_amanda_info->port =3D port;
exp_amanda_info->len =3D len;
=20
Does anyone have an example for /etc/sysconfig/iptables?
I haven't actually used the amanda_conntrack stuff so someonelse needs
to answer this.
/Andreas
|
|
|