All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH pom-ng 0/5] RFC: ip_nat|conntrack_h323.c on 2.6, first preview
@ 2005-01-19  0:43 Max Kellermann
  2005-01-19  0:44 ` [PATCH pom-ng 1/5] update kernel requires Max Kellermann
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Max Kellermann @ 2005-01-19  0:43 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Robert Iakobashvili

Hi,

I have worked a bit on porting the H.323 conntrack module to Linux
2.6. Here is my first preview. Both connection tracking and NAT work
well in my home network (gnomemeeting and ohphone, tunneling
disabled).

It's still the old brute force method, no real protocol evaluation is
performed. I will implement that the "right" way after the port to the
Linux 2.6 API is finished and tested. The current algorithm is not
recommended for production environments, because it is insecure,
sometimes buggy and horribly inefficient.

The patches apply to patch-o-matic-ng from svn. Due to recent API
changes, you need kernel 2.6.10-mm2 or later. I am currently using
2.6.11-rc1.

Using the module is easy: patch your kernel as usual with
patch-o-matic-ng, enable H.323 connection tracking and NAT in the
kernel configuration, boot the new kernel. Now the module should see
all incoming, outgoing and forwarded TCP connections on port 1720, and
lets the state module know about them.

I would appreciate comments and discussion about my patches and the
H.323 module.

Max

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [PATCH pom-ng 0/5] RFC: ip_nat|conntrack_h323.c on 2.6, first preview
@ 2005-01-19 13:08 Robert Iakobashvili
  0 siblings, 0 replies; 13+ messages in thread
From: Robert Iakobashvili @ 2005-01-19 13:08 UTC (permalink / raw)
  To: Jozsef Kadlecsik, Herve Eychenne, Max Kellermann; +Cc: netfilter-devel

Thank you, Max, for your patches and Jozsef and Herve for discussion.

The architecture where a part of job done in kernel and 
another in user-space with communication
seems to have its performance penalties (although more flexibility
-similar 
To layer-7 application classifier project on the top of netfilter). 

Keeping in mind industry needs, user space intervention
better to be limited by just configuration/settings, 
putting classification rules/filters like BPF does.

Sincerely,
Robert Iakobashvili
roberti@gonetworks.com
   

-----Original Message-----
From: Jozsef Kadlecsik [mailto:kadlec@blackhole.kfki.hu] 
Sent: Wednesday, January 19, 2005 12:00 PM
To: Herve Eychenne
Cc: Max Kellermann; netfilter-devel@lists.netfilter.org; Robert
Iakobashvili
Subject: Re: [PATCH pom-ng 0/5] RFC: ip_nat|conntrack_h323.c on 2.6,
first preview

On Wed, 19 Jan 2005, Herve Eychenne wrote:

> > If you want to write a decent helper, then ethereal has got a H.323 
> > (ASN) decoder written in C, which could probably be re-used. :-)
>
> Yes... but do we really want a big ASN-1 parser in the kernel?
> Is there a nice way to have it rely on kernel facilities, while 
> staying in userspace though?

We don't really need the complete parsing of H.225/H.245 and that'd make
the code a little bit simpler.

If ctnetlink would be in the vanilla kernel, we could rely on it as
well:
the H.323 "helper" could just pass the packets to userspace for
inspection and the expectations would then set up from there.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu PGP key :
http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary

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

end of thread, other threads:[~2005-01-19 13:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-19  0:43 [PATCH pom-ng 0/5] RFC: ip_nat|conntrack_h323.c on 2.6, first preview Max Kellermann
2005-01-19  0:44 ` [PATCH pom-ng 1/5] update kernel requires Max Kellermann
2005-01-19  0:45 ` [PATCH pom-ng 2/5] author update Max Kellermann
2005-01-19  0:46   ` Max Kellermann
2005-01-19  0:45 ` [PATCH pom-ng 3/5] whitespace and indentation Max Kellermann
2005-01-19  0:47 ` [PATCH pom-ng 4/5] use c99 initializers Max Kellermann
2005-01-19  0:47 ` [PATCH pom-ng 5/5] port the module to Linux 2.6 Max Kellermann
2005-01-19  8:30 ` [PATCH pom-ng 0/5] RFC: ip_nat|conntrack_h323.c on 2.6, first preview Jozsef Kadlecsik
2005-01-19  8:48   ` Max Kellermann
2005-01-19  8:56   ` Herve Eychenne
2005-01-19  9:06     ` Max Kellermann
2005-01-19  9:59     ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2005-01-19 13:08 Robert Iakobashvili

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.