GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    OCTADE (octade@soc.octade.net)'s status on Tuesday, 07-Jan-2025 22:48:19 JSTOCTADEOCTADE
    in reply to
    • Big Diggity
    • The Real Grunfink
    @grunfink@comam.es

    I recall that friendica has the option disable_federation in the config settings.

    I realized that with snac, I can run a script daemon:

    1. Use inotifywatch to check incoming objects;
    2. Dump the new object JSON to detect requests from foreign domains;
    3. run the 'snack block' command on the found domain;
    4. Delete the incoming object;
    5. Sanitize any generated notifications.

    This should all happen so quickly that local users should never notice it.

    So any attempt to communicate in either direction can be automatically detected on first blush, then the remote domain blocked.

    It's a hack, but it should work.

    Another question: what about a wildcard character in the 'snac block' command?

    I'm not going to try it on this public instance because I'm afraid of some kind of expansion wrecking things. Does anyone know if that would do anything weird?
    In conversationabout 4 months ago from gnusocial.jppermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.