LICENSE with the MIT text, the README naming MIT in its opening line and a License section, and the licence field in package.json. Model: opus-5-5
This commit was merged in pull request #47.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 sneak
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,14 +1,15 @@
|
||||
# smallwebwaf
|
||||
|
||||
`smallwebwaf` is a simple, fast, logging web application firewall, written in Go
|
||||
by [@sneak](https://sneak.berlin), for people who host their own services. It
|
||||
runs inside the container of the one application it protects, between your
|
||||
reverse proxy (traefik) and the app: the app's Dockerfile builds `FROM` the
|
||||
`smallwebwaf` image, traefik sends the app's requests to `smallwebwaf` on port
|
||||
8080, and `smallwebwaf` passes them on to the app on `127.0.0.1:8081`. It needs
|
||||
no setting, and protects the app from the first request with defaults chosen for
|
||||
a service on the open internet. It keeps its state in memory and in JSON files
|
||||
you can read and edit, and writes a detailed JSON log line for every request.
|
||||
`smallwebwaf` is a simple, fast, logging web application firewall, MIT-licensed
|
||||
and written in Go by [@sneak](https://sneak.berlin), for people who host their
|
||||
own services. It runs inside the container of the one application it protects,
|
||||
between your reverse proxy (traefik) and the app: the app's Dockerfile builds
|
||||
`FROM` the `smallwebwaf` image, traefik sends the app's requests to
|
||||
`smallwebwaf` on port 8080, and `smallwebwaf` passes them on to the app on
|
||||
`127.0.0.1:8081`. It needs no setting, and protects the app from the first
|
||||
request with defaults chosen for a service on the open internet. It keeps its
|
||||
state in memory and in JSON files you can read and edit, and writes a detailed
|
||||
JSON log line for every request.
|
||||
|
||||
Status: the first milestone is built
|
||||
(https://git.eeqj.de/sneak/smallwebwaf/issues/13). `smallwebwaf` passes each
|
||||
@@ -431,7 +432,6 @@ so that they run in minimal containers.
|
||||
|
||||
- Milestone 2: rate limits per client, the country lists and the image an app
|
||||
builds on (https://git.eeqj.de/sneak/smallwebwaf/issues/14).
|
||||
- The licence (https://git.eeqj.de/sneak/smallwebwaf/issues/15).
|
||||
- The rest of the design, in the order of the build order in
|
||||
[`SPEC.md`](SPEC.md).
|
||||
|
||||
@@ -442,6 +442,10 @@ so that they run in minimal containers.
|
||||
and misses, and why none was adopted.
|
||||
- [`REPO_POLICIES.md`](REPO_POLICIES.md): the policies this repository follows.
|
||||
|
||||
## License
|
||||
|
||||
MIT. See [`LICENSE`](LICENSE).
|
||||
|
||||
## Author
|
||||
|
||||
[@sneak](https://sneak.berlin)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"prettier": "3.8.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user