From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) by dpdk.org (Postfix) with ESMTP id 8B3EB2BD9 for ; Fri, 15 Jul 2016 16:58:58 +0200 (CEST) Received: by mail-vk0-f51.google.com with SMTP id j126so104644272vkg.3 for ; Fri, 15 Jul 2016 07:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=UK0dfFzbyJmrjr/Cq3K1kmFb7dNvtrwf+UEUV9Kefcw=; b=hhZPL6ahznuwPKPyPvzqWDkqArDxMpbwtPygoH6D3mplkuGBbU1A1AUtUWTsxTvcGk gUzIoDNPKydbcY+nhdraRNkReZRoEWWZdthNzLJkLeC/uqIMAeo+Dbnp6nK+qTUNernH uvYS6wzrohOt1JO//IIo1vyWw/0sP6xWT24L2xITiTWrH3CyI3udLvJrQXPF4QkmOEM7 jr5NHg0qXzJOwoEQG+wL805quJEeXv6RCMFsWcPyqrZG0fzMODJIAuK6/gVGNDLDtY9w CWau55+gJXkn0r5CPCWBP64qE8SQjVxpyTx0ItXbfDPRvp/uaM/obPuMhOdb7r88c/cJ pT2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UK0dfFzbyJmrjr/Cq3K1kmFb7dNvtrwf+UEUV9Kefcw=; b=Q05PsLh56zpD5aUNgAXmJ/wdnxXrIjgH5xqNHfJvyvc3K1SHeBWryvK7gvtjBeQ1lo Uu0QpoHrggQG/xvKzYxSP5SjnoQOrvRgiYkog5bjuGKyLKlDdZHbOzQl+GrO3lci008/ CwK5Lf2xwapaPvtpuYpKRsMaw9JY05BqMGY2v9x5ho+5AL/gBBkxxxonqd2a2RS9V2q+ o8kBRUYhNqPi+5L/rez7IgF88pmy8fjyDG8eb93nBEvJdPvpBQ2CC+rUb/boL5A0mZiF 8qL68iITPWt+8UtmJLjSLZYwnbwsS2Kt4OfnbTFHV9Z5fHhJgDwuxjh2bZ2hHGejCWkX iNqw== X-Gm-Message-State: ALyK8tKxyiwnr9d/CPsFAYjQzRhI0EAj8pTKolwYPlRFrp9+ulKX4K4mlffy4XjbJChynIxfxTfbw34aTyOzbQ== X-Received: by 10.31.93.129 with SMTP id r123mr10058777vkb.149.1468594737964; Fri, 15 Jul 2016 07:58:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.69.140 with HTTP; Fri, 15 Jul 2016 07:58:57 -0700 (PDT) From: Tao Wang Date: Fri, 15 Jul 2016 22:58:57 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Request for a valid ip_pipeline example to configure firewall X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 14:58:58 -0000 Dear all, I am using the dpdp-16.04 in a qemu-kvm based CentOS7 VM. I am running the ip_pipeline example. However, I can not get firewall configured rightly according to the config files posted at http://dpdk.org/browse/dpdk/tree/examples/ip_pipeline/config. But there are some problems, 1) CLI command "p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 0xF port 0" returns "bad argument" 2) CLI command "p 1 firewall add default 4 #SINK0" returns "command failed" So how to configure it rightly? What's the right semantics of the CLI command for firewall? Wish for your reply. Best, Tao