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

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

Source code snippet from Adalanche showing the iteration through servers, when looking for a usable one

Download link

https://media.infosec.exchange/infosecmedia/media_attachments/files/109/420/303/313/375/909/original/2d23ced0acbf137f.png

Notices where this attachment appears

  1. Embed this notice
    Lars Karlslund :verified: (lkarlslund@infosec.exchange)'s status on Monday, 28-Nov-2022 19:41:28 JST Lars Karlslund :verified: Lars Karlslund :verified:

    Adalanche: Improved Domain Controller auto-detection and selection in Adalanche.

    You can now supply a list of servers on the command line, or Adalanche will detect them from DNS itself. Then it tries to connect to each of them in turn, until it finds a usable one.

    It doesn't honor the Sites & Services lookup yet, but this should work fine until then.

    It should probably handle different errors differently, i.e. login errors should just error out instantly. Feedback is welcome!

    #adalanche -> https://github.com/lkarlslund/Adalanche

    In conversation Monday, 28-Nov-2022 19:41:28 JST from infosec.exchange permalink
  • 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.