Value present in [] inside iptables rules

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












After reading all articles I got that the number inside [:] means packet counter and bytes counter.



But what I did not understand and did not find anywhere is what the number means and important. I mean when
I write [0:0] ---> what I came to know is that it will accept all data coming from any network.
When will I write [7752:8249066] what will happen? Please clear me this and how I will decide which number to use?







share|improve this question























    up vote
    -1
    down vote

    favorite












    After reading all articles I got that the number inside [:] means packet counter and bytes counter.



    But what I did not understand and did not find anywhere is what the number means and important. I mean when
    I write [0:0] ---> what I came to know is that it will accept all data coming from any network.
    When will I write [7752:8249066] what will happen? Please clear me this and how I will decide which number to use?







    share|improve this question





















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      After reading all articles I got that the number inside [:] means packet counter and bytes counter.



      But what I did not understand and did not find anywhere is what the number means and important. I mean when
      I write [0:0] ---> what I came to know is that it will accept all data coming from any network.
      When will I write [7752:8249066] what will happen? Please clear me this and how I will decide which number to use?







      share|improve this question











      After reading all articles I got that the number inside [:] means packet counter and bytes counter.



      But what I did not understand and did not find anywhere is what the number means and important. I mean when
      I write [0:0] ---> what I came to know is that it will accept all data coming from any network.
      When will I write [7752:8249066] what will happen? Please clear me this and how I will decide which number to use?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Apr 18 at 11:16









      Prashant Pathak

      31




      31




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          According to this other Answer
          What do numbers in INPUT,FORWARD,OUTPUT chains mean in iptables config file?

          The Numbers in Brackets are Statistical Values that the Command iptables-save reads from the running Firewall representing the Traffic that has been filters by the Chain.



          You cannot assign them your own Values for any desired Traffic Rates or Bandwidth.

          Values like



          *filter
          :FORWARD ACCEPT [0:0]


          simply mean that this Chain never had been used. Likely because it does not have any Rule.






          share|improve this answer





















          • It makes 100% sense now, Thanks for this clarity.
            – Prashant Pathak
            Apr 18 at 13:02










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438488%2fvalue-present-in-inside-iptables-rules%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          According to this other Answer
          What do numbers in INPUT,FORWARD,OUTPUT chains mean in iptables config file?

          The Numbers in Brackets are Statistical Values that the Command iptables-save reads from the running Firewall representing the Traffic that has been filters by the Chain.



          You cannot assign them your own Values for any desired Traffic Rates or Bandwidth.

          Values like



          *filter
          :FORWARD ACCEPT [0:0]


          simply mean that this Chain never had been used. Likely because it does not have any Rule.






          share|improve this answer





















          • It makes 100% sense now, Thanks for this clarity.
            – Prashant Pathak
            Apr 18 at 13:02














          up vote
          0
          down vote



          accepted










          According to this other Answer
          What do numbers in INPUT,FORWARD,OUTPUT chains mean in iptables config file?

          The Numbers in Brackets are Statistical Values that the Command iptables-save reads from the running Firewall representing the Traffic that has been filters by the Chain.



          You cannot assign them your own Values for any desired Traffic Rates or Bandwidth.

          Values like



          *filter
          :FORWARD ACCEPT [0:0]


          simply mean that this Chain never had been used. Likely because it does not have any Rule.






          share|improve this answer





















          • It makes 100% sense now, Thanks for this clarity.
            – Prashant Pathak
            Apr 18 at 13:02












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          According to this other Answer
          What do numbers in INPUT,FORWARD,OUTPUT chains mean in iptables config file?

          The Numbers in Brackets are Statistical Values that the Command iptables-save reads from the running Firewall representing the Traffic that has been filters by the Chain.



          You cannot assign them your own Values for any desired Traffic Rates or Bandwidth.

          Values like



          *filter
          :FORWARD ACCEPT [0:0]


          simply mean that this Chain never had been used. Likely because it does not have any Rule.






          share|improve this answer













          According to this other Answer
          What do numbers in INPUT,FORWARD,OUTPUT chains mean in iptables config file?

          The Numbers in Brackets are Statistical Values that the Command iptables-save reads from the running Firewall representing the Traffic that has been filters by the Chain.



          You cannot assign them your own Values for any desired Traffic Rates or Bandwidth.

          Values like



          *filter
          :FORWARD ACCEPT [0:0]


          simply mean that this Chain never had been used. Likely because it does not have any Rule.







          share|improve this answer













          share|improve this answer



          share|improve this answer











          answered Apr 18 at 11:47









          Bodo Hugo Barwich

          915




          915











          • It makes 100% sense now, Thanks for this clarity.
            – Prashant Pathak
            Apr 18 at 13:02
















          • It makes 100% sense now, Thanks for this clarity.
            – Prashant Pathak
            Apr 18 at 13:02















          It makes 100% sense now, Thanks for this clarity.
          – Prashant Pathak
          Apr 18 at 13:02




          It makes 100% sense now, Thanks for this clarity.
          – Prashant Pathak
          Apr 18 at 13:02












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438488%2fvalue-present-in-inside-iptables-rules%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?