No Description

CHANGELOG 9.6KB

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