Commit Graph

3185 Commits

Author SHA1 Message Date
Thibault François 3946039c86 [fix] rather log %a [IP addr] than %h [HOSTNAME] 2021-10-26 09:39:25 +02:00
Thibault Francois a85ccd043b
Merge pull request #455 from fulax/patch-1
proftpd.conf: Default to modern TLS protocols
2021-10-26 09:17:41 +02:00
Benjamin Sonntag 6add7e4a40 add exit 1 to inotify scripts, which goes around the serious incrond bug in Debian Buster... 2021-06-16 17:29:19 +02:00
Kienan Stewart 2e1fbd374d Fixes #441: Correct DMARC entry syntax 2021-06-16 17:08:54 +02:00
Benjamin Sonntag 7e02128159 sudo-ldap or sudo dependency. Fixes #443 2021-06-16 17:01:32 +02:00
Benjamin Sonntag 0c36883195 fixes #444 removing comment on awstats sql dump 2021-06-16 16:57:33 +02:00
Gabriel Filion 6448440101
alternc.install: PHP version comparison is broken for buster (#461)
The current comparison can only work on debian stretch, that ships php
7.0, but debian buster has a more recent version and bullseye will have
an even more recent version.

This change was suggested by @ulvida (Daniel Viñar Ulriksen) on Github.
Thanks!

Closes: #459

Co-authored-by: Gabriel Filion <gabriel@koumbit.org>
2021-05-17 14:02:27 -04:00
Cyprien Nicolas 8965df7640
proftpd.conf: Default to modern TLS protocols
# Rationale

TLSv1.2 has been out for more than 10 years, and is now widely available. TLSv1.0 and TLSv1.1 are known to be unsufficient for a few years and have been officially deprecated by the IETF recently.

TLSv1.3 is starting to be widely available, however it had implementation bugs, such as https://github.com/proftpd/proftpd/issues/959. This is fixed upstream, but fixed versions are not available in Debian 10 yet.

# Changes

* ProFTPd now defaults to TLSv1.2
* Add a comment for suggesting other values like TLSv1.3, but with a comment about buggy versions
* Add a comment for downgrading to deprecated TLSv1 TLSv1.1
2021-03-31 11:06:48 +02:00
Km 9fe5164405
Merge pull request #447 from Koumbit/api_fix_bootstrap
API: instantiate m_message for logging
2021-03-09 10:34:33 +01:00
Gabriel Filion a4486fcf88 API: instantiate m_message for logging
Without this global instance, nothing works during the bootstrap: all
calls to log() crash because the instance does not exist.

closes: #419
2021-02-25 16:48:45 -05:00
Kienan Stewart 695ba518dd
Add confirmation to preinstallation to warn about data loss
Refs #415
2020-10-14 17:47:07 -04:00
Kienan Stewart 3acb44aa78
Update upgrade notice to mention passing through 3.3.12
Refs #415 #416
2020-10-14 16:35:44 -04:00
cam.lafit 3c83f33935 Fix #426 : Remove 2.2 authorization rule
* Use only 2.4 authorization rules
* Restore server-status protection with 2.4 rules only
* close #426
2020-08-18 12:38:31 +02:00
azerttyu 5d14fed7e4 Remove all alternc-ssl package
* finish #263
2020-08-18 12:36:12 +02:00
alban 78d3aeb60f [fix] There should be no <script> markup in tables headers #402 2020-07-02 22:54:26 +02:00
Kienan Stewart d373365d8f
Fix #413: Add return values for bind update domains hooks
hook_updatedomains_dns_{add,del} have their return values checked in
m_dom::update_domains() to set the dns_result column.

When no return value is specified, the value is actually NULL and doesn't
get mapped to an integer value that is expected by the dns_result column.

As a result, the query fails silently and the DNS_ACTION column is never
updated. This causes update_domains to retry the same modification on
every run.
2020-06-08 17:40:40 -04:00
Km b057544ba3
Merge pull request #372 from UdelaRInterior/fix-#326
Fix #326 - Minor detail in form
2020-01-28 18:39:31 +01:00
Km 8cea9323dd
Merge pull request #397 from Koumbit/bugs/374-document_upgrade_process
Add a notice in the README about upgrading from 3.3.11 to 3.5.x

Manual fix about ssl vhost support
2020-01-28 18:29:50 +01:00
Km 2fa12e7245
Merge pull request #398 from Koumbit/bugs/374-follow_debian_policy_on_replacing_packages_using_breaks
Use Breaks instead of Conflicts with alternc-ssl and alternc-admintools

@see https://www.debian.org/doc/debian-policy/ch-relationships.html#conflicting-binary-packages-conflicts
2020-01-28 18:28:34 +01:00
Kienan Stewart 047bed9d1f
Add a notice in the README about upgrading from 3.3.11 to 3.5.x 2019-12-17 16:12:26 -05:00
Kienan Stewart a6c0e8cf1b
Use Breaks instead of Conflicts with alternc-ssl and alternc-admintools
This follows the Debian policy on using Breaks when moving files from one
package to another.

@see https://www.debian.org/doc/debian-policy/ch-relationships.html#conflicting-binary-packages-conflicts

If apt/apt-get are used to install the new package, it will know to automatically
remove alternc-ssl (or alternc-admintools) instead of refusing to proceed at all.
2019-12-17 15:45:42 -05:00
kienanstewart bce334e75b
Merge pull request #379 from bleuchtang/fix-aws-doedit-rase
[fix] Ok is not allowed in level message
2019-10-03 17:25:38 -04:00
kienanstewart bc717c36d5
Merge branch 'master' into fix-aws-doedit-rase 2019-10-03 17:19:27 -04:00
Louis-Philippe Véronneau a10f67f299
fix minor typo 2019-09-09 15:39:50 -04:00
Émile f6046a2566 [fix] Ok is not allowed in level message 2019-08-09 08:38:40 +02:00
Km d1d410ed65
Allow certificates on autoconfig et autodiscover
Should be solve https://github.com/AlternC/alternc-certbot/issues/51
2019-07-23 20:56:56 +02:00
santiagomr 5ca85e7357 Fix #326 - Minor detail in form 2019-07-15 15:10:39 -03:00
Km 5e9fadd315
Merge pull request #329 from Koumbit/matomo_integration_fixes
Matomo integration fixes
2019-07-12 22:54:17 +02:00
Km 3744b0242a
Merge pull request #325 from tuxayo/patch-1
[fix] apache2 template: typo and rephrase comment
2019-07-12 21:37:06 +02:00
Km d770c70218
Merge branch 'master' into patch-1 2019-07-12 21:36:34 +02:00
Km db471afa79
Merge pull request #343 from Koumbit/336_domaine_deletions_stuck
Fix domain deletion query
2019-07-12 21:35:45 +02:00
Km 200f103adf
Merge pull request #347 from Koumbit/335_phpmyadmin_sso_broken
Fixes #335: Fix PHPMyAdmin Single-signon errors
2019-07-12 21:33:15 +02:00
Km ab73c9d6f9
Merge pull request #371 from Koumbit/370-import_cert_fails
Fixes #370: Fix insert query failure during import_cert
2019-07-12 21:27:03 +02:00
Kienan Stewart bb6d5c6863
Fix insert query failure during import_cert
The sslcsr is just set to an empty string so that the query works properly.
Without it, queries fail since sslcsr does not have a default value set.

Improved the detail of the messages logged during the failure of that query as well.
2019-07-12 14:46:36 -04:00
Kienan Stewart 53570e236a
Enter default db_server information before templating
Refs #335
2019-05-15 17:46:15 -04:00
Kienan Stewart caae003c60
Merge remote-tracking branch 'upstream/master' into 335_phpmyadmin_sso_broken 2019-05-14 12:19:39 -04:00
Kienan Stewart f3207ec2f1
Override owner and group for phpmyadmin lib files
Refs #335
2019-05-14 12:15:23 -04:00
Kienan Stewart 82c87c43e0
Increase blowfish secret length from 24 to 32
Refs #335
2019-05-14 12:15:00 -04:00
Kienan Stewart 70184caa3a
Return an error when attempting to connect to PHPMyAdmin with no DBs
Refs #335
2019-05-14 12:14:25 -04:00
Kienan Stewart f6860ed2be
Use pma_sso script to connect PhpMyAdmin from admin menu
Refs #335
2019-05-14 12:13:44 -04:00
Km 845a6b7f72
Merge pull request #340 from soul9/allowmultiview
Allow override of MultiViews option in .htaccess
Required by some service as NextCloud, Prestashop, ....
2019-05-14 07:53:41 +02:00
Kienan Stewart 39dba8188b
Fix domain deletion query
Fixes #336
2019-05-13 17:28:05 -04:00
Kienan Stewart 753c27a9cf
Fix typo in query to update domain type
Fixes #339
2019-05-13 17:12:05 -04:00
Kienan Stewart 1dbe646724
Filter generated bind configuration by current domain
Fixes #339
2019-05-13 16:40:27 -04:00
John Soros ade7a3f29f allow override of MultiViews option in .htaccess also for vhosts hosted using http and http+https 2019-05-13 19:54:25 +01:00
kienanstewart 1c3e9d7d65
Merge branch 'master' into patch-1 2019-05-10 19:05:12 -04:00
John Soros 7e0e74375f allow override of MultiViews option in .htaccess 2019-05-05 03:47:13 +02:00
Km 1ca9dcf406
Merge pull request #331 from Koumbit/328-fix_duplicate_dns_entries
Do not add bind entries for sub domaines marked for deletion
2019-04-24 07:20:05 +02:00
Kienan Stewart d299462439
Fix typo in table alias causing zone data queries to fail 2019-04-23 12:16:31 -04:00
Kienan Stewart e6c042331d
Do not add bind entries for sub domaines marked for deletion
Fixes #328
2019-04-12 16:38:07 -04:00