From 92b280d87c2f83fa81f807c4a4ecf62dc10c93e0 Mon Sep 17 00:00:00 2001 From: Junade Ali Date: Mon, 26 Jun 2017 13:44:14 +0100 Subject: [PATCH 1/6] NET-7306 :: Deprecate 199.27.128.0/21 as a Cloudflare authorized block --- mod_cloudflare.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mod_cloudflare.c b/mod_cloudflare.c index 8d85d1a..6631291 100644 --- a/mod_cloudflare.c +++ b/mod_cloudflare.c @@ -57,7 +57,6 @@ static const char* CF_DEFAULT_TRUSTED_PROXY[] = { "190.93.240.0/20", "197.234.240.0/22", "198.41.128.0/17", - "199.27.128.0/21", /* IPv6 Address Ranges */ "2400:cb00::/32", "2405:8100::/32", From 506deebc6d0be121c2fa21fb96fb1ec4067fca18 Mon Sep 17 00:00:00 2001 From: garrettgalow Date: Fri, 21 Jul 2017 10:43:45 -0700 Subject: [PATCH 2/6] Update README.md Add OS Support to Readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b3369b4..cc5d0de 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ An alternative way to install is to use GNU autotools, which requires that autoc $ ./configure $ make $ make install + +### OS Support ### + +- CentOS - Supported +- CloudLinux - Not Supported No further configuration is needed. However, if you wish to override the default values, the following directives are exposed: From b2350ab6c449e64c9d7b9b3ea1337561d57cee3c Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Tue, 20 Jul 2021 09:04:27 -0500 Subject: [PATCH 3/6] Update README.md Partially addresses https://jira.cfops.it/browse/PCX-1934. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cc5d0de..1d54a18 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # mod_cloudflare for Apache # Copyright CloudFlare Inc. 2016 +## Deprecation notice ## + +Cloudflare no longer updates and supports mod_cloudflare, starting with versions Debian 9 and Ubuntu 18.04 LTS of the Linux operating system. We now support [mod_remoteip](https://support.cloudflare.com/hc/articles/200170786#C5XWe97z77b3XZV) for customers using Apache web servers. + ## mod_cloudflare.c ## Based on mod_remoteip.c, this Apache extension will replace the remote_ip variable in user's logs with the correct remote IP sent from CloudFlare. The module only performs the IP substitution for requests originating from CloudFlare IPs by default. From 4a0787c48078206d87145adefb67aee0d8d3fc21 Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Tue, 20 Jul 2021 11:15:05 -0500 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d54a18..a3e4412 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Copyright CloudFlare Inc. 2016 ## Deprecation notice ## -Cloudflare no longer updates and supports mod_cloudflare, starting with versions Debian 9 and Ubuntu 18.04 LTS of the Linux operating system. We now support [mod_remoteip](https://support.cloudflare.com/hc/articles/200170786#C5XWe97z77b3XZV) for customers using Apache web servers. +Cloudflare no longer updates and supports mod_cloudflare, starting with versions Debian 9 and Ubuntu 18.04 LTS of the Linux operating system. We now recommend [mod_remoteip](https://support.cloudflare.com/hc/articles/200170786#C5XWe97z77b3XZV) for customers using Apache web servers. ## mod_cloudflare.c ## From f21629ebf4e9633a29ce1c84b472a2d1c18a1ead Mon Sep 17 00:00:00 2001 From: Hrushikesh Deshpande Date: Mon, 16 Sep 2024 10:05:00 -0400 Subject: [PATCH 5/6] Adding semgrep yaml file --- .github/workflows/semgrep.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/semgrep.yml diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 0000000..ede31f5 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,23 @@ + +on: + pull_request: {} + workflow_dispatch: {} + push: + branches: + - main + - master +name: Semgrep config +jobs: + semgrep: + name: semgrep/ci + runs-on: ubuntu-20.04 + env: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + SEMGREP_URL: https://cloudflare.semgrep.dev + SEMGREP_APP_URL: https://cloudflare.semgrep.dev + SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version + container: + image: returntocorp/semgrep + steps: + - uses: actions/checkout@v3 + - run: semgrep ci From 9ac101350fa17a3acc24bc2bd50d22a092c20305 Mon Sep 17 00:00:00 2001 From: Hrushikesh Deshpande Date: Mon, 16 Sep 2024 10:05:52 -0400 Subject: [PATCH 6/6] Adding semgrep yaml file