Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS
@ 2002-02-14 22:49 Fabian Gervan
  2002-02-15 11:36 ` [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from Martin Devera
  2002-02-15 20:46 ` Re[2]: [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan
  0 siblings, 2 replies; 3+ messages in thread
From: Fabian Gervan @ 2002-02-14 22:49 UTC (permalink / raw)
  To: lartc

Martin:
I have problems after apply those patchs to kernel 2.4.17
"make modules" can't compile any "shed" modules.
Here I write a fragment for iplimit.patch

+ * netfilter module to limit the number of parallel tcp
+ * connections per IP address.
+ *   (c) 2000 Gerd Knorr <kraxel@bytesex.org>
+ *
+ * based on ...
+ *
+ * Kernel module to match connection tracking information.
+ * GPL (C) 1999  Rusty Russell (rusty@rustcorp.com.au).
+ */
+#include <linux/module.h>
+#include <linux/skbuff.h>
+#include <linux/list.h>
+#include <linux/netfilter_ipv4/ip_conntrack.h>
+#include <linux/netfilter_ipv4/ip_conntrack_core.h>
+#include <linux/netfilter_ipv4/ip_conntrack_tcp.h>
+#include <linux/netfilter_ipv4/ip_tables.h>
+#include <linux/netfilter_ipv4/ipt_iplimit.h>
+
+#define DEBUG 0
+
+/* we'll save the tuples of all connections we care about */
+struct ipt_iplimit_conn
+{
+        struct list_head list;
+       struct ip_conntrack_tuple tuple;
+};
+
[...]
Could be that IMQ conflict with this patch, and make modules fail?

-- 
Saludos,
 Fabian Gervan


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from
  2002-02-14 22:49 [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan
@ 2002-02-15 11:36 ` Martin Devera
  2002-02-15 20:46 ` Re[2]: [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Devera @ 2002-02-15 11:36 UTC (permalink / raw)
  To: lartc

it is hard to say. you didn't included make output
so that I have no clue what's going on. Does it compile Without
IMQ  ?
devik

On Thu, 14 Feb 2002, Fabian Gervan wrote:

> Martin:
> I have problems after apply those patchs to kernel 2.4.17
> "make modules" can't compile any "shed" modules.
> Here I write a fragment for iplimit.patch
> 
> + * netfilter module to limit the number of parallel tcp
> + * connections per IP address.
> + *   (c) 2000 Gerd Knorr <kraxel@bytesex.org>
> + *
> + * based on ...
> + *
> + * Kernel module to match connection tracking information.
> + * GPL (C) 1999  Rusty Russell (rusty@rustcorp.com.au).
> + */
> +#include <linux/module.h>
> +#include <linux/skbuff.h>
> +#include <linux/list.h>
> +#include <linux/netfilter_ipv4/ip_conntrack.h>
> +#include <linux/netfilter_ipv4/ip_conntrack_core.h>
> +#include <linux/netfilter_ipv4/ip_conntrack_tcp.h>
> +#include <linux/netfilter_ipv4/ip_tables.h>
> +#include <linux/netfilter_ipv4/ipt_iplimit.h>
> +
> +#define DEBUG 0
> +
> +/* we'll save the tuples of all connections we care about */
> +struct ipt_iplimit_conn
> +{
> +        struct list_head list;
> +       struct ip_conntrack_tuple tuple;
> +};
> +
> [...]
> Could be that IMQ conflict with this patch, and make modules fail?
> 
> -- 
> Saludos,
>  Fabian Gervan
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> 
> 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re[2]: [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS
  2002-02-14 22:49 [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan
  2002-02-15 11:36 ` [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from Martin Devera
@ 2002-02-15 20:46 ` Fabian Gervan
  1 sibling, 0 replies; 3+ messages in thread
From: Fabian Gervan @ 2002-02-15 20:46 UTC (permalink / raw)
  To: lartc

Hello Martin,

MD> it is hard to say. you didn't included make output
MD> so that I have no clue what's going on. Does it compile Without
MD> IMQ  ?
MD> devik
The problem is IPLIMIT PATCH+NEWNAT7, H323, (those annswer-me in the
netfilter-devel list)
Now i am using IMQ (I turned off iplimit), it work very well,
congratulations, but i have other problem:

Wipld (traffic monitor tool )don't show any information on eth0/1, ntop
neigther.
Also i attemp to configure both programs tu get imq information:
# ntop -i imq
ntop: listening on imq
ntop: unknown physical layer type 0xffff

Any idea?

-- 
Best regards,
 Fabian                            mailto:fabian1@inter-k.com.ar


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

end of thread, other threads:[~2002-02-15 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-14 22:49 [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan
2002-02-15 11:36 ` [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from Martin Devera
2002-02-15 20:46 ` Re[2]: [LARTC] problems with IMQ + Netfilter IP_LIMIT patch from netfilter CVS Fabian Gervan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox