SYSTEM: OPERATIONAL // TLS 1.3
FLUXER: ONLINE ↗
IT [ EN ]

Systems Engineering, Networking & Applied Telecommunications

Infrastructure↗
Network & Sysadmin
nftables QoS, TimescaleDB, Linux hardening, virtualization.
Browse category →
Security↗
Identity & Bastion
Authentik SSO, OIDC federation, Warpgate bastion architecture.
Browse category →
RF Telecom↗
Ham Radio Digital
D-STAR, DMR, C4FM digital voice protocols, repeater gateways.
Browse category →

Spamblock: High-Volume Spam Filtering and Mitigation

SpamBlocker

SpamBlocker is an open-source project (also available on F-Droid) to block unwanted numbers granularly, even with wildcards.

Once installed and given the appropriate permissions (ALL of those it asks for):

  • Enable -> ON

    • Calls --> ON
    • SMS --> ON
  • Contacts -> ON (anyone in contacts can call you)

  • STIR -> OFF (blocks calls that do not pass Secure Telephony Identity Revisited/Signature-based Handling of Asserted information using toKENs attestation). Theoretically, it is not necessary if AGCOM actually did its job.

  • Repeated call -> OFF

  • Called number -> X (for how long you want a number you called to be able to call you back)

  • Emergency -> 120 minutes (after calling 112, how long you can be called by anyone)

Browse through the options, but let's get to the RAW regexes (click the flag when entering them) and keep in mind that a higher number corresponds to a higher priority (the opposite of the norm in Linux environments, in short):

  • ^(\+39|0039)?055[0-9]+ : ALLOW --> Allows all calls from Florence (prio n > 0)
  • ^(\+39|0039)?3[0-9]+ : ALLOW --> Allows all calls from Italian mobile phones (prio n > 0)
  • .* : BLOCK --> Blocks everything else (Prio 0)

For the record:

  • ^ : the number starts with what follows (^2 starts with 2, ^12 starts with 12 and so on)
  • (\+39 | 0039): \+ is an escape character indicating the + (otherwise it would be interpreted as a regex operator). It means +39 or 0039
  • ? : means that what was there before can either be there or not

So for now: ^(\+39|0039)? : means that the number may or may not start with the Italian prefix

  • 055[0-9]+: the digits that follow are 055 followed by other digits. It could also have been written as 055.*
PriorityRegexActionDescription
10^(\+39|0039)?3[0-9]+ALLOWAllows all Italian mobile phones
20^(\+39|0039)?055[0-9]+ALLOWAllows all fixed lines from Florence
0.*BLOCKBlocks all other numbers

[May the big mole be with you]

[EOF]

Fluxer IconDiscussion & Support

Discussion and support channel. To discuss configurations or other topics, join us on fluxer.dreadful.work.


×

SimpleX Community Group

Connect directly with the engineering team via SimpleX Chat end-to-end encrypted protocol:

SimpleX QR Code
×

Kryfo Icon :: Kryfo Direct Chat ::

Scan this high-resolution QR code directly with the Kryfo mobile app (PQXDH / Tor onion) or open the invite link:

Kryfo QR Code OPEN IN KRYFO ↗