By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Support for adding more than one domain
SSO works across multiple domains
Automatically install and configure Crowdsec via installer script
Add option to add Crowdsec on new installs via installer script
Add option to add Crowdsec to existing installs via installer script
Add support h2c as method to resource target method
Strip :80 and :443 from domain to before matching to resource
Evaluate rules even if all auth is disabled for resource
Fix bug causing targets and rules tables to only show 10 rows
Delete stale data (expired sessions) from database on start up
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/pangolin/pull/244
**Author:** [@miloschwartz](https://github.com/miloschwartz)
**Created:** 2/27/2025
**Status:** ✅ Merged
**Merged:** 2/27/2025
**Merged by:** [@miloschwartz](https://github.com/miloschwartz)
**Base:** `main` ← **Head:** `dev`
---
### 📝 Commits (10+)
- [`d22c782`](https://github.com/fosrl/pangolin/commit/d22c7826fe63ab58e44988597f3df260192507c8) Add config files
- [`a7b8ffa`](https://github.com/fosrl/pangolin/commit/a7b8ffaf9f0002fdac04b9b693946441ae78bf01) Merge branch 'dev' into crowdsec
- [`81c4199`](https://github.com/fosrl/pangolin/commit/81c4199e87fdd066495101f85e47bcb6f49a1058) Complete bash migration
- [`60449af`](https://github.com/fosrl/pangolin/commit/60449afca5f3186e31c5d8210e116c9a49de884b) Reorg; create crowdsec folder properly now
- [`6223894`](https://github.com/fosrl/pangolin/commit/62238948e0002d7d5492caf251f2ba513c83e045) save
- [`bdee036`](https://github.com/fosrl/pangolin/commit/bdee036ab422683c9534d9a2d589d93702972bd2) Add name; Resolves #190
- [`b862e1a`](https://github.com/fosrl/pangolin/commit/b862e1aeef667ccd7e0157639d95dcea6e14d48f) Add h2c as target method; Resolves #115
- [`7bf820a`](https://github.com/fosrl/pangolin/commit/7bf820a4bfd19c5278e2d39463151fe1aa5fd7f8) Clean off ports for 80 and 443 hosts
- [`dabd4a0`](https://github.com/fosrl/pangolin/commit/dabd4a055c2c63996c585018ce3e7d696a3d7868) Creating structure correctly
- [`532d369`](https://github.com/fosrl/pangolin/commit/532d3696c2300ef1bad88482309cd1d00be304d9) sync config managed domains to db
### 📊 Changes
**69 files changed** (+4560 additions, -689 deletions)
<details>
<summary>View changed files</summary>
📝 `config/config.example.yml` (+5 -2)
📝 `docker-compose.example.yml` (+3 -5)
📝 `install/Makefile` (+17 -6)
➕ `install/config.go` (+353 -0)
📝 `install/config/config.yml` (+5 -1)
➕ `install/config/crowdsec/acquis.yaml` (+18 -0)
➕ `install/config/crowdsec/docker-compose.yml` (+35 -0)
➕ `install/config/crowdsec/dynamic_config.yml` (+108 -0)
➕ `install/config/crowdsec/profiles.yaml` (+25 -0)
➕ `install/config/crowdsec/traefik_config.yml` (+87 -0)
📝 `install/config/docker-compose.yml` (+3 -4)
📝 `install/config/traefik/dynamic_config.yml` (+0 -0)
📝 `install/config/traefik/traefik_config.yml` (+0 -0)
➕ `install/crowdsec.go` (+121 -0)
📝 `install/go.mod` (+1 -0)
📝 `install/go.sum` (+3 -0)
➕ `install/input.txt` (+12 -0)
📝 `install/main.go` (+250 -60)
📝 `package.json` (+1 -1)
📝 `server/auth/actions.ts` (+1 -0)
_...and 49 more files_
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
- Support for adding more than one domain
- SSO works across multiple domains
- Automatically install and configure Crowdsec via installer script
- Add option to add Crowdsec on new installs via installer script
- Add option to add Crowdsec to existing installs via installer script
- Add support h2c as method to resource target method
- Strip :80 and :443 from domain to before matching to resource
- Evaluate rules even if all auth is disabled for resource
- Fix bug causing targets and rules tables to only show 10 rows
- Delete stale data (expired sessions) from database on start up
## How to test?
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/244
Author: @miloschwartz
Created: 2/27/2025
Status: ✅ Merged
Merged: 2/27/2025
Merged by: @miloschwartz
Base:
main← Head:dev📝 Commits (10+)
d22c782Add config filesa7b8ffaMerge branch 'dev' into crowdsec81c4199Complete bash migration60449afReorg; create crowdsec folder properly now6223894savebdee036Add name; Resolves #190b862e1aAdd h2c as target method; Resolves #1157bf820aClean off ports for 80 and 443 hostsdabd4a0Creating structure correctly532d369sync config managed domains to db📊 Changes
69 files changed (+4560 additions, -689 deletions)
View changed files
📝
config/config.example.yml(+5 -2)📝
docker-compose.example.yml(+3 -5)📝
install/Makefile(+17 -6)➕
install/config.go(+353 -0)📝
install/config/config.yml(+5 -1)➕
install/config/crowdsec/acquis.yaml(+18 -0)➕
install/config/crowdsec/docker-compose.yml(+35 -0)➕
install/config/crowdsec/dynamic_config.yml(+108 -0)➕
install/config/crowdsec/profiles.yaml(+25 -0)➕
install/config/crowdsec/traefik_config.yml(+87 -0)📝
install/config/docker-compose.yml(+3 -4)📝
install/config/traefik/dynamic_config.yml(+0 -0)📝
install/config/traefik/traefik_config.yml(+0 -0)➕
install/crowdsec.go(+121 -0)📝
install/go.mod(+1 -0)📝
install/go.sum(+3 -0)➕
install/input.txt(+12 -0)📝
install/main.go(+250 -60)📝
package.json(+1 -1)📝
server/auth/actions.ts(+1 -0)...and 49 more files
📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.