<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thank you for all your help.<br>
      <br>
      The de-nat with dual-flow isolation works great.  I tested it
      simultaneously with two separate virtual machines, one running a
      Flent 50 flows download test and the other running a Flent 8 flows
      download test.  Throughput was even between the machines, and the
      latency was great.<br>
      <br>
      Noah Causin</p>
    <br>
    <div class="moz-cite-prefix">On 9/27/2016 11:28 AM, Kevin
      Darbyshire-Bryant wrote:<br>
    </div>
    <blockquote
      cite="mid:e4c3e32e-68bd-7cba-da13-3a68e17a5dac@darbyshire-bryant.me.uk"
      type="cite">LEDE already has a patch included in the basefiles
      'iproute2' package to make tc cake aware.  If you replace
      package/network/utils/iproute2/patches/950-add-cake-to-tc.patch
      (which is unaware of the nat options) with the attached nat option
      aware version then recompile, you should find you've a 'natted
      cake' capable version of the iproute utilities without adding
      extra packages, feeds etc.
      <br>
      <br>
      I've not yet got around to adding a 'de-nat ipv6' option, so
      assuming you've built my latest version of cake, it can be
      configured to de-nat ipv4 but not ipv6.
      <br>
      <br>
      Similarly I've not updated the LEDE stuff as I'd rather like some
      code review/testing done before it gets pushed out....and I get
      shouted at lots :-)
      <br>
      <br>
      Kevin
      <br>
      <br>
      <br>
      On 27/09/16 15:52, Noah Causin wrote:
      <br>
      <blockquote type="cite">Thank you for helping me get cake to
        compile on LEDE.
        <br>
        <br>
        The issue I have now is getting tc-adv to compile.
        <br>
        <br>
        I use this MakeFile:
        <br>
<a class="moz-txt-link-freetext" href="https://github.com/antoinedeschenes/openwrt-sqm/tree/master/net/tc-adv">https://github.com/antoinedeschenes/openwrt-sqm/tree/master/net/tc-adv</a>
        <br>
        <br>
        I use these commands to compile it:
        <br>
        <br>
        make package/feeds/sqm/tc-adv/clean -j 1 V=s
        <br>
        make package/feeds/sqm/tc-adv/prepare
        <br>
        USE_SOURCE_DIR=/home/n0man/Desktop/denat/ -j 1 V=s
        <br>
        make package/feeds/sqm/tc-adv/compile -j 1 V=s
        <br>
        <br>
        These are the errors I get:
        <br>
        <br>
        *namespace.c: In function 'bind_etc':**
        <br>
        **namespace.c:18:22: error: 'MAXPATHLEN' undeclared (first use
        in this
        <br>
        function)**
        <br>
        **  char etc_netns_path[MAXPATHLEN];**
        <br>
        **                      ^**
        <br>
        **namespace.c:18:22: note: each undeclared identifier is
        reported only
        <br>
        once for each function it appears in**
        <br>
        **namespace.c:20:7: warning: unused variable 'etc_name'
        <br>
        [-Wunused-variable]**
        <br>
        **  char etc_name[MAXPATHLEN];**
        <br>
        **       ^**
        <br>
        **namespace.c:19:7: warning: unused variable 'netns_name'
        <br>
        [-Wunused-variable]**
        <br>
        **  char netns_name[MAXPATHLEN];**
        <br>
        **       ^**
        <br>
        **namespace.c:18:7: warning: unused variable 'etc_netns_path'
        <br>
        [-Wunused-variable]**
        <br>
        **  char etc_netns_path[MAXPATHLEN];**
        <br>
        **       ^**
        <br>
        **namespace.c: In function 'netns_switch':**
        <br>
        **namespace.c:46:16: error: 'MAXPATHLEN' undeclared (first use
        in this
        <br>
        function)**
        <br>
        **  char net_path[MAXPATHLEN];**
        <br>
        **                ^**
        <br>
        **namespace.c:46:7: warning: unused variable 'net_path'
        <br>
        [-Wunused-variable]**
        <br>
        **  char net_path[MAXPATHLEN];**
        <br>
        **       ^**
        <br>
        **namespace.c: In function 'netns_get_fd':**
        <br>
        **namespace.c:90:15: error: 'MAXPATHLEN' undeclared (first use
        in this
        <br>
        function)**
        <br>
        **  char pathbuf[MAXPATHLEN];**
        <br>
        **               ^**
        <br>
        **namespace.c:90:7: warning: unused variable 'pathbuf'
        [-Wunused-variable]**
        <br>
        **  char pathbuf[MAXPATHLEN];**
        <br>
        **       ^**
        <br>
        **<builtin>: recipe for target 'namespace.o' failed**
        <br>
        **make[4]: *** [namespace.o] Error 1**
        <br>
        **make[4]: Leaving directory '/home/n0man/Desktop/denat/lib'*
        <br>
        <br>
        Any help would be appreciated.
        <br>
        <br>
        Thank you,
        <br>
        <br>
        Noah Causin
        <br>
        <br>
        On 9/26/2016 10:32 PM, Kevin Darbyshire-Bryant wrote:
        <br>
        <blockquote type="cite">Easy fix.  See the added DEPENDS line in
          the attached patch for the
          <br>
          package Makefile :-)
          <br>
          <br>
          I'm guessing you've updated the git checkout hash to point at
          a
          <br>
          suitable place.
          <br>
          <br>
          Cheers,
          <br>
          <br>
          Kevin
          <br>
          <br>
          <br>
          <br>
          On 27/09/16 02:52, Noah Causin wrote:
          <br>
          <blockquote type="cite">I've been trying to compile this on
            LEDE, but I get this error:
            <br>
            <br>
            Package kmod-sched-cake is missing dependencies for the
            following
            <br>
            libraries:
            <br>
            nf_conntrack.ko
            <br>
            <br>
            <br>
          </blockquote>
          <br>
          <br>
          _______________________________________________
          <br>
          Cake mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://lists.bufferbloat.net/listinfo/cake">https://lists.bufferbloat.net/listinfo/cake</a>
          <br>
        </blockquote>
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        Cake mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://lists.bufferbloat.net/listinfo/cake">https://lists.bufferbloat.net/listinfo/cake</a>
        <br>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cake mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a>
<a class="moz-txt-link-freetext" href="https://lists.bufferbloat.net/listinfo/cake">https://lists.bufferbloat.net/listinfo/cake</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>