Settings for administrators
Where BeeBEEP keeps its files, the firewall, the administrator's policy file, and the keys of beebeep6.ini, with values and defaults.
Per: amministratori · Da BeeBEEP 6.0.0 · Aggiornata il
Alcune pagine sono solo in inglese.
BeeBEEP keeps each installation's settings in one plain text file, beebeep6.ini, and reads a machine-wide policy from a second file, beebeep.rc, that only an administrator can write. This page says where both are, which folder holds a user's data, and what every key an administrator may set does, with its values and its default.
The data folder
A user's own data lives in one folder: the settings (beebeep6.ini), the encrypted database (beebeep.db), the daily logs and, when you use one, beehosts.ini. The settings are in beebeep6.ini, in every version of BeeBEEP: beebeep.ini is the file of BeeBEEP 5.x, which BeeBEEP only reads to import it and never writes, so both can share a folder. BeeBEEP chooses the folder by the first of these that applies:
- The policy file.
DataFolder/Pathinbeebeep.rc(see the policy file). It wins over everything below,--data-folderincluded. - The command line.
--data-folder=<path>, for that run. - Portable mode. If the folder that holds the BeeBEEP executable is writable, BeeBEEP uses a folder named
beebeep-datainside it, so a copy on a USB stick carries its data. This never applies on macOS, Android or iOS, and on Windows never underProgram Files. A portable copy keeps the key that unlocks its data in that folder too, never in the system's keyring, unless--secret-filenames another place: whoever copies the folder can read its messages. - The system's default folder for the application configuration, under
MarcoMastroddiSW/BeeBEEP; on macOS and iOS the foldernet.beebeep.beebeepunder the account'sLibrary/Application Support.
In the policy file and on the command line the path may contain the word {account}, replaced by the name of the operating system account. Point it at a shared location and every account gets a folder of its own there:
[DataFolder]
Path=D:/BeeBEEP/{account}
Only letters, digits, -, _, . and spaces of the account name are kept. A path longer than 240 characters, or an {account} on a system that gives no account name, stops BeeBEEP at start with an error; it never falls back to another folder.
Every daily log is beebeep-<year>-<month>-<day>.log in the data folder, and BeeBEEP deletes the ones older than 7 days.
Windows
The default data folder is %LOCALAPPDATA%\MarcoMastroddiSW\BeeBEEP, one per account, so the settings are %LOCALAPPDATA%\MarcoMastroddiSW\BeeBEEP\beebeep6.ini. Uninstalling BeeBEEP leaves it in place (installing on Windows).
macOS
The default data folder is ~/Library/Application Support/net.beebeep.beebeep, one per account, so the settings are ~/Library/Application Support/net.beebeep.beebeep/beebeep6.ini. The headless node beebeep-relay uses net.beebeep.beebeep-relay.
Linux
The default data folder is ~/.config/MarcoMastroddiSW/BeeBEEP, so the settings are ~/.config/MarcoMastroddiSW/BeeBEEP/beebeep6.ini. The headless node beebeep-relay uses BeeBEEP-Relay in place of BeeBEEP, so it never shares a folder, or a database, with the desktop program of the same account.
The firewall
Between the computers that use BeeBEEP, a firewall must let through TCP and UDP port 6475 and UDP port 36475: the connection, the voice of calls and the announcement (the table is in what the network must let through). If you set another Network/ListenPort, open that port instead of 6475. When BeeBEEP finds nobody, its first-contact panel asks Does the firewall let it through? and gives the answer of the system it runs on.
Windows Firewall
The installer and the MSI package write BeeBEEP's rule themselves; the portable zip needs one written by an administrator. See the firewall rule.
The macOS firewall
When the firewall is on, macOS asks the first time whether BeeBEEP may accept incoming connections: choose Allow. Otherwise, in System Settings > Network > Firewall, allow incoming connections for BeeBEEP.
A Linux firewall
Most desktop systems have none on. The first-contact panel says: "If one is on, open TCP port 6475 and UDP port 36475." With ufw:
sudo ufw allow 6475
sudo ufw allow 36475/udp
With firewalld:
sudo firewall-cmd --permanent --add-port=6475/tcp --add-port=6475/udp --add-port=36475/udp
sudo firewall-cmd --reload
The rest of the Linux installation is on installing BeeBEEP on Linux.
The policy file
beebeep.rc is the administrator's file. BeeBEEP reads it from fixed places, never from the user's own folder:
| System | Place |
|---|---|
| Windows | beebeep.rc beside beebeep.exe, in the program folder |
| macOS | /Library/Application Support/BeeBEEP/beebeep.rc |
| Linux | /etc/beebeep/beebeep.rc; when it does not exist, beebeep.rc beside the beebeep program |
A beebeep.rc beside the program is trusted as the program is: whoever can add a file to that folder can also change the program. In the program folder of an installed BeeBEEP only an administrator can write; a portable copy on a share the users cannot change is locked the same way. On a portable copy a user can change, such as one on a USB stick, the file binds only that user.
The file is an INI file. When it does not exist, no policy applies. Its first lines say which form it has:
[Policy]
Version=1
Version is the form of the file, not the version of BeeBEEP: a newer BeeBEEP reads a file written for an older one, and an older BeeBEEP reads a newer file, leaving out the keys it does not know (the log names them). A file with no Version is read as a file written for BeeBEEP 5.x (see A beebeep.rc from BeeBEEP 5.x).
BeeBEEP never installs a beebeep.rc and never writes to one. Every package carries beebeep-template.rc, with every key of its version, each one commented out at its default, and one line saying what it does. To start a policy, copy it to the place above as beebeep.rc and remove the ; before the keys you want:
| System | The template |
|---|---|
| Windows | in the folder BeeBEEP is installed in, beside beebeep.exe |
| macOS | BeeBEEP.app/Contents/Resources/beebeep-template.rc |
| Linux | /usr/share/doc/beebeep/examples/beebeep-template.rc |
A key set in beebeep.rc always wins over the user's own beebeep6.ini: where Settings shows it, such as the circles, it says it is set by your administrator and does not let the user change it. The user's own value is kept, and comes back if the key is removed from beebeep.rc.
The file holds the data folder above, the plugin switches, the hosts keys, the circles, the windows for changing a message and starting at login below. A beehosts.ini in the same folder is read even when beebeep.rc does not exist (see the beehosts.ini file). On a computer, Settings > Data > Open resource folder opens this folder once it exists; while it does not, it opens the folder BeeBEEP is installed in.
Plugin switches
These five keys are read from beebeep.rc only, never from beebeep6.ini and never from the command line, so a user cannot flip an administrator's choice. A boolean is written true or false, yes or no, on or off, 1 or 0, in any case; another word leaves the default and writes a warning to the log.
[Plugins]
Enabled=true
DisabledCategories=game
AllowScreenCapture=true
AllowUnsigned=false
AllowExternal=false
DataFolderFirst=false
| Key | Values | Default | What it does |
|---|---|---|---|
Enabled | boolean | true | false loads no plugin at all: no plugin folder is scanned and every plugin invitation received is answered as unavailable, with nothing shown to the user |
DisabledCategories | game, utility, communication, comma separated | none | a plugin of a listed category is never loaded, and an invitation to one is answered as unavailable, with nothing shown; an unknown word is ignored with a warning in the log |
AllowScreenCapture | boolean | true | false removes every way of using a plugin that captures the screen, such as sharing it: it is never offered, and an invitation to it is answered as unavailable; the plugin's other uses stay, and a plugin with no other use is not loaded |
AllowUnsigned | boolean | false | true loads a plugin library that has no valid signature; for development only |
AllowExternal | boolean | false | true registers external plugins, programs that BeeBEEP starts and talks to; off, BeeBEEP starts no program |
DataFolderFirst | boolean | false | true prefers a plugin in the user's data folder over the copy installed with BeeBEEP, for trying a new build of a plugin; a plugin still needs a valid signature; for development only |
Turning voice calls off
Voice calls come with BeeBEEP as the Call plugin, of the communication category. To turn them off on a computer, list that category in its beebeep.rc:
[Plugins]
DisabledCategories=communication
The Call plugin is then not loaded: the phone button does not appear in any chat, and a call to this computer is answered as unavailable, with nothing shown to its user; the caller reads that this person does not have Call. To turn off calls and games together, list both: DisabledCategories=communication, game. Enabled=false turns off every plugin, calls included.
Keeping BeeBEEP to a list of computers
Three more keys of beebeep.rc, read from it only, decide how BeeBEEP uses beehosts.ini (see the beehosts.ini file). Their list is the administrator's copy of beehosts.ini, the one in the same folder as beebeep.rc, never the user's. Booleans are written as for the plugin switches.
[HostsFile]
IgnoreUserFile=true
AcceptOnlyFromListed=true
AnnounceOnlyToListed=true
| Key | Values | Default | What it does |
|---|---|---|---|
IgnoreUserFile | boolean | false | true reads only the administrator's beehosts.ini; the one in the user's data folder is ignored |
AcceptOnlyFromListed | boolean | false | true connects only with the computers the administrator's file lists, in both directions; an announcement from another address is ignored, and a user who adds another address by hand is told that the administrator does not allow it |
AnnounceOnlyToListed | boolean | false | true sends nothing by broadcast or multicast (and does not publish BeeBEEP with Bonjour); BeeBEEP announces itself only to the computers and networks the administrator's file lists |
A computer is listed by its address (any port), by a network line that holds its address, or by a host name, at the address the name has when BeeBEEP looks it up: at start, and whenever its own network changes. Until the first lookup of a name has answered, that name lists nothing.
The keys apply to direct network connections only. A user reached through another BeeBEEP that relays for both, or over Bluetooth, is not a connection this computer makes, and stays reachable.
Keeping a search inside your own network
When the user searches farther than the nearest addresses (the Medium and Far distances), BeeBEEP also announces itself to the networks next to its own -- the blocks of 256 addresses around it, inside the private range that holds its address, never a public one -- so that an office split over two networks finds itself. One key of beebeep.rc keeps every search inside the computer's own network:
[Network]
SearchBeyondOwnNetwork=false
| Key | Values | Default | What it does |
|---|---|---|---|
SearchBeyondOwnNetwork | boolean | true | false keeps the Medium and Far searches inside the computer's own network: they cover more of it when it is larger than 256 addresses, never the networks next to it |
AnnounceOnlyToListed above still applies to every search.
Circles
A circle is a name, and people who share one see each other (circles says what a user sees). The simplest way to set up an office is to give every computer its circles in beebeep.rc, so that the user does nothing. The key is read from beebeep.rc when BeeBEEP starts.
[Circles]
Names=Doctors, Doctor A
OnEveryNetwork=true
| Key | Values | Default | What it does |
|---|---|---|---|
Names | circle names, separated by commas | not set | sets the circles of this installation and locks them: the list is shown in Settings > Privacy, each circle with the administrator's mark (Set by your administrator. on a hover or a tap), and the user cannot add or remove one; Names= with nothing after it is no circles, locked; with no Names in the file the list is the user's own |
OnEveryNetwork | true or false | not set | true: circles count on every network, public ones too, not only on a network marked private -- an office works whatever each computer answered about its network; the circles' names are then sent where anyone on the network can read them. false: only on private networks. Either value is locked: Settings > Privacy shows it with the administrator's mark; not set, the user decides (off unless chosen). A Bluetooth presence carries no circles either way |
A list set here is applied over the user's own, which stays in beebeep6.ini untouched and comes back the day the file stops setting it. A name that the rules refuse is left out and a warning is written to the log: BeeBEEP never refuses to start for it. The rules are those a user meets: at most 32 characters, at least one letter or digit, no emoji, a name once per circle however it is written in capitals or with extra spaces, and the whole list within 320 bytes, two for each name counted besides its text (a comma separates names, so a name never holds one). A name longer than 32 characters is shortened to its first 28, then # and three letters or digits taken from the whole name, so the same long name gives the same short one on every computer, and files that list different long names agree on each; the warning in the log gives the short form.
Two keys of beebeep6.ini belong to circles too, both written by BeeBEEP:
| Key | Values | Default | What it does |
|---|---|---|---|
Circles/Names | circle names, separated by commas | none | the user's own circles, chosen in Settings > Privacy; not used while beebeep.rc sets Names |
Circles/OnEveryNetwork | true or false | false | the user's own "Use circles on public networks too", in Settings > Privacy; not used while beebeep.rc sets OnEveryNetwork |
Circles/GroupUsersByCircle | boolean | false | groups the list of users by circle, as Group people by circle in the sort menu of Users does; kept when the last circle goes |
The headless relay node beebeep-relay has no circles: it ignores [Circles] in both files, passes messages for everybody and is in sight of everyone.
BEEP over Bluetooth: people nearby and businesses
Over Bluetooth, BEEP also reaches people who are not contacts: the BEEPs of people nearby, and the announcements of businesses (a shop, a bar, an office) that BeeBEEP has authorised. A user chooses both in Settings > Privacy > Nearby over Bluetooth; beebeep.rc can choose them for every computer and lock them. The keys are read when BeeBEEP starts.
[PublicAnnouncements]
HearPeopleNearby=false
ShowBusinesses=false
| Key | Values | Default | What it does |
|---|---|---|---|
HearPeopleNearby | true or false | not set | false: the BEEPs of people nearby who are not contacts are not received, and not passed on. true: they are. Either value is locked: Settings > Privacy shows it with the administrator's mark; not set, the user decides (on unless chosen). A contact's BEEP is received either way |
ShowBusinesses | true or false | not set | true: businesses' announcements are shown in BEEP and passed on; false: neither. Either value is locked; not set, the user decides (off unless chosen) |
HearSos | true or false | not set | false: a call for help from someone who is not a contact is not received. Not set: it always is, whatever HearPeopleNearby says. A contact's call for help is received either way |
yes and no, on and off, 1 and 0 are read too, in any case. Any other word is written to the log as a warning, and reads as the safe side: HearPeopleNearby and ShowBusinesses locked off, HearSos left on. A key with nothing after the = is not set.
Deleting securely
On every computer that should leave nothing of what was deleted in BeeBEEP's files -- a message, an edited message's earlier words, a chat, a voice message -- set Always delete data securely for everyone. The key is read when BeeBEEP starts.
[Security]
AlwaysDeleteSecurely=true
| Key | Values | Default | What it does |
|---|---|---|---|
AlwaysDeleteSecurely | true or false | not set | true: what is deleted is overwritten in BeeBEEP's files, not only removed; false: it is removed only (the files stay encrypted). Either value is locked: Settings > Security shows it with the administrator's mark; not set, the user decides (on unless chosen) |
It applies to what is deleted from then on, never to what was deleted before. It cannot reach copies outside BeeBEEP's files: backups, disk snapshots, or what a disk keeps of a file's old place. A word that is no boolean is written to the log as a warning and reads as false.
Editing and deleting a sent message
A user can correct a message they sent, or delete it for everyone: every copy then shows "This message was deleted" in its place. They can do it for a while after writing it; these keys set how long. An office that keeps its chats as a record turns both off. A key set here applies over anything the user's own file says, and cannot be changed while BeeBEEP runs.
[Messages]
messageEditWindowSecs=0
messageDeleteWindowSecs=0
| Key | Values | Default | What it does |
|---|---|---|---|
messageEditWindowSecs | seconds, 0 or more | 900 | how long after writing a message its sender may still edit it (15 minutes); 0 turns editing off |
messageDeleteWindowSecs | seconds, 0 or more | 86400 | how long after writing a message its sender may still delete it for everyone (a day); 0 turns deleting for everyone off |
While nobody has received a message yet, its sender can always delete it, and correct it, with no time limit. Deleting a message only for oneself is never limited. The time is counted from when the message was written, on the sender's computer; a computer with another value does not refuse a change sent from one with a longer time.
Starting BeeBEEP at login
On a computer, BeeBEEP starts with the user's session unless they turn it off, and a portable copy does not unless they turn it on. This key decides that default for everybody, portable copies included. It is only a default: the user still has the switch, Start BeeBEEP when you log in, under Advanced options at the first start and in Settings > General, and what they choose there stays.
[Window]
StartAtLogin=false
| Key | Values | Default | What it does |
|---|---|---|---|
StartAtLogin | true, false | true; false in a portable copy | the position of the switch the first time a user starts BeeBEEP; a user who has already started it keeps what they have |
Allowing only some file types
AllowedExtensions keeps file transfers to the types you list, in both directions: a file of another type cannot be sent from this computer, and one sent to it is refused before anything is downloaded.
[FileTransfer]
AllowedExtensions=*.pdf, *.docx, *.jpg, *.png
| Key | Values | Default | What it does |
|---|---|---|---|
AllowedExtensions | extensions, comma separated | empty: every type | only files of a listed type can be sent or received; empty or absent, every type can |
- An extension can be written
*.pdf,.pdforpdf, in any case. - The type is what follows the last dot of the file's name:
report.final.PDFis apdf. - With a list set, a file with no extension is refused. Add
*.to the list to allow it. *or*.*in the list allows every type, as an empty list does.- The list covers every file a user sends: documents and pictures alike. Voice messages are always allowed; a profile picture is never checked.
- The user who tries to send a file of another type reads "PDF files cannot be transferred on this computer."; the file picker shows only the listed types (every file when
*.is in the list). A file of another type sent to this computer is refused at once and its message says the same. The sender, on another computer, reads "PDF files cannot be transferred on Alessandra's computer." - Settings > Preferences > Allowed file types shows the list to the user (All when there is none).
- The log says the list once at every start.
Numbers that tune BeeBEEP
BeeBEEP's tunable numbers -- how it searches the network, the size of groups, the console, its diagnostics -- can be set in beebeep.rc too, each in its own section ([Scaling], [Groups], [Networks], [ConnectionTest], [Console], [Diagnostics], [Plugins], [Messages]). beebeep-template.rc lists every one of them at its default. A number set in beebeep.rc wins over every other way of setting it and cannot be changed from the console; a name written under another section is not applied, and the log says so.
A beebeep.rc from BeeBEEP 5.x
BeeBEEP reads a beebeep.rc written for BeeBEEP 5.x, so a 5.x deployment keeps its policy while the computers are updated. It never changes the file.
Where it is read. From the same places as a new one (see the policy file), and on Windows, while there is none beside BeeBEEP, from beside an installed 32-bit BeeBEEP 5.x in Program Files (x86)\BeeBEEP.
A 5.x beebeep.rc in another place, such as the 5.x data folder or another Linux folder, is not read: the log says where it was found and where it belongs.
What is used. The 5.x keys that mean the same here are used under their new names:
| BeeBEEP 5.x | Used as |
|---|---|
[BeeBEEP] BroadcastOnlyToHostsIni | [HostsFile] AnnounceOnlyToListed |
[BeeBEEP] AllowOnlyHostAddressesFromHostsIni | [HostsFile] AcceptOnlyFromListed |
[BeeBEEP] DataFolderPath (with AddAccountNameToDataFolder) | [DataFolder] Path (with {account}) |
[Network] Workgroups with AcceptConnectionsOnlyFromWorkgroups | [Circles] Names |
[Tools] SearchForNewVersionAtStartup | [Updates] Check |
[BeeBEEP] AllowedFileExtensionsInFileTransfer | [FileTransfer] AllowedExtensions |
When a file holds both a 5.x key and its new key, the new key wins. Every other 5.x key is not used: some have no meaning in this version (the ports, the encryption switches, how users are recognised), others are not available as a policy yet. A 5.x list of file types never allows files without an extension.
What the user sees. When a 5.x beebeep.rc sets an option this version does not use to a value other than its default, a notice on top says "The configuration in beebeep.rc is not up to date", once, and again only if the file changes. Settings > Help shows the same line while the file sets such an option, whether or not the notice was closed. An option left at its 5.x default, or a key no BeeBEEP 5.x read, brings no notice: the log still names it.
What the log says. At every start the log has one line for each key of the file: used, used under its new name, not used by this version, or with no meaning in this version. The support file ("Ask for help") holds the same lines. If a 5.x option you need is not used, send us the log: options come back on request.
Moving to the new form. Copy beebeep-template.rc, set the keys you need, and replace the old beebeep.rc with it. The notice goes at the next start.
Editing beebeep6.ini
beebeep6.ini is a plain INI file: each key belongs to a [Group], and this page names a key as Group/Key. A boolean is true or false.
[Network]
PreferIPv6=true
[FileTransfer]
AutoAcceptMaxSizeMiB=50
A day of use is a day on which BeeBEEP ran on that computer; days when it was switched off do not count.
Where the secrets are kept
BeeBEEP holds three secrets: the password that encrypts the database, the private key of your end-to-end identity, and the network password. All three are kept in one encrypted file, beebeep.secrets, in the data folder. What unlocks that file is a master secret, kept apart from it:
- With a secret store on the system, the master secret is one entry,
BeeBEEP/MasterSecret, under the service nameBeeBEEP: the Keychain on macOS and iOS, and through the qtkeychain library the Credential Manager on Windows, the Secret Service or KWallet on Linux, and the Keystore on Android. Nothing else of BeeBEEP goes there. - A portable copy keeps the master secret in its own
beebeep6.ini, beside its data, and never asks the system's store (see portable mode above). - A machine that has no secret store at all, such as a server with no desktop session, keeps the master secret alone in
beebeep6.ini; the three secrets stay sealed inbeebeep.secrets. BeeBEEP detects such a machine when it starts: it asks the store once, and only an answer that says no store exists counts. A store that is locked, or a prompt that is declined, does not: BeeBEEP keeps using the store and does not fall back.
--secret-file=<path> is for that machine. The file holds a master secret, with any content you choose; a trailing newline is ignored, and a secret shorter than 16 bytes is accepted with a warning. BeeBEEP then keeps the three secrets in an encrypted file, beebeep.secrets, in the data folder, unlocked by the master secret, and never touches the system's secret store, even where one exists. BeeBEEP only reads the master secret file: keep it outside the data folder, readable by the account that runs BeeBEEP alone, or hand it over through your service manager. If beebeep.secrets does not decrypt with that secret, or cannot be read, BeeBEEP stops at start with an error and does not touch the database.
Network
| Key | Values | Default | What it does |
|---|---|---|---|
Network/UseNetworkPassword | boolean | false | applies the saved network password to new connections; turning it off keeps the saved password |
Network/UseBonjour | boolean | true on macOS, iOS and Android, false elsewhere | publishes this installation and looks for others over Bonjour; applied at once, without a restart |
Network/BluetoothAlwaysOn | boolean | true | keeps Bluetooth on between searches while BeeBEEP is open, once the system allows it: contacts nearby are recognised and can be written to without Wi-Fi; applied at once |
Network/PreferIPv6 | boolean | false | reaches a user offered on both IPv4 and IPv6 over IPv6; a user offered on one family is reached over that one |
Network/ListenPort | a port, 1 to 65535 | 6475 | the TCP port BeeBEEP asks for when it starts; BeeBEEP stores the port it ended up listening on and asks for that one the next time; --listen-port overrides it for one run |
Network/EffortLevel | Normal, High, Max (or 0, 1, 2) | Normal | how much traffic this installation spends on keeping its connections alive: at most 25 packets a second for Normal, 60 for High, 240 for Max; not used while beebeep.rc sets keepaliveBudgetPacketsPerSecond or connectionBudget in [Scaling] (Numbers that tune BeeBEEP), which the user then sees as Custom (managed) with the administrator's mark |
Network/LegacyBridgeEnabled | boolean | true | talks to users running BeeBEEP 5.x; see the note below the table |
Network/LegacyUpdateNoticeHidden | boolean | false | true hides the notice that asks to update the BeeBEEP 5.x users of the network; set when someone closes it with "Don't show this again" |
With Network/LegacyBridgeEnabled on, BeeBEEP talks to BeeBEEP 5.x users, and it tells every user it connects to the name and domain of the operating system account, but only when this installation's identity was derived from that account. With it off, BeeBEEP does not talk to BeeBEEP 5.x users and tells nobody the account name.
The same choices are in Settings > Network: Use network password, Find other devices with Bonjour, Bluetooth always on, Prefer IPv6 over IPv4, Network effort and Talk to BeeBEEP 5.x users.
Privacy and security
| Key | Values | Default | What it does |
|---|---|---|---|
Privacy/ShareProfileWith | Everyone, ContactsOnly | ContactsOnly | who may fetch your email, phone number, location, birth date and info: any user, or only your Contacts; any other value reads as ContactsOnly |
Privacy/RecogniseMeOverBluetooth | Nobody, Contacts, ContactsAndGroupMembers | Contacts | who may recognise this device nearby over Bluetooth: your Contacts, also the members of your groups, or nobody; any other value reads as Contacts |
Privacy/DropGroupInvitationsFromNonContacts | boolean | false | discards a group invitation from someone who is not a Contact, instead of showing it with a warning |
Privacy/AcceptGroupInvitationsFromContacts | boolean | false | accepts at once a group invitation from a Contact, without asking; an invitation from anyone else, or to a game, still waits for the user |
Privacy/HearPeopleNearbyOverBluetooth | boolean | true | the user's own "Hear people nearby over Bluetooth"; not used while beebeep.rc sets [PublicAnnouncements] HearPeopleNearby |
Privacy/BeepDistanceOverBluetooth | Near, Normal, Far | Normal | how far the user's BEEPs travel over Bluetooth, and how far this device passes on others': passed on once, three times or five times; not used while beebeep.rc sets the number meshPublicBeepHopLimit in [Scaling] (Numbers that tune BeeBEEP), which the user then sees with the administrator's mark |
Privacy/ShowBusinessesAnnouncements | boolean | false | the user's own "Show announcements from businesses"; not used while beebeep.rc sets [PublicAnnouncements] ShowBusinesses |
Privacy/BlockedVenues | a list | none | the businesses the user blocked, each with the name it had; written by BeeBEEP, each removed in Settings > Privacy > Blocked businesses |
Security/AutoAcceptKeyChanges | boolean | true | accepts by itself the new security key of a user you have not verified in person; false makes every change wait for you to confirm it in that user's chat |
Security/AlwaysDeleteSecurely | boolean | true | the user's own "Always delete data securely"; not used while beebeep.rc sets [Security] AlwaysDeleteSecurely |
Files
| Key | Values | Default | What it does |
|---|---|---|---|
FileTransfer/AutoAcceptMaxSizeMiB | whole number, 0 to 1048576 | 100 on a computer, 20 on Android and iOS | the largest file, in MB, that a Contact's offer downloads without asking; 0 sets no limit; a file offered by someone who is not a Contact always waits, and a voice note always downloads (one larger than any recording can be arrives as an ordinary file) |
FileTransfer/OfferTtlDays | whole number | 7 | how many days of use of this installation a file you sent, and the recipient has not taken, stays on offer before the offer fails; 0 or less never expires one |
FileTransfer/ConvertUnreadablePictures | boolean | true | sends a picture as WebP to someone whose device cannot show its format -- a photo from an iPhone (HEIC) to an Android, a Windows or a Linux computer; false sends every picture as it is. Settings > Preferences > Convert pictures others cannot open sets it too |
The limit is also in Settings > Preferences > Download automatically.
Notifications and appearance
| Key | Values | Default | What it does |
|---|---|---|---|
Notifications/Enabled | boolean | true | shows notifications of the operating system |
Notifications/Sound | boolean | true | plays BeeBEEP's own beep with each notification, unless the system's do not disturb is on |
Notifications/FlashWindow | boolean | true | on a computer, flashes the window's button in the taskbar with each notification while BeeBEEP is not in front, until it is opened |
Appearance/Theme | System, Light, Dark | System | System follows the light or dark setting of the operating system, the others fix one |
Language/Locale | a locale name such as it or zh_CN | empty | the language of the program; empty follows the system's languages; applied at the next start |
Language/TranslationsFolder | a path | empty | a folder whose translation files are read before the ones built into BeeBEEP; a relative path is taken from the data folder; empty is the translations folder of the data folder |
Shortcuts/Enabled | boolean | false | turns on BeeBEEP's own keyboard shortcuts; the system's usual keys always work |
Shortcuts/HideToTray | a key such as Ctrl+M | Ctrl+M; on a Mac Ctrl+Shift+H (Cmd+Shift+H) | the key that hides BeeBEEP; the settings screen accepts only a key with Ctrl, Alt or Meta |
Shortcuts/PresetMessages | a key such as Ctrl+Shift+P | Ctrl+Shift+P | the key of the preset messages: in a chat it opens or closes their list above the message field, elsewhere it opens them in Settings; the same rule as above |
Audio/Microphone | text | empty | on a computer, the microphone of calls and voice messages, as a device id in base64url; empty is the system's default. Settings > Preferences > Microphone sets it; an id is the computer's own: copied to another computer, it is a device not connected there, and the system's default is used |
Audio/Speaker | text | empty | the same for the speaker of calls, voice messages and the ring |
VoiceMessage/MaxDurationSeconds | whole number, at most 300 | 300 | a voice recording stops by itself at this length, in seconds; a larger value counts as 300, so this key can only shorten a voice message; no screen sets it |
Screenshot/KeepInPictures | boolean | true | on a computer, keeps a screenshot taken in a chat in the BeeBEEP folder of the user's Pictures; false writes it to a temporary folder emptied the day after. Settings > Preferences > Keep my screenshots sets it too |
Housekeeping and diagnostics
| Key | Values | Default | What it does |
|---|---|---|---|
Cleanup/GroupMemberDays | whole number, 0 to 3650 | 90 | the days of use each new group starts with for removing members not seen; 0 creates groups without that rule. Settings > Privacy sets it too |
Cleanup/InactiveUserDays | whole number, 0 to 3650 | 30 | removes from the lists a user who is offline, has connected at least once and has not been seen for this many days of use of this installation: someone with messages, a group, a contact or a block is only hidden, and shown again when they come back; anyone else is deleted. 0 never removes anyone. Settings > Privacy sets it too |
Log/PanicMode | boolean | false | writes every message of every category to the log, Qt's own included; takes effect at the next start; Settings > Help > Turn on panic log and --panic-mode set it too |
The beehosts.ini file
A file named beehosts.ini in the data folder is read each time BeeBEEP starts. It names the hosts to contact directly and the hosts to block, one per line. A line that starts with #, * or / is a comment.
A beehosts.ini in the same folder as beebeep.rc is the administrator's own: it is read too, first, and a user cannot change it. A block in either file wins over a host to contact in either, and the administrator's lines are the list the policy file's hosts keys use.
Hosts to contact
A line host[:port] [udp|tcp] names a computer BeeBEEP cannot find by itself, on another subnet or across a VPN: an address or a host name, with the way BeeBEEP makes the first contact. The same file can be copied to every computer it lists, since each BeeBEEP skips its own entry. The syntax, the two ways and the ports to open are in reaching computers on other networks.
office-pc.tailnet-name.ts.net
192.168.3.32
server.example.com tcp
Hosts to block
A line that starts with ! blocks a host: BeeBEEP neither connects to it nor accepts a connection from it, from the first announcement on.
!10.184.9.132
!2001:db8:1f70::999:de8:7648:6e8
A block names an address, never a host name, and covers the whole host: a port written after the address is ignored and a warning is written to the log. The --block-address=<host[:port]> option adds a block for one run, and can be repeated.
Command-line options
| Option | What it does |
|---|---|
--data-folder=<path> | uses <path> for the settings, the database and the logs; see the data folder |
--language=<locale> | the language for this run, ahead of Language/Locale and the system |
--secret-file=<path> | keeps the database password, the identity key and the network password in an encrypted beebeep.secrets in the data folder, unlocked by the master secret in this file; see where the secrets are kept |
--network-password-file=<path> | uses the content of the file as the network password for this run, and never stores it |
--panic-mode | verbose logging, and keeps it for the next runs |
--block-address=<host[:port]> | blocks a host for this run; repeatable |
--listen-port=<port> | the TCP port to listen on for this run, ahead of Network/ListenPort |
--version | prints the version and exits |
--help | lists every option and exits |
An option that takes one value is refused, with an error at start, when it is given twice.