Vadim Kurland
510e6897dd
upgraded test files
2011-06-22 15:28:48 -07:00
Vadim Kurland
7f2dbe58e9
See #2367 upgraded all test files to the latest dtd v21
2011-05-06 16:07:55 -07:00
Vadim Kurland
e24a73a560
see #2385 "PF action Classify uses
...
wrong parameter". This change fixes a bug introduced in 4.2.0
that affects rules with action Classify in PF firewalls.
2011-05-05 18:50:32 -07:00
Vadim Kurland
0aa3eac4d4
* Compiler.cpp (expandGroupsInRuleElement): sorting objects in the
...
rule element by name after group is expanded, this helps ensure
stable ordering of objects in generated configuration.
* Compiler.cpp (replaceClusterInterfaceInItfRE::processNext):
sorting objects in rule element after cluster interfaces have been
replaced, this helps ensure stable ordering of objects in generated
configuration.
* FWObject.h (FWObjectNameCmpPredicate): moved this class from
gui-specific module to libfwbuilder as it is universally useful.
It can compare FWObject objects by name and can optionally can
follow references; it can be used with std::sort() to sort lists
of FWObject pointers or directly sort rule elements.
2011-03-12 19:50:24 -08:00
Vadim Kurland
9b4edad92f
re-ran tests for ipf
2011-03-11 09:17:49 -08:00
Vadim Kurland
56f81407f1
fixes #2124 some error messages get multiplied when compiler splits rules
2011-02-20 21:32:58 -08:00
Vadim Kurland
6f5f1ac075
fixes #153 Deprecate Rule::getInterfaceStr() fixes #2123 deprecate rule processor convertInterfaceIdToStr
2011-02-20 17:27:24 -08:00
Vadim Kurland
fdb899bdd2
* NATCompiler_ipf.cpp (processNext): see #133 , fixes #2108 making
...
nat compiler for ipfilter work with interface column, however the
column is not exposed to the user. Compiler behavior should be
backwards compatible with older versions of fwbuilder.
2011-02-17 12:06:50 -08:00
Vadim Kurland
8459b6e061
see #2023 refactoring determineOutputFileNames()
2011-02-03 15:44:24 -08:00
Vadim Kurland
129db6881c
re-ran tests
2011-02-03 09:55:19 -08:00
Vadim Kurland
24ac2b56ac
fixed #1905 , #1879
2011-01-10 16:43:43 -08:00
Vadim Kurland
d3bfdcf0f7
removed {{$build}} from top_comment configlets since we do not have build number variable anymore
2011-01-03 13:23:17 -08:00
Vadim Kurland
abf2b3b2be
checking in "golden" test files
2011-01-03 13:01:06 -08:00
Vadim Kurland
57cc064b14
removed obsolete files .cvsignore, added more patters to .gitignore
2010-10-29 14:15:22 -07:00
Vadim Kurland
8a4fb97afe
upgraded test data files for 4.1
2010-07-20 23:45:05 +00:00
Vadim Kurland
e75d3ccdb0
minor updates in test data files after they were loaded in the latest version of the gui
2010-07-15 17:09:55 +00:00
Vadim Kurland
92a8a0cf3e
updated test case
2010-04-10 17:52:13 +00:00
Vadim Kurland
0ee88506b5
* ../src/iptlib/NATCompiler_ipt.cpp (VerifyRules2::processNext):
...
fixes #1109 : "rules that do not pass verifyRules() checks may
cause compiler crash in test mode or gui crash in single rule
compile mode"
2010-01-20 02:55:38 +00:00
Vadim Kurland
8c84808bda
2010-01-15 vadim <vadim@vk.crocodile.org>
...
* CompilerDriver_ipt_run.cpp (CompilerDriver_ipt::run): Refs #869
making sure non-english comments appear correctly in the single
rule compile output and generated configuration files and scripts.
2010-01-15 20:31:33 +00:00
Vadim Kurland
f6e1886d4f
* PolicyCompiler_PrintRuleIptRst.cpp (PrintRuleIptRst::_printRuleLabel):
...
really fixed #869 "compile rule" should also print the comment.
Printing rule comment in the compiler output in the single rule
compile mode when firewall object is configured to use
iptables-restore. Code that prints rule label and comment has been
unified for compilers for all firewall platforms.
2010-01-13 21:21:07 +00:00
Vadim Kurland
005507969c
fixes #712 (ipt_mangle_only_rulesets option converted) fixes #713
2009-11-26 02:37:38 +00:00
Vadim Kurland
301a4ed864
fixes #614 Use FatalErrorInSingleRuleCompleMode in all compilers
2009-11-13 19:30:17 +00:00
Vadim Kurland
605984d8d5
added rule processor splitIpOptions, split IPService objects with options. fixes #570
2009-11-08 20:04:30 +00:00
Vadim Kurland
ee6c67d640
matching of IPService object with attribute "any option" causes warning in compiler for ipfilter. Fixes #564
2009-11-04 19:35:52 +00:00
Vadim Kurland
255f420f6c
test files upgrade and some formatting for code style
2009-11-02 14:44:20 +00:00
Vadim Kurland
23ee2d9531
merge from v3_1_merge
2009-09-23 17:00:48 +00:00
Vadim Kurland
d022671ddf
* dns.cpp (list): (change in libfwbuilder) getHostByName() used to
...
insert duplicate IP addresses into the list of the results. Now
making sure ip addresses in the result are unique.
2008-10-21 03:21:32 +00:00
Vadim Kurland
61601fe1e3
bug 2056510 "Compile time" address tables objects dont work
2008-08-18 01:47:56 +00:00
Vadim Kurland
07be919f07
checking for unsupported UserService objects in compilers for ipf, iosacl and pix
2008-06-07 03:44:57 +00:00
Vadim Kurland
2e2135bcbf
updated test cases; testing xslt transformations that add TagService objects
2008-06-04 22:46:06 +00:00
Vadim Kurland
678bd9fe17
compiler for ipfilter works with getAddressPtr()
2008-05-19 18:15:11 +00:00
Vadim Kurland
c52a266bb0
merging -r102:HEAD from branch rule-element-action
2008-05-03 03:46:18 +00:00
Vadim Kurland
58355d5aab
********************************
...
Merge branch inet-addr-changes r61
********************************
2008-04-13 07:06:30 +00:00
Vadim Kurland
fcfedad398
Initial import into v3 branch
2007-12-25 22:25:59 +00:00