From: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
To: "hkm73560@gmail.com" <hkm73560@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Where is rule_ipv4.db and rule_ipv6.db for l3pwd-acl example?
Date: Wed, 15 Apr 2015 09:35:35 +0000 [thread overview]
Message-ID: <2601191342CEEE43887BDE71AB97725821415AF5@irsmsx105.ger.corp.intel.com> (raw)
In-Reply-To: <CACuKTmN9j-saN=n-WrEuoZM0xZun+C3kOyPmq=wXpLBsgwNhmg@mail.gmail.com>
Hi
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ???
> Sent: Wednesday, April 15, 2015 3:40 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] Where is rule_ipv4.db and rule_ipv6.db for l3pwd-acl example?
>
> Hi,
> I can`t find the rule format files (rule_ipv4.db and rule_ipv6.db) so I
> can`t run the access control example.
>
> I wrote my own rule file based on rule file example in the sample app
> document, but the example stopped saying that "Cause: ./ipv4.txt Line 1:
> parse rules error".
> My rule file likes below:
> @1.2.3.0/24 192.168.0.36/32 0:65535 0:65535 6/0xfe 0
> R0.0.0.0/0 192.168.0.36/32 0:65535 0:65535 6/0xfe 1
> R0.0.0.0/0 0.0.0.0/0 0:65535 0:65535 6/0xfe 0
>
> what`s wrong with my rule file?
You need to put <space>(s) ans/or <tab>(s) between ports and ':':
-@1.2.3.0/24 192.168.0.36/32 0:65535 0:65535 6/0xfe 0
-R0.0.0.0/0 192.168.0.36/32 0:65535 0:65535 6/0xfe 1
-R0.0.0.0/0 0.0.0.0/0 0:65535 0:65535 6/0xfe 0
+@1.2.3.0/24 192.168.0.36/32 0 : 65535 0 : 65535 6/0xfe 0
+R0.0.0.0/0 192.168.0.36/32 0 : 65535 0 : 65535 6/0xfe 1
+R0.0.0.0/0 0.0.0.0/0 0 : 65535 0 : 65535 6/0xfe 0
>and where is the example rule files?
Good point, probably we need to add one.
Konstantin
next prev parent reply other threads:[~2015-04-15 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 2:40 황규민
2015-04-15 9:35 ` Ananyev, Konstantin [this message]
2015-04-15 14:16 ` Liu, Yong
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=2601191342CEEE43887BDE71AB97725821415AF5@irsmsx105.ger.corp.intel.com \
--to=konstantin.ananyev@intel.com \
--cc=dev@dpdk.org \
--cc=hkm73560@gmail.com \
/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).