netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem in h323 kernel module loading through CT target
@ 2012-10-16  7:51 Oguz Yilmaz
  2012-10-17 14:47 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Oguz Yilmaz @ 2012-10-16  7:51 UTC (permalink / raw)
  To: netfilter

Hello,

I try to enable h323 helper for specific internal hosts. However
system gives error "No such helper h323"
Actually when I enable modules without disabling
/proc/sys/net/netfilter/nf_conntrack_helper module seems work. Kernel
is 3.5.3.

What do you think the problem is?

Regards,

echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper

# iptables -A PREROUTING -t raw -p tcp -s 10.14.1.7 -j CT --helper h323
iptables: No chain/target/match by that name.

# dmesg  |grep -v lfp
[502137.581136] xt_CT: No such helper "h323"

# iptables -A PREROUTING -t raw -p tcp --dport 1720 -s 10.14.1.7 -j CT
--helper h323
iptables: No chain/target/match by that name.
[root@test14 ~]# dmesg  |grep -v lfp
[502289.808258] xt_CT: No such helper "h323"


# iptables -A PREROUTING -t raw -p tcp -s 10.14.1.7 -j CT --helper
h323 --notrack


# lsmod |grep 323
nf_nat_h323             4981  0
nf_conntrack_h323      45112  1 nf_nat_h323
nf_nat                 13980  4 iptable_nat,nf_nat_sip,nf_nat_h323,nf_nat_ftp
nf_conntrack           68100  13
xt_CT,xt_state,xt_connlimit,xt_connmark,iptable_nat,nf_nat_sip,nf_conntrack_sip,nf_nat_h323,nf_conntrack_h323,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp

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

* Re: problem in h323 kernel module loading through CT target
  2012-10-16  7:51 problem in h323 kernel module loading through CT target Oguz Yilmaz
@ 2012-10-17 14:47 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2012-10-17 14:47 UTC (permalink / raw)
  To: Oguz Yilmaz; +Cc: netfilter

On Tue, Oct 16, 2012 at 10:51:37AM +0300, Oguz Yilmaz wrote:
> Hello,
> 
> I try to enable h323 helper for specific internal hosts. However
> system gives error "No such helper h323"
> Actually when I enable modules without disabling
> /proc/sys/net/netfilter/nf_conntrack_helper module seems work. Kernel
> is 3.5.3.
> 
> What do you think the problem is?
> 
> Regards,
> 
> echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper
> 
> # iptables -A PREROUTING -t raw -p tcp -s 10.14.1.7 -j CT --helper h323
> iptables: No chain/target/match by that name.

h323 is a set of three helpers, you have to use the real names behind:

* RAS (usually port UDP/1719)
* Q.931 (usually port UDP/TCP/1720)
* H.245 (usually UDP)

You'll have use one per rule depending depending on what you need.

Let me you if you still hit problems.

> # dmesg  |grep -v lfp
> [502137.581136] xt_CT: No such helper "h323"
> 
> # iptables -A PREROUTING -t raw -p tcp --dport 1720 -s 10.14.1.7 -j CT
> --helper h323
> iptables: No chain/target/match by that name.
> [root@test14 ~]# dmesg  |grep -v lfp
> [502289.808258] xt_CT: No such helper "h323"
> 
> 
> # iptables -A PREROUTING -t raw -p tcp -s 10.14.1.7 -j CT --helper
> h323 --notrack
> 
> 
> # lsmod |grep 323
> nf_nat_h323             4981  0
> nf_conntrack_h323      45112  1 nf_nat_h323
> nf_nat                 13980  4 iptable_nat,nf_nat_sip,nf_nat_h323,nf_nat_ftp
> nf_conntrack           68100  13
> xt_CT,xt_state,xt_connlimit,xt_connmark,iptable_nat,nf_nat_sip,nf_conntrack_sip,nf_nat_h323,nf_conntrack_h323,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2012-10-17 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16  7:51 problem in h323 kernel module loading through CT target Oguz Yilmaz
2012-10-17 14:47 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).