import: filter & blocking batch (8 plugins)#4
Merged
Conversation
Imports eight filter / block / share-protection plugins from upstream luadch/scripts. Per-plugin layout per #2. - etc_clientblocker (v0.1 english): block clients by AP regex pattern (DC++ 0.7xx, AirDC++ 2.xx, etc.). - etc_client_su_check (v0.2 english): warn or block users with invalid / missing SU (Supports Upgrade) feature flags. - etc_ccpmblocker (v2.0): control CCPM (client-to-client PM); flag removed by default, restored when both peers are >= op_level. Lang unused upstream. Normalised: scriptname "etc_ccpmblocker2.0" -> "etc_ccpmblocker"; filename also no longer carries the literal "2.0". - etc_noadvertise (v0.7 multi): keyword-based filter for forbidden / advertised strings in main + PM. Database-driven, lang en/de, three state files in data/. - etc_sslonly (v0.2 german): kick users connected over plain ADC, warn team. Filename "etc_sslonly_0.2.lua" normalised to "etc_sslonly.lua" on import. - etc_hide_announcer (v0.01 english): suppress user-announce broadcasts. - ptx_anti_dl (v2.0 english): anti-download protection; profile-based blocks on search/download. Two state files at scripts/data/ (`tAntiDL`, `tStatAntiDL`); ship empty `return {}` placeholders so the data dir exists at first save. - ptx_tagcheck (v2.3 multi3): release-tag validation. Lang en/de/sv. Same audit pass: zero hits for setfenv/getfenv/loadstring/unpack/ module/os.execute/io.popen/debug/1-arg-os.difftime; BOMs stripped. No direct cfg/user.tbl access in any of the 8, so no v3.1.x adapt needed (unlike etc_NewPasswords in #3). Smoke harness against luadch-ng/luadch v3.1.1 with all four merged batches (chat&messaging #1, mod-tools #3, refactor #2, plus this one) dropped into the install tree: 10 / 10 PASS including "no script errors in log".
This was referenced May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third import batch. Eight filter / block / share-protection plugins, per-plugin layout per #2.
Plugins in this PR
Audit
Normalisations
Two filename / scriptname normalisations to keep things sane on disk and in lang lookups:
Both documented in the corresponding file's provenance header.
Test plan