From: Mojtaba <mespio@gmail.com>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: working with libnetfilter_queue and linbetfilter_contrack
Date: Tue, 18 Jun 2019 18:09:38 +0430 [thread overview]
Message-ID: <CABVi_Ey3cHVdnpzRFo_yPFKkPveXeia7WBV4S9iPxPotLkCpuQ@mail.gmail.com> (raw)
In-Reply-To: <20190618132350.phtpv2vhteplfj32@breakpoint.cc>
Thanks a lot.
Then let me describe what i am doing.
In VoIP networks, One of the ways to solve the one-way audio issue is
TURN. In this case both endpoint have to send their media (voice as
RTP) to server. In this conditions the server works as B2BUA. Because
of the server is processing the media (get media from one hand and
relay it to another hand), It usages a lot of resource of server. So I
am implementing a new module to do this in kernel level. I test this
idea in my laboratory by adding conntrack entry manually in server and
all things works great. But i need to get more idea to do this
project in best way and high performance, because the QoS very
importance in VoIP networks. What is the best way? Let me know more
about this.
With Best Regards.Mojtaba
On Tue, Jun 18, 2019 at 5:53 PM Florian Westphal <fw@strlen.de> wrote:
>
> Mojtaba <mespio@gmail.com> wrote:
> > Thanks Florian so much.
> > According the last paragraf of email i get the best way is i should use
> > libnetfilter_conntrack to insert a new conntrack entry in my userspace that
> > is called from raw PREROUTING table as NQUEUE callback queue.
> > Is it right underestanding?
>
> Yes, but since you did not exactly say what you're trying to do
> there might be better ways (ipvs, nft maps, etc).
>
> Nfqueue is slow.
--
--Mojtaba Esfandiari.S
next prev parent reply other threads:[~2019-06-18 13:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 9:42 working with libnetfilter_queue and linbetfilter_contrack Mojtaba
2019-06-18 9:46 ` Mojtaba
2019-06-18 9:50 ` Florian Westphal
2019-06-18 10:24 ` Mojtaba
[not found] ` <CABVi_EyyV6jmB8SxuiUKpHzL9NwMLUA1TPk3X=SOq58BFdG9vA@mail.gmail.com>
2019-06-18 10:56 ` Florian Westphal
[not found] ` <CABVi_ExMpOnaau6sroSXd=Zzc4=F6t0Hv5iCm16q0jxqp5Tjkg@mail.gmail.com>
2019-06-18 13:23 ` Florian Westphal
2019-06-18 13:39 ` Mojtaba [this message]
2019-06-18 14:00 ` Florian Westphal
2019-06-19 6:50 ` Mojtaba
2019-06-24 8:30 ` Mojtaba
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=CABVi_Ey3cHVdnpzRFo_yPFKkPveXeia7WBV4S9iPxPotLkCpuQ@mail.gmail.com \
--to=mespio@gmail.com \
--cc=fw@strlen.de \
--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).