* Re: Two comments on the H.323 conntrack/NAT helper
@ 2006-03-24 2:02 ` Patrick McHardy
0 siblings, 0 replies; 11+ messages in thread
From: Patrick McHardy @ 2006-03-24 2:02 UTC (permalink / raw)
To: Adrian Bunk
Cc: Jing Min Zhao, netdev, netfilter-devel, linux-kernel, zhaojingmin
[The hotmail address of the author doesn't work, CCed sourceforge-address]
Adrian Bunk wrote:
> Two comments on the H.323 conntrack/NAT helper:
> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
> please move them to a header file
Their ugliness is because of the current API, which cleaned up
quite a lot of the surrounding code, but requires this ugliness
from each helper. I would like to keep them visible as a reminder
that a cleaner solution is wanted, but moving them to header
files certainly sound like a good idea to eliminate the risk
of prototype conflicts. But please do this for all helpers
at once.
> - is there a reason for not using EXPORT_SYMBOL_GPL?
I would prefer that too.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 2:02 ` Patrick McHardy
@ 2006-03-24 2:40 ` Jing Min Zhao
-1 siblings, 0 replies; 11+ messages in thread
From: Jing Min Zhao @ 2006-03-24 2:40 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, netfilter-devel, zhaojingmin, linux-kernel, Jing Min Zhao
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>;
<netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
Sure, I'll do that.
Thanks
Jing Min Zhao
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
@ 2006-03-24 2:40 ` Jing Min Zhao
0 siblings, 0 replies; 11+ messages in thread
From: Jing Min Zhao @ 2006-03-24 2:40 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, zhaojingmin, netfilter-devel, Jing Min Zhao, linux-kernel
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>;
<netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
Sure, I'll do that.
Thanks
Jing Min Zhao
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 2:02 ` Patrick McHardy
@ 2006-03-24 19:02 ` Jing Min Zhao
-1 siblings, 0 replies; 11+ messages in thread
From: Jing Min Zhao @ 2006-03-24 19:02 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, netfilter-devel, zhaojingmin, linux-kernel
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>; <netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
I've moved those prototypes. But the move involves moving of two header files:
ip_conntrack_helper_h323_asn1.h and ip_conntrack_helper_h323_types.h.
This is because ip_conntrack_h323.h now has to include
ip_conntrack_helper_h323_asn1.h and thus ip_conntrack_helper_h323_types.h,
so they are moved from net/ipv4/netfilter/ to include/linux/netfilter_ipv4/ to
make sure other header files like ip_conntrack_h323.h and ip_conntrack.h
be able to find them.
Is this ok or you have a better idea?
Thanks a lot!
Jing Min Zhao
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
@ 2006-03-24 19:02 ` Jing Min Zhao
0 siblings, 0 replies; 11+ messages in thread
From: Jing Min Zhao @ 2006-03-24 19:02 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, zhaojingmin, netfilter-devel, linux-kernel
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>; <netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
I've moved those prototypes. But the move involves moving of two header files:
ip_conntrack_helper_h323_asn1.h and ip_conntrack_helper_h323_types.h.
This is because ip_conntrack_h323.h now has to include
ip_conntrack_helper_h323_asn1.h and thus ip_conntrack_helper_h323_types.h,
so they are moved from net/ipv4/netfilter/ to include/linux/netfilter_ipv4/ to
make sure other header files like ip_conntrack_h323.h and ip_conntrack.h
be able to find them.
Is this ok or you have a better idea?
Thanks a lot!
Jing Min Zhao
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 19:02 ` Jing Min Zhao
(?)
@ 2006-03-29 10:09 ` Patrick McHardy
2006-03-29 17:25 ` Jing Min Zhao
-1 siblings, 1 reply; 11+ messages in thread
From: Patrick McHardy @ 2006-03-29 10:09 UTC (permalink / raw)
To: Jing Min Zhao; +Cc: netfilter-devel, zhaojingmin
Jing Min Zhao wrote:
> I've moved those prototypes. But the move involves moving of two header
> files:
> ip_conntrack_helper_h323_asn1.h and ip_conntrack_helper_h323_types.h.
> This is because ip_conntrack_h323.h now has to include
> ip_conntrack_helper_h323_asn1.h and thus ip_conntrack_helper_h323_types.h,
> so they are moved from net/ipv4/netfilter/ to
> include/linux/netfilter_ipv4/ to
> make sure other header files like ip_conntrack_h323.h and ip_conntrack.h
> be able to find them.
>
> Is this ok or you have a better idea?
I can't think of a better solution as long as we have the typedefs.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-29 10:09 ` Patrick McHardy
@ 2006-03-29 17:25 ` Jing Min Zhao
0 siblings, 0 replies; 11+ messages in thread
From: Jing Min Zhao @ 2006-03-29 17:25 UTC (permalink / raw)
To: Patrick McHardy; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Jing Min Zhao" <zhaojingmin@hotmail.com>
Cc: <netfilter-devel@lists.netfilter.org>; <zhaojingmin@users.sourceforge.net>
Sent: Wednesday, March 29, 2006 5:09 AM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> Jing Min Zhao wrote:
>> I've moved those prototypes. But the move involves moving of two header
>> files:
>> ip_conntrack_helper_h323_asn1.h and ip_conntrack_helper_h323_types.h.
>> This is because ip_conntrack_h323.h now has to include
>> ip_conntrack_helper_h323_asn1.h and thus ip_conntrack_helper_h323_types.h,
>> so they are moved from net/ipv4/netfilter/ to
>> include/linux/netfilter_ipv4/ to
>> make sure other header files like ip_conntrack_h323.h and ip_conntrack.h
>> be able to find them.
>>
>> Is this ok or you have a better idea?
>
> I can't think of a better solution as long as we have the typedefs.
>
>
This is the new release against 2.6.16.
Changes:
1. Added new parameter "default_rrq_ttl". This is used to specify a default
timeToLive (in seconds) for registering an endpoint that doesn't send
keep-alive RRQ and there is no timeToLive in RRQ and RCF. In this
situation, normally the RAS connection and call signal expectation will
expire quickly (udp connection expire in 180 seconds by default). This may
not be what people want when they register endpoints for receiving calls.
By setting this parameter to a longer time, such endpoints like Netmeeting
can register once and stay alive for a longer time to receive calls from outside
of firewall. The default value is 300 (seconds).
2. Moved some extern function prototypes to ip_conntrack_h323.h
(suggested by Adrian Bunk)
3. Made get_h245_addr static (suggested by Adrian Bunk)
4. Changed to use EXPORT_SYMBOL_GPL (suggested by Adrian Bunk)
Best regards,
Jing Min Zhao
Signed-off-by: Jing Min Zhao <zhaojingmin@hotmail.com>
[-- Attachment #2: patch-2.6.16-nath323-0.7.bz2 --]
[-- Type: application/octet-stream, Size: 26858 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread