Add IPv6 support to qos.sh #9552

pull jamesmacwhite wants to merge 1 commits into bitcoin:master from jamesmacwhite:qos-ipv6 changing 2 files +24 −10
  1. jamesmacwhite commented at 9:17 AM on January 14, 2017: contributor

    Adds support for dual-stack Bitcoin coin nodes who might want to limit v6 traffic as well, if they are allowing incoming connections on both v4 and v6.

    It looks like tc doesn't work using the same prio value as v4, so it has to be different, hence a different mark value for v6.

    I have amended $LOCALNET to be $LOCALNET_V4 and LOCALNET_V6 respectively. The v6 stuff will not be used if $LOCALNET_V6 is blank.

  2. laanwj added the label Utils and libraries on Jan 16, 2017
  3. in contrib/qos/tc.sh:None in 321efbfee7 outdated
       7 | @@ -8,8 +8,10 @@ IF="eth0"
       8 |  LINKCEIL="1gbit"
       9 |  #limit outbound Bitcoin protocol traffic to this rate
      10 |  LIMIT="160kbit"
      11 | -#defines the address space for which you wish to disable rate limiting
      12 | -LOCALNET="192.168.0.0/16"
      13 | +#defines the IPv4 address space for which you wish to disable rate limiting
      14 | +LOCALNET_V4="192.168.0.0/16"
      15 | +#defines the IPv6 address space for which you wish to disable rate limiting
      16 | +LOCALNET_V6="2001:0DB8:0400:0A20::/64"
    


    TheBlueMatt commented at 1:59 AM on January 19, 2017:

    Can we default to fe80?

  4. jamesmacwhite force-pushed on Jan 19, 2017
  5. jamesmacwhite commented at 9:29 AM on January 19, 2017: contributor

    @TheBlueMatt Yeah good idea. I've updated LOCALNET_V6 to a link local IPv6 value as default.

  6. jamesmacwhite force-pushed on Jan 19, 2017
  7. Add IPv6 support to qos.sh fc089ae47a
  8. jamesmacwhite force-pushed on Jan 19, 2017
  9. laanwj merged this on Jan 19, 2017
  10. laanwj closed this on Jan 19, 2017

  11. laanwj referenced this in commit 41cb05cc8f on Jan 19, 2017
  12. codablock referenced this in commit 221da35af8 on Jan 19, 2018
  13. codablock referenced this in commit 5b3847098d on Jan 20, 2018
  14. codablock referenced this in commit 78a7a9f30b on Jan 21, 2018
  15. andvgal referenced this in commit 910e1ec88f on Jan 6, 2019
  16. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me