Skip to content
  1. Dec 22, 2016
  2. Dec 20, 2016
  3. Aug 24, 2016
  4. Jun 09, 2016
  5. Mar 31, 2016
  6. Feb 26, 2016
  7. Feb 10, 2016
  8. Jan 29, 2016
  9. Dec 20, 2015
  10. Dec 15, 2015
  11. Oct 28, 2015
    • Hannu Nyman's avatar
      luci-app-firewall: limit zone name length to 11 characters · 87b6bb0d
      Hannu Nyman authored
      
      
      Change the maximum length of a firewall zone name from 14 to 11 characters.
      
      Longer names break iptables rule generation (max. 29 chars are allowed).
      
      XT_EXTENSION_MAXNAMELEN = 29
      29 - sizeof("postrouting_") - sizeof("_rule") - sizeof("\0") = 11
      
      References to:
      https://github.com/openwrt/luci/issues/507
      https://dev.openwrt.org/ticket/20380
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      87b6bb0d
  12. Sep 17, 2015
  13. Aug 26, 2015
    • Hannu Nyman's avatar
      firewall: validate max length of zone name · 34e875b3
      Hannu Nyman authored
      
      
      fw3 sets the maximum length of the zone name to 14 and
      ignores zone definitions with too long names.
      http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.h;hb=HEAD#l25
      http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.c;hb=HEAD#l195
      
      Add a simple validation to ensure that the new zone name is short enough.
      This should fix issue #345
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      34e875b3
  14. Apr 21, 2015
  15. Jan 26, 2015
  16. Jan 16, 2015
  17. Jan 08, 2015