PANTALAIMON.CONF(5)
π pantalaimon.conf β the glow-up guide (section 5, file formats energy) π
okay bestie, listen up π this is the manual page for pantalaimon.conf, aka the config file for pantalaimon(1). She's a File Formats Manual girlie. Let's get into it.
β¨ NAME β¨
pantalaimon.conf β the configuration file for pantalaimon π¦
πΈ DESCRIPTION πΈ
So pantalaimon(1) reads its config data in the INI file format, no cap. This config file is literally what configures your pantalaimon homeservers. Periodt.
Every section in the config file = one pantalaimon proxy instance. The section name goes in square brackets, and you get to pick that instance name yourself. main character energy, you choose π
π Required keys (you literally cannot skip these) π
Homeserverβ the URI of the homeserver that the pantalaimon proxy should forward requests to. Heads up: no matrix API path, but yes include thehttp(s)schema. So like, the base URL only, bestie.
π«Ά Optional keys (do them if you want, no pressure) π«Ά
ListenAddressβ the address where the daemon will listen for client connections for this homeserver. Defaults to"localhost".ListenPortβ the port where the daemon listens for client connections for this homeserver. β οΈ Note that the listen address/port combo needs to be unique between different homeservers β do not be out here reusing ports, that's a vibe check fail. Defaults to"8009".Proxyβ an URI of a HTTP proxy that the daemon should use when making requests to the homeserver. ngl pantalaimon only supports HTTP proxies, that's the limit. The default is to make a direct connection to the homeserver (no proxy at all).SSLβ a boolean that decides if SSL verification should be enabled for outgoing connections to the homeserver. Defaults to"True". πIgnoreVerificationβ a boolean that decides if device verification should be enabled. If this isTrue, devices will be marked as ignored automatically and encryption keys will be shared with them. If this isFalse, the user needs to verify, blacklist or ignore devices manually before messages can be sent to a room. Defaults to"False". πUseKeyringβ this one configures if a proxy instance should use the OS keyring to store its own access tokens. Those access tokens are required for the daemon to resume operation, so they're kind of a big deal. If this is set to"No", access tokens are stored in the pantalaimon database in plaintext π (yes, plaintext, be aware). Defaults to"Yes".DropOldKeysβ configures if a proxy instance should only keep the latest version of a room key from a certain user around. Effectively this means only newly incoming messages will be decryptable, and the proxy will be unable to decrypt the room history. So like, the past is gone, bestie π. Defaults to"No".SearchRequestsβ configures if the proxy should make additional HTTP requests to the server when clients use the search API endpoint. Some data needed to fill out a complete search response only lives on the Homeserver (e.g.start/endtokens for the event context, or room state at a particular point in time).
If this option is set to "On", pantalaimon will make those additional HTTP requests to fetch the unavailable data from the Homeserver β β οΈ note that this makes the search much slower. If this is set to "Off", pantalaimon makes no additional HTTP requests and will leave some data fields in the search response empty. Defaults to "Off".
IndexEncryptedOnlyβ a config option to decide if pantalaimon should fetch the history for unencrypted rooms as well as for encrypted ones. IfTrue, only the history for encrypted rooms is fetched and indexed, and search requests for non-encrypted rooms are forwarded to the Homeserver. Defaults to"True".IndexingBatchSizeβ the number of messages that should be requested from the Homeserver when we fetch and index messages from the room history. Defaults to100.HistoryFetchDelayβ the amount of time to wait between room message history requests to the Homeserver, in ms. Defaults to3000. β³
π the special Default section π
Aditional to the homeserver sections, there's a special section named Default that you can use to configure these values for all homeservers at once:
ListenAddress, ListenPort, Proxy, SSL, IgnoreVerification, UseKeyring
and the Default section also has these keys, which globally change the behaviour of the daemon:
LogLevelβ set the log level of the daemon. Can be one oferror,warning,info,debug. Defaults towarning.Notificationsβ the daemon sends out notifications for some actions that require users to interfere (unverified devices are in a room, interactive key verification events). This option enables or disables OS notifications. Can be one ofOn,Off. Defaults toOn. π
π FILES π
pantalaimon supports the XDG Base Directory Specification, and the default locations can be overridden using the appropriate environment variables. slay.
~/.config/pantalaimon/pantalaimon.confβ the default location of the configuration file. π
β EXAMPLES β
okay here's the moment. The example below shows a configured pantalaimon proxy named Clocktown, where the homeserver URL is set to https://localhost:8448, the pantalaimon proxy is listening for client connections on the address localhost, and port 8009. The pantalaimon proxy is making connections to the homeserver through the proxy http://localhost:8009, and finally, SSL verification is disabled.
Additionally to the Clocktown section, the Default section is also listed, and the default value for SSL verification is set to True, OS notifications are enabled, and the debug level is set to Debug.
[Default]
LogLevel = Debug
SSL = True
Notifications = On
[Clocktown]
Homeserver = https://localhost:8448
ListenAddress = localhost
ListenPort = 8009
Proxy = http://localhost:8080
SSL = False
π SEE ALSO π
π§ AUTHORS π§
pantalaimon.conf was written by Damir JeliΔ <poljar@termina.org.uk>. iconic of them honestly.
and that's the whole page, bestie π«Ά this one shipped as part of Debian, dated May 08, 2019, under the name PANTALAIMON.CONF(5). go forth and configure, you've got this π
β¨
π¦ where this page comes from
- ubuntu jammy: pantalaimon 0.10.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms