No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. 2.1 Beta 1 - 11/19/2018
  2. - Add run-after and run-before rules (custom/runafter.sh and custom/runbefore.sh)
  3. 2.1 Alpha 3 - 04/25/2016
  4. - Fix issue with erasing variables in two different setups
  5. - mss clamp fix for fwd target
  6. 2.1 Alpha 2 - 03/15/2015
  7. - Unset variables in loops to make sure theres no leakage of
  8. variables into the next run of the loop
  9. 04/09/2015
  10. - Allow use of 'all' in MSS rules to match all forwarding/out traffic
  11. 2.1 Alpha 1 - 11/29/2014
  12. - Added support for custom fields in NAT and ACL rules, as this allows
  13. definition of Policy rules in the ACL files (mostly useful for IPSec)
  14. - NAT rules no longer add accept state rules, should be added in forward.conf
  15. manually
  16. 2.01 Alpha 1 - 07/27/2014
  17. - Fix executable bits on .sh files in custom
  18. - Make MSS clamp optional and allow setting MSS size manually
  19. 2.00 Release
  20. - Add common options for sysctl/proc tweaking of network settings
  21. - Yay stable release!
  22. 2.00 Alpha 3 -
  23. - Give people knobs to tinker with regarding state matching. Kills
  24. multiple birds with one stone.
  25. - forward.conf
  26. - acl.conf
  27. - IPv6 is actually working in this version when you have default policy set to DROP
  28. IPv6 is particularly difficult regarding ICMPv6 - had to put in quite a few
  29. allows by default to make it happy. Going to have to go through the list
  30. and prune it once the code stabilizes.
  31. - rule-save/rule-save6 scripts as beginning of work to be able to cache scripts
  32. may switch to normal iptables-save/iptables-restore if it works better
  33. once I've had time to work on it.
  34. - script finally has most features of firewall/sosdg v1.1, meaning it can
  35. successfully replace firewall/sosdg in most setups, provided you are
  36. willing to redo the config.
  37. - Added config examples here: http://www.sosdg.org/software/srfirewall/examples
  38. - Implemented -f flag for flushing rules and setting iptables back to default
  39. - Fix port forwarding rules so works correctly with FORWARD set to DROP as default
  40. 2.00 Alpha 2 - 04/12/2014
  41. - Slightly better documentation
  42. - Kernel module loading - 4/11/2014
  43. - The next two changes affect config files:
  44. - Add syn matching to acl.conf rules - this may break existing rules
  45. - Add syn and port/protocol matching to forward.conf rules - this will not
  46. break existing rules since it adds 4 new options at the end that can
  47. be omitted completely.
  48. - Fix some variable detection rules to be more reliable.
  49. - Fix some rule issues after real life stress testing.
  50. 2.00 Alpha 1 - 04/10/2014
  51. - Complete code rewrite and restructure to solve some long standing issues with v1
  52. - Separate out functions into support files for easier grouping of what they do
  53. - Make more compatible with multiple disto file layouts
  54. - Basic functionality implemented:
  55. - Trusted IP source (IPv4/IPv6) - 3/30/2014
  56. - MSS Clamping (IPv4/IPv6) - 3/30/2014
  57. - Trusted DNS server as client (IPv4/IPv6) - 3/30/2014
  58. - Adapted to use conntracking if available - 4/5/2014
  59. - Easy Block functionality (IPv4/IPv6) - 3/31/2014
  60. - ACL/Filtering functionality (IPv4/IPv6) - 4/5/2014
  61. - NAT/NETMAP functionality (IPv4/IPv6) - 4/5/2014
  62. - IPv6 NAT/NETMAP is untested, have no internal use for it,
  63. let me know if works/doesnt
  64. - Forwarding functionality (IPv4/IPv6) - 4/5/2014
  65. - Adapted to use conntracking if available - 4/6/2014
  66. - Deps on Enablev(4|6)ConnectionTracking for NAT functionality - 4/5/2014
  67. - Service functionality (IPv4/IPv6) 4/6/2014
  68. - Port forwarding functionality (IPv4/IPv6) 4/6/2014
  69. - Default policy support (IPv4/IPv6) 4/9/2014
  70. - Add somewhat crude Debian package files, will need to be worked on... - 4/8/2014
  71. =-=-=-=-= PRE 2.0 REWRITE =-=-=-=-=
  72. 1.1 - Brielle Bruns <bruns@2mbit.com>
  73. - Reorder rules, place allow before block to allow overrides
  74. - Fixes for conntrack rules for better security (added -o/-i)
  75. - Correct some incorrect info in options.default
  76. 1.0 - Brielle Bruns <bruns@2mbit.com>
  77. - Minor tweaks to various config files
  78. - Fix issue with tweaks loading
  79. - Version 1.0
  80. 0.9.14 - Brielle Bruns <bruns@2mbit.com>
  81. - IPv6 DHCP bypass rules (IPV6_LANDHCPSERVER)
  82. - Move FORWARD Established,Related rules to inside NAT rules, since without NAT,
  83. we're not really going to need to track connections forwarding through the system.
  84. I can probably be proven wrong if you don't use NAT but use the script for stateful
  85. firewalling with non-RFC1918 IPs....
  86. - Cleanup work on code for v1.0
  87. 0.9.13 - Brielle Bruns <bruns@2mbit.com>
  88. - Fix location of ipv6 fi statement, moved to end of ipv6 rules
  89. - Add default policy rules and IPV{4|6}_P{INPUT|OUTPUT|FORWARD} options
  90. to control them. Note the difference between BLOCKINCOMING and the PINPUT variable
  91. - Oops, looks like my state match of allowing NEW was undoing the incoming blocks. Fixed.
  92. - IPV4_ALLOWED and IPV6_ALLOWED which will eventually replace TCPPORTS and UDPPORTS
  93. 0.9.12 - Brielle Bruns <bruns@2mbit.com>
  94. - Change IPV6_ROUTEDCLIENTBLOCK so you can specify ranges to
  95. block incoming to.
  96. - Add support for allowing IPV6 critical ICMP messages, on by default
  97. - Add support for interception of IPv4 packets, aka transparent proxy
  98. - Add beginning support for error checking of variable inputs, still not functional yet.
  99. - Test if we are using at least bash 3.x, since some of the more advanced features
  100. we are using to make this script work don't work too well with bash < 3.0 or dash.
  101. 0.9.11 - Brielle Bruns <bruns@2mbit.com>
  102. - Move some of the config clutter to conf/ - you can
  103. put your config files anywhere, but by default, they're
  104. now going to be in conf/
  105. - Beginning work on configuration tool. If it ever
  106. gets completed is a whole different story. :)
  107. - Option to use state or conntrack module for state tracking.
  108. By default, use conntrack.
  109. - After some research, we seem to not need NEW state match in FORWARD
  110. - Auto detect default gateway interface and IP of interface. Has potential problems
  111. if run before we've got a default interface, so manually define EXTIF to be sure, and
  112. things should be okay. This is mostly for people with dynamic IPs.
  113. 0.9.10 - Brielle Bruns <bruns@2mbit.com>
  114. - Move clamp mss up earlier in the rules to possibly
  115. fix an issue I noticed during testing
  116. - Move icmp allow code
  117. - Prevent duplicate icmp allow rules in NAT code
  118. - NETMAP support in NAT code
  119. 0.9.9a - Brielle Bruns <bruns@2mbit.com>
  120. - Minor bug fixes for my coding errors introduced in
  121. the change of IPv6 variables
  122. 0.9.9 - Brielle Bruns <bruns@2mbit.com>
  123. - Loadable module support during firewall loading
  124. - More init script fixes.
  125. - Non-conntracked DNS reply packets allow options
  126. - Slightly improved IPv6 support to start to bring
  127. it up to par with IPv4 support.
  128. - ipv6 marking support, changed ipv4 to use | instead of :
  129. - Renamed IPV6 variables, please read INSTALL file about conversion of config file
  130. to new format.
  131. 0.9.8a - Brielle Bruns <bruns@2mbit.com>
  132. - Fixing executable file permission issues
  133. - Use /bin/bash in initscript cause dash does not recognize
  134. more advanced methods that bash can use. Oops. Easiest
  135. way to keep up to date is to symlink /etc/init.d/firewall-sosdg
  136. to /etc/firewall-sosdg/doc/firewall-sosdg.init
  137. 0.9.8 - Brielle Bruns <bruns@2mbit.com>
  138. - Almost at v1.0 quality for my tastes
  139. - BLOCK_(INCOMING/OUTGOING)_RFC1918 options to help sure up security of LAN space leakage
  140. - Changes to LANDHCPSERVER so it accepts interface names, plus a possible fix for win7
  141. hammering DHCP server for unknown reason?
  142. - Cleanups
  143. - No longer display list of blocked IPs, considering if they are
  144. as long as my list is, they'll take 4 pages to display...
  145. - New block file format, much more capable now, thanks to
  146. an hour or two of improving my bash scripting skills to the
  147. point where I can do more complex breakdowns of formats
  148. - Rename blocked to ipv4-blocked since we're going to have
  149. ipv6 support
  150. - ipv6 blocking support. Different format for config file
  151. because IPv6 uses :, which means we get to use | for both
  152. ipv4 and ipv6 (goes against a previous commit)
  153. 0.9.7 - Brielle Bruns <bruns@2mbit.com>
  154. - Support for marking packets, uses new config file and
  155. IPv4_MARK file option
  156. - MULTI-NIC-ARP-LOCK hack added, to fix what I consider to be an annoying 'feature' of
  157. arp requests on Linux
  158. - Allow use of multiport iptables module to reduce amount of rules
  159. 0.9.6 - Brielle Bruns <bruns@2mbit.com>
  160. - Minor changes to procedures in planning of 1.0
  161. 0.9.5 - Brielle Bruns <bruns@2mbit.com>
  162. - Makefile to automate building tarball and for future use
  163. - More changes to port-forwards file to support source IP and external IP (existing
  164. config _will_ be incompatible)
  165. 0.9.4 - Brielle Bruns <bruns@2mbit.com>
  166. - Initscript
  167. - stop-firewall for... stopping the firewall!
  168. - Code cleanups
  169. - Use of functions for some processes
  170. - Fix DHCP rule
  171. - Obsoleted NATRANGE, NATEXTIP, NATEXTIF
  172. - Added NAT_RANGE which can take SNAT/MASQ rules
  173. - Changed port forwarding rules to include external interface
  174. 0.9.3 - Brielle Bruns <bruns@2mbit.com>
  175. - Misc tweaks and reorg
  176. - Custom command files
  177. 0.9 - Brielle Bruns <bruns@2mbit.com>
  178. - Colorize output
  179. - Added outbound port blocking options
  180. 0.8 - Brielle Bruns <bruns@2mbit.com>
  181. - IPv6 Connection Tracking fixes
  182. - Strip ECN off of specific outbound packets
  183. 0.7 - Brielle Bruns <bruns@2mbit.com>
  184. - MSS Clamp on IPv6
  185. - MSS Fixes, yes, its ugly
  186. - Beginning support for bogons filtering and updater
  187. script. Does not work yet, so don't use.
  188. 0.6 - Brielle Bruns <bruns@2mbit.com>
  189. - Fixed some potential ordering issues with NAT
  190. - Added file for blocked IPs, plus new config option
  191. 0.5 - Brielle Bruns <bruns@2mbit.com>
  192. - Fixing ipv6 UDP firewalling rules
  193. - Fixing IPv6 client routing block rules
  194. - Added new IPV6LAN interface option
  195. 0.4 - Brielle Bruns <bruns@2mbit.com>
  196. - Added support for pre-run commands
  197. - Fixed several bugs with NAT commands