From: Akshat Kakkar <akshat.1984@gmail.com>
To: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: NetFilter <netfilter-devel@vger.kernel.org>
Subject: Re: Nf_nat_h323 module not working with Panasonic VCs
Date: Tue, 27 Jul 2021 19:02:35 +0530 [thread overview]
Message-ID: <CAA5aLPgowRWm7JZm02LCGeOPz4E_dO+8FCCag+8aO4HDeLUQFQ@mail.gmail.com> (raw)
In-Reply-To: <e38ddbe-a47-efb1-e56f-457f5e426b18@netfilter.org>
Hi Jozsef,
For the VC which is working (i.e. VC2, IP:172.16.1.120) following are
the generated debug log:
[Jul27 17:29] nf_nat_q931: expect H.245 172.16.1.100:0->172.16.1.120:5516
[ +0.249944] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5506
[ +0.000021] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5507
[ +0.003265] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5508
[ +0.000011] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5509
[ +0.007606] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5506
[ +0.000012] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5507
[ +0.000010] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5506
[ +0.000004] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5507
[ +0.004337] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5508
[ +0.000010] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5509
[ +0.000007] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5508
[ +0.000007] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5509
[ +0.006028] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5510
[ +0.000011] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5511
[ +0.001171] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5510
[ +0.000008] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5511
[ +0.000006] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5510
[ +0.000003] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5511
[ +0.003261] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5512
[ +0.000011] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5513
[ +0.000006] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5512
[ +0.000003] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5513
[ +0.007889] nf_nat_h323: expect RTP 172.16.1.100:0->172.16.1.120:5512
[ +0.000012] nf_nat_h323: expect RTCP 172.16.1.100:0->172.16.1.120:5513
However, for the panasonic VC1 i.e. the VC which is having issue,
there are no debug log generated. absolutely nothing.
On Mon, Jul 26, 2021 at 1:13 PM Jozsef Kadlecsik <kadlec@netfilter.org> wrote:
>
> On Mon, 26 Jul 2021, Akshat Kakkar wrote:
>
> > MCU is using IP only to dial to VC1 and not hostname.
> >
> > I went through packet capture and find everything in line with the
> > standard. Just that it is sending "CS : Call Proceeding" packet which
> > is an optional packet but it is part of standard.
> > I can share pcap file if needed.
>
> Could you enable dynamic debugging in the kernel and enable it for the
> nf_conntrack_h323 module? Then please repeate the testing with the
> working and not working VCs and send the generated kernel debug log
> messages.
>
> Best regards,
> Jozsef
> > On Mon, Jul 26, 2021 at 2:11 AM Jozsef Kadlecsik <kadlec@netfilter.org> wrote:
> > >
> > > Hello,
> > >
> > > On Sat, 24 Jul 2021, Akshat Kakkar wrote:
> > >
> > > > I have 2 vc endpoints VC1 (Make:Panasonic, IP:10.1.1.11),
> > > > VC2(make:Polycom,IP: 10.1.1.12) and 1 MCU (172.16.1.100).
> > > >
> > > > There is a Linux firewall between VCs and MCU.
> > > >
> > > > There is one to one nat configured for these 2 VCs (10.1.1.11 <-->
> > > > 172.16.1.110, 10.1.1.12 <--> 172.16.1.120)
> > > > There is no natting for MCU IP as it is routable.
> > > >
> > > > nf_nat_h323 and nf_conntrack_h323 module is enabled in the firewall.
> > > >
> > > > When VC1 and VC2 initiate call to MCU, everything works fine. Video
> > > > call is successful for both VC1 and VC2. h245 IP address for tcp in
> > > > h225: CS connect packet is correctly replaced by the natted IP.
> > > >
> > > > However, when there is a dial out from MCU to VCs (i.e. MCU initiate
> > > > call to the natted IP (i.e. 172.16.1.110 and 172.16.1.120 of VCs),
> > > > natting works fine but h245 IP address for tcp in h225:CS is replaced
> > > > correctly only for VC2 and not for VC1. For VC1, it is still its
> > > > actual IP (i.e. 10.1.1.12 and not 172.16.1.120).
> > > >
> > > > Because of this, video call is successful only with VC2 and not with
> > > > VC1, when initiated from MCU. I tried with another panasonic VC
> > > > hardware, there was no change.
> > > >
> > > > Further packet dump analysis showed that for VC1, there are 3 h225
> > > > packets (setup, call proceeding and alert) before Connect message but
> > > > for VC2 there are only 2 h225 packets (setup and alert) before connect
> > > > message.
> > > >
> > > > Is there a bug in nf_nat_h323 module or am I missing something?
> > >
> > > It can be a bug/incompatibility with the H.323 implementation in the
> > > Panasonic device. However, first I'd make sure the MCU does not use
> > > hostname for VC1 instead of its IP address. Hostnames in the calls are not
> > > supported.
> > >
> > > Best regards,
> > > Jozsef
> > > -
> > > E-mail : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.hu
> > > PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
> > > Address : Wigner Research Centre for Physics
> > > H-1525 Budapest 114, POB. 49, Hungary
> >
>
> -
> E-mail : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.hu
> PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
> Address : Wigner Research Centre for Physics
> H-1525 Budapest 114, POB. 49, Hungary
next prev parent reply other threads:[~2021-07-27 13:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-24 15:53 Nf_nat_h323 module not working with Panasonic VCs Akshat Kakkar
2021-07-25 20:41 ` Jozsef Kadlecsik
2021-07-26 6:50 ` Akshat Kakkar
2021-07-26 7:43 ` Jozsef Kadlecsik
2021-07-27 13:32 ` Akshat Kakkar [this message]
2021-08-02 8:42 ` Akshat Kakkar
2021-08-02 18:20 ` Jozsef Kadlecsik
2021-08-03 6:33 ` Akshat Kakkar
2021-08-03 7:30 ` Akshat Kakkar
2021-08-03 8:07 ` Jozsef Kadlecsik
2021-08-03 8:03 ` Jozsef Kadlecsik
2021-08-03 8:04 ` Akshat Kakkar
2021-08-03 8:06 ` Akshat Kakkar
2021-08-03 11:44 ` Jozsef Kadlecsik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA5aLPgowRWm7JZm02LCGeOPz4E_dO+8FCCag+8aO4HDeLUQFQ@mail.gmail.com \
--to=akshat.1984@gmail.com \
--cc=kadlec@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).