2023-09-22 04:45:44 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2023-11-28 08:57:47 +00:00
|
|
|
|
2023-09-22 04:45:44 +00:00
|
|
|
// When sending areafix/filefix messages, validate to addresses
|
|
|
|
'areafilefix' => ['areafix','filefix','rexfix','areamgr'],
|
|
|
|
|
|
|
|
// Determine if incoming messages are from bots
|
|
|
|
'areabots' => array_merge(['sbbsecho'],['areafix','filefix','rexfix','areamgr']),
|
|
|
|
|
|
|
|
// Directory to use for any data we want to store locally
|
|
|
|
'dir' => env('FIDO_DIR', 'fido'),
|
|
|
|
|
2023-11-28 08:57:47 +00:00
|
|
|
'dns_ns' => env('FIDO_DNS_NS', gethostname()),
|
|
|
|
|
2023-09-23 12:01:18 +00:00
|
|
|
// Our Storage::disk() for files storage
|
|
|
|
'file_disk' => env('FIDO_DIR_FILES', 's3'),
|
|
|
|
|
2023-10-12 10:29:02 +00:00
|
|
|
// Do our BINKP/EMSI connections come via haproxy and haproxy protocol
|
|
|
|
'haproxy' => env('FIDO_HAPROXY', FALSE),
|
|
|
|
|
2023-09-22 04:45:44 +00:00
|
|
|
// Our Storage::disk() for locally stored data
|
|
|
|
'local_disk' => env('FIDO_LOCAL_DIR','local'),
|
|
|
|
|
|
|
|
// Default packet to use if a user hasnt defined a packet format for their BBS
|
|
|
|
'packet_default' => env('FIDO_DEFAULT_PACKET', '2+'),
|
|
|
|
|
|
|
|
// Do we keep packets after processing, if so we'll store them in a data formatted dir yyyymmdd
|
|
|
|
'packet_keep' => env('FIDO_PACKET_KEEP', FALSE),
|
|
|
|
|
|
|
|
// Size of packet before we decide to queue it for processing
|
|
|
|
'queue_size' => env('FIDO_QUEUE_SIZE', 1000000),
|
|
|
|
|
|
|
|
// Number of messages in a packet that will result in them being queued for processing
|
|
|
|
'queue_msgs' => env('FIDO_QUEUE_MSGS', 50),
|
|
|
|
|
2023-12-14 05:53:56 +00:00
|
|
|
// Strict mode enforces what address we present to uplinks, when we carry more than 1 address with different roles
|
2024-04-14 00:23:21 +00:00
|
|
|
// When true, we'll only present a role that is higher than the node we are talking to
|
|
|
|
'strict' => env('FIDO_STRICT',TRUE),
|
2023-09-22 04:45:44 +00:00
|
|
|
];
|