GUI editor to tame mod_security rules

βŒˆβŒ‹ βŽ‡ branch:  modseccfg


Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

101 check-ins using file pytest.ini version a8d496b667

2023-10-26
17:36
patch for PluginMeta() wrapper required in last pluginconf.gui.window() Leaf check-in: 4f8b060eda user: mario tags: trunk
2022-11-01
23:27
accessible MenuInstance for newer PSG, migrate to pluginconf.bind interface (partly) check-in: 0993a0e78c user: mario tags: trunk
2022-10-21
22:50
comment fixes check-in: a7de0f8780 user: mario tags: trunk
22:50
flex decription tag detection check-in: 12587995cd user: mario tags: trunk
22:49
add msc_pyparser option dependency `pip install modseccfg[all]` check-in: cf99bb8fa7 user: mario tags: trunk
22:48
fix for copied menu definition is later PSG check-in: 30c1fffa92 user: mario tags: trunk
2021-03-29
21:24
Shorten titles (rm modseccfg:) check-in: c7b7b39b4f user: mario tags: trunk
21:23
Performance fix for pyrewrite in range() check. check-in: 950ea0eb0c user: mario tags: trunk
2021-03-26
12:13
html2mallard update: support direct .md conversion, and http:// url params, doc updates. check-in: ada19bd287 user: mario tags: trunk
2021-03-06
21:46
Requires msc_pyparser >= 1.1 (for the CRS 3.2 line continuation issue in 901.conf) check-in: 6d5c87b143 user: mario tags: trunk
14:55
Add tx.blocking_early CRS option check-in: 0d1ce9a7dd user: mario tags: trunk
14:54
add block mode and beautify example check-in: 138b519d13 user: mario tags: trunk
2021-03-05
16:19
Add msc_pyparser rule rewriting GUI check-in: c870e3c308 user: mario tags: trunk
16:19
Add $msg placeholder for recipes check-in: e70973b482 user: mario tags: trunk
16:18
Note about emoji bug (albeit already removed all instances) check-in: 8107fab63c user: mario tags: trunk
16:18
Fix typo check-in: 71cc8e13d8 user: mario tags: trunk
2021-02-25
13:19
Removed Wrap and Masquerade menu entries. check-in: c563db9866 user: mario tags: trunk
2021-02-24
20:16
Remove remaining emoji Unicode occurences (info, modify, vhosts) check-in: 5f05a5d785 user: mario tags: trunk
2021-02-02
16:07
Move to safer Unicode glyphs. Tk doesn't like current system setup: <blockquote> X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 28016 Current serial number in output stream: 28018 </blockquote> check-in: acaec56692 user: mario tags: trunk
12:32
Use dateutil.parser fuzzy=True check-in: 81e5866c7a user: mario tags: trunk
2021-01-12
22:51
Man pages (in data_files=) are now handled by pluginconf.setup check-in: d9a54476b3 user: mario tags: trunk
22:50
Updated man pages for logfmt1 check-in: 6a4153d11f user: mario tags: trunk
22:48
html2mallard 0.2 with material theme recognition, slightly more structured regex rules check-in: 1aa3926f1f user: mario tags: trunk
2021-01-03
20:07
html2mallard split up rules for different templates, add --debug flag check-in: b7a9065f17 user: mario tags: trunk
20:06
Stub manpage for logfmt(5) check-in: 9be300bfed user: mario tags: trunk
20:04
Add minimal docs on modify dialog. check-in: 56ad63cc02 user: mario tags: trunk
2021-01-01
21:00
Converted project wiki to yelp pages. (subproject: html2mallard) check-in: 273feaca8c user: mario tags: trunk
20:59
Typos fixed in logfmt1 docs check-in: 582b0b80fb user: mario tags: trunk
2020-12-30
22:54
logfmt1 manual changes check-in: 9a5ae7b93b user: mario tags: trunk
2020-12-29
14:26
Add manpages (seemingly setup(data_files=…) knows where to place them.) check-in: 28405ca3cf user: mario tags: trunk
2020-12-28
22:12
Fix mkdocs/RTD table styling per sed check-in: 43e6843f24 user: mario tags: trunk
13:39
replace fontawesome arrows with unicode equivalents check-in: ce5c7ccf26 user: mario tags: trunk
13:37
Override terrible RTD defaults check-in: 891ade22b7 user: mario tags: trunk
13:21
switch to RTD theme check-in: c7a4cf835d user: mario tags: trunk
12:59
Add docs for logfmt1 check-in: 33aecba645 user: mario tags: trunk
2020-12-26
22:38
Add basic plugin_load(), generilize `add_menu()` into `init()` check-in: 0f1d190f43 user: mario tags: trunk
22:37
Use radiobuttons for exclusive actions (deny/block), move pause into params section, fix SecRuleCombined to use deepcopy (instead of duplicating flags in global rule) check-in: 129ce9633e user: mario tags: trunk
22:35
add some tags: to sample rules check-in: c53f529c1f user: mario tags: trunk
2020-12-23
23:25
Release as 0.7.0 check-in: a191732f7b user: mario tags: trunk, 0.7.0
23:22
Add logftm1 system package for installation. check-in: 9278dcd307 user: mario tags: trunk
23:21
Clean up comments for SecRuleRemoveById (limited text, and convert numbers to unicode glyphs). Exclude logfmt1/ from package. check-in: 75731e954d user: mario tags: trunk
2020-12-22
22:05
implement SecRuleCombined to recognize local changes, exempt more parameters from being appended (cardinality_many actions), but allow for additional options to be shown below the fold (slightly restructured dialog). Enable saving now; seems to work ok. check-in: 311509a6fa user: mario tags: trunk
22:03
camelcase Vhost and SecRule classes, fix _secruleupdate to recgnize int id and int:offset (β†’float) syntax check-in: 42a623b5ab user: mario tags: trunk
22:02
change print() to log() check-in: f73ccce5e0 user: mario tags: trunk
2020-12-20
20:26
Fix catastrophic backtracking for secrule.help() lookup by splitting regex into cleanup + extraction. Move vhost() lookup into secrule as well. check-in: 88d331b02d user: mario tags: trunk
20:25
Add file:// links for @pmFromFile patterns check-in: e3414c6243 user: mario tags: trunk
20:24
Add more ctl: params, handle ctl[…] vars separately to params[] in UI field names, support rule:offset for chained rules, add help links, suggest_target_exclusion() from log line. check-in: 2d38ee47f7 user: mario tags: trunk
20:22
Prepare for general event=http://|file:// handler, pass data to modify.show() check-in: cf71169a06 user: mario tags: trunk
2020-12-19
20:39
Fix missing .read() in logfmt1.rulesdb.get(). Add errno in logex for sys.exit() cases. check-in: b8ee42e6aa user: mario tags: trunk
19:56
Restructure SecRuleUpdate dialog, add more parameters, and saner approach to detect if actions/params changed from default. check-in: d6acd858e4 user: mario tags: trunk
19:54
Add secrule.msg_stub to differentiate real and decorative rule messages, show debug option, enable some messages again. check-in: a740a2ea01 user: mario tags: trunk
2020-12-18
19:37
Introduce [modify] dialog, not actually doing anything yet. check-in: 815b8b53dd user: mario tags: trunk
19:37
logfmt1: introduce `if_quoted` to generalize rules (allow for custom in-quotes placeholder, e.g. proper \\.|[^"] escaping) check-in: 37a2de2b60 user: mario tags: trunk
10:48
Fix dependencies in pluginconf.setup (versioned install_requires, mainly though limiting space between # comment and field: identifier in pmd block) check-in: 72e4f07a35 user: mario tags: trunk
10:47
Add "type": classifiers for some logfmt fields. Support $1$2$3 for expand id= and value= fields. check-in: 270a3a0f72 user: mario tags: trunk
2020-12-17
17:07
fix var names: path/name and .format check-in: 21efc9c8a6 user: mario tags: trunk
16:53
Use proper dict format for fields defintion check-in: 53635fbeba user: mario tags: trunk
16:37
logfmt1: Add update/nginx support (untested), fmt2md, #doc and #src comments in .fmt/json files, add logopen.names() to list named groups in regex, fix single backlash in rx_sub() check-in: 36388dbafb user: mario tags: trunk
16:34
@inject __getattr__ for simpler tk.Widget lookups check-in: 45a8f2658a user: mario tags: trunk
2020-12-16
16:38
Comment updates, fixed script wrappers, unify update-logfmt to python version. check-in: 7d5c807be6 user: mario tags: trunk
10:42
Enable [Wrap] button as submenu, just defers to according recipes however. Update dependencies to new logfmt1 check-in: 5c5f0ae2d7 user: mario tags: trunk
10:41
Support user-recipes as .txt files check-in: ab9086bf82 user: mario tags: trunk
10:39
Use prefix/whitespace prepending for whole block (some macros just got the first line indented). check-in: a58faea2e0 user: mario tags: trunk
10:35
Bundle logfmt1 into sub project. Support for /usr/share/logfmt/ database and update scripts (apache version is a trimmed down modseccfg.vhosts extractor). Support both pip and deb package (differ to some extend). check-in: f0887760c8 user: mario tags: trunk
2020-12-15
09:41
Support TransferLog (which nobody uses). Add pretty β–°β–°β–°β–°β–°β–°β–°β–°β–±β–±β–±β–±β–± progressbar for *.conf traversal on startup. check-in: d7f672369e user: mario tags: trunk
09:40
Remove log_pfn_register… comments, double checked that all format placeholders are covered. Add some more aliases, but disable automatic duplication now. logex.py supports more --params now. check-in: fbb39c3466 user: mario tags: trunk
2020-12-14
07:54
Add crude reader to logfmt1 and sample logex.py script to print fields from log. check-in: 5bf1df99fb user: mario tags: trunk
2020-12-13
22:23
support remaining placeholders check-in: 382eb7b7f0 user: mario tags: trunk
2020-12-12
21:41
a few more placeholders for logfmt1 check-in: 4763c68b9f user: mario tags: trunk
2020-12-11
22:17
First attempt at *.log.fmt to regex conversion scheme check-in: b1ff1cfc24 user: mario tags: trunk
2020-12-10
21:26
rename scripts to .sh, so setup.py keeps the executable flag check-in: 01146b1c8c user: mario tags: trunk
21:25
add two new exception examples from mod_security check-in: 6e66466c16 user: mario tags: trunk
2020-12-09
23:00
Release as 0.6.0. Remove html viewer experiment, support scripts/ in config home, fix remote copy for local .py install/ hooks. check-in: 8bca2d64b1 user: mario tags: trunk, 0.6.0
10:20
SecHttpBlKey setup shortcut check-in: 28bb6df19c user: mario tags: trunk
09:36
Unload install/*.py module afterwards, prepare for *.log.fmt scheme check-in: 52a4bbec89 user: mario tags: trunk
09:35
Simplify LogFormat handling and recognize GlobalLog directive. check-in: 8a4f815951 user: mario tags: trunk
2020-12-08
07:03
merge recipe funcs and window event handler into show() class, enable recursive template lookups (don't exist yet) check-in: a23c07eed9 user: mario tags: trunk
2020-12-07
22:10
Hide pysimplegui prints, add mainwindow self-reference (not actually used) check-in: 3e249d23b7 user: mario tags: trunk
22:09
Update ./ in wrapper scripts/, omit non-_*.py from */* plugin scanning check-in: 1a3bf55fce user: mario tags: trunk
22:07
Enable fn_preconf() usage only in recipe and crsoptions for now (shouldn't come up for other writer calls anyway) check-in: 90de09b9b2 user: mario tags: trunk
22:06
Add support for import/include scripts in install/ check-in: 13ba5d6761 user: mario tags: trunk
07:36
Get rid of warning box. check-in: cb0f8cc687 user: mario tags: trunk
07:36
remove glob() check-in: b7d219f1ad user: mario tags: trunk
07:36
Use dictobj for recipes now, to allow for nested menus. Change detection for preconf directives (macros). check-in: 66863120b4 user: mario tags: trunk
07:34
Restore arbigraph to original, add iso8601 fix, accesslog sample check-in: f471e86abc user: mario tags: trunk
2020-12-06
21:43
Update tmp.decl_preconf if recipe snippet was written check-in: bd4298b07c user: mario tags: trunk
21:38
Minor text fixes check-in: eed981c6ab user: mario tags: trunk
21:37
Allow @inject decorator over a list of modules/classes check-in: e1df8b2248 user: mario tags: trunk
21:36
Prepare conf.preconf and writer support (rx_end and fn mapping/stub creation) check-in: ffc59c9a1e user: mario tags: trunk
2020-12-05
17:14
Simple substitution as {accfn} and {errfn} from {logfn}, set watch cursor for "terminal" popup window as well. Fix vhost.logformat([…]) call. Safeguard mainwindow.log() against empty listbox events. check-in: 538e062b91 user: mario tags: trunk
17:11
Swap end of regex for `(\S*):` sans space check-in: d207aa3776 user: mario tags: trunk
08:08
.rstrip() for output text lines check-in: 16755fb1b3 user: mario tags: trunk
08:07
record log formats check-in: 731155d137 user: mario tags: trunk
08:07
introduce log.*() wrapper check-in: ee6584abea user: mario tags: trunk
08:07
Fix parameters for rulereport (old&new) check-in: 449e0ec390 user: mario tags: trunk
08:06
sample moved to dev/ check-in: 5051ce2d8d user: mario tags: trunk
2020-12-04
21:46
Sample for logfmt (make variations of apache logs parseable) check-in: 9126968c7d user: mario tags: trunk
21:45
Add some tools from Apache Labor / netnea.com check-in: afa9ff5a4f user: mario tags: trunk
21:44
skip rx.interesting when force=True check-in: 1e3290240c user: mario tags: trunk
21:43
Also scan */__init__.py files as plugins check-in: b9f1bd8537 user: mario tags: trunk
21:42
disable regex warnings check-in: f8af2677f9 user: mario tags: trunk