- https://www.php.net/manual/en/book.pcre.php
- https://www.php.net/manual/en/reference.pcre.pattern.syntax.php
- https://php.watch/articles/php-regex-readability
- https://regex101.com/
- https://www.rexegg.com/regex-php.php
- https://www.phpliveregex.com/
- https://www.pcre.org/current/doc/html/
- https://pcre2project.github.io/pcre2/
- https://www.pcre.org/
- https://github.com/PCRE2Project/pcre2
Results, ranked so far (executed via unix time command where possible; balance based on wall clock observation cross-verified with log files):
- Cyberduck: 12 seconds (!!!)
- cURL + NC's Bulk File API: 50 seconds
- Duck.sh: 1 minute 10 seconds
- cURL (parallel mode aka
-Z): 2 minutes 20 seconds - Windows 10: 4 minutes 45 seconds
- Rclone: 7 minutes 41 seconds
My latest test config is below, but I also worked with many variations. My htpasswd-foo-foo has one entry: foo with pw foo. My php-auth.php script also accepts bar / bar.
Included below if you want to steal to test in your own environment against your browser/extension installation. If you see your reported issue against this I suspect that'll be telling that it is something unique to your browser setup interacting with BW.
http {
server {
listen 8080;
I benchmarked a significant improvement (using redis-benchmark) so this was well worth it.
Additionally, the Bullseye rather than the Alpine image appears considerably faster. Presumably because of glibc.
- 27.44s (UNIX socket + Debian image) versus 53.29s (TCP + Alpine image)
Resources that were handy in configuration:
Find all entries that have integrated TOTP configured:
bw list items | jq '.[] | select(.login.totp != null)'
Calculate how many entries have integrated TOTP configured:
bw list items | jq '.[] | select(.login.totp != null)' | jq -s length
Find all entries that don't have integrated TOTP configured:
| Lenovo Thinkcentre M92P | |
| When booting to USB installer disk installation proceeds as expected | |
| 1962 no operating system found | |
| When booting into preview mode all disks load without issue, so its not the cable | |
| Secure Boot option either not present or disabled | |
| Last time I fixed this by adding a fake line to the boot loader from instructions on the web | |
| Got a warning during installation about UEFI mode | |
| Windows Fast Startup disabled | |
| here's a list of prerequisites to run pc in uefi mode, like: |