83 Commits

Author SHA1 Message Date
Ilya Chernishev
1c9a1f2d3e docs: add example of using BlockerFactory with different firewall engines
Some checks failed
CI.yml / build (push) Failing after 39s
2026-01-12 17:51:46 +03:00
Ilya Chernishev
74dd666ff6 feat: add BlockerFactory for flexible blocker instantiation 2026-01-12 17:51:37 +03:00
Ilya Chernishev
e4b9993748 refactor: implement full BlockerEngine interface for UFW 2026-01-12 17:51:28 +03:00
Ilya Chernishev
9afe4ac1b9 refactor: implement full BlockerEngine interface for Nftables 2026-01-12 17:51:17 +03:00
Ilya Chernishev
dc915b1e17 refactor: expand BlockerEngine interface with Setup, List, Close methods and blocker info 2026-01-12 17:50:58 +03:00
d3m0k1d
1689340223 feat: Add nftables Ban/Unban methods(no tested)
All checks were successful
CI.yml / build (push) Successful in 47s
2026-01-12 17:03:52 +03:00
d3m0k1d
adff028281 fix(README.md): typo
All checks were successful
CI.yml / build (push) Successful in 46s
2026-01-12 16:06:58 +03:00
d3m0k1d
36dcdca210 docs: add Requirements and License block on README.md
All checks were successful
CI.yml / build (push) Successful in 48s
2026-01-12 16:04:31 +03:00
d3m0k1d
871965f437 Update path validator
All checks were successful
CI.yml / build (push) Successful in 56s
2026-01-12 15:56:28 +03:00
d3m0k1d
7c0bdc2dfa fix(security): fix gosec G204 warnings
All checks were successful
CI.yml / build (push) Successful in 55s
- Use separate arguments instead of string concat in firewall-cmd
- Add validateConfigPath() for iptables config path validation
- Blocks path traversal and restricts to trusted directories

Fixes G204 warnings.
2026-01-11 22:41:27 +03:00
d3m0k1d
41ff13fa66 Add firewalld and iptables ban realization, add firewall config file in config types
Some checks failed
CI.yml / build (push) Failing after 42s
2026-01-11 22:17:57 +03:00
d3m0k1d
99b97836ff Delete Flash and IsBanning from interface
All checks were successful
CI.yml / build (push) Successful in 48s
2026-01-11 20:40:46 +03:00
d3m0k1d
b3431d248b feat: initialize BanForge with CI/CD pipeline and linting configuration
All checks were successful
CI.yml / build (push) Successful in 49s
2026-01-11 20:33:56 +03:00
d3m0k1d
577f7ef0b9 Add linter and fix more errs in proj
Some checks failed
CI.yml / build (push) Failing after 14s
2026-01-11 19:41:20 +03:00
d3m0k1d
95ce6441d1 Add 2026-01-11 19:41:04 +03:00
d3m0k1d
424f5db9af Update ufw
All checks were successful
CI.yml / build (push) Successful in 38s
2026-01-11 17:56:47 +03:00
Ilya Chernishev
1cc9f3d191 Revise README with English content and roadmap
Updated README to include English descriptions and roadmap.
2026-01-11 17:54:42 +03:00
Ilya Chernishev
f46d3242b6 docs: write comprehensive README with project overview and roadmap 2026-01-11 17:51:48 +03:00
d3m0k1d
1bbbd97190 Add init comand on daemon
All checks were successful
CI.yml / build (push) Successful in 39s
2026-01-11 17:13:22 +03:00
d3m0k1d
aec8a8286f Add base interface and ufw realisation
All checks were successful
CI.yml / build (push) Successful in 36s
2026-01-11 16:27:45 +03:00
d3m0k1d
32a03807f1 Add run test to pipline
All checks were successful
CI.yml / build (push) Successful in 38s
2026-01-10 22:59:57 +03:00
d3m0k1d
8f42c9022b Fix pipeline
All checks were successful
CI.yml / build (push) Successful in 37s
2026-01-10 22:28:41 +03:00
d3m0k1d
7ed957077d First ci for gitea
Some checks failed
CI.yml / build (push) Has been cancelled
2026-01-10 22:15:24 +03:00
d3m0k1d
7c4f05f29d Add new test 2026-01-10 20:16:13 +03:00
d3m0k1d
d4d119d53b Fix log, and first simple test 2026-01-05 17:27:46 +03:00
d3m0k1d
4efc3b6667 Recode parser logic 2026-01-05 17:12:01 +03:00
d3m0k1d
f85ebe6ada Update config logic 2026-01-05 16:29:06 +03:00
d3m0k1d
1ca8d180fe Recode sysconf logic 2026-01-04 22:35:50 +03:00
d3m0k1d
8bac2b205e Rename local->internal 2026-01-04 19:26:38 +03:00
d3m0k1d
3ace10d05a Add generate a dir and conf file in /etc/banforge 2026-01-04 19:21:57 +03:00
d3m0k1d
2ac31f49af Add Makefile and main.go in cli tools, base logger 2026-01-04 18:42:41 +03:00
d3m0k1d
0a5c9bc2d1 Init proj 2026-01-04 18:07:45 +03:00
Ilya Chernishev
6c004e8198 Initial commit 2026-01-04 17:58:33 +03:00