d3m0k1d
b9754f605b
fix: Delete sudo calls on exec
build / build (push) Successful in 3m8s
CD - BanForge Release / release (push) Successful in 5m24s
2026-01-27 16:20:03 +03:00
d3m0k1d
16a174cf56
Fix: fix init nftables, fix logic ban/unban command
build / build (push) Successful in 2m39s
2026-01-20 23:41:22 +03:00
d3m0k1d
1603fbee35
feat: add simple setup func to blockerengine, fix init and db, version for realease v0.2.0
CD - BanForge Release / release (push) Successful in 20s
CI.yml / build (push) Successful in 2m1s
CD - BanForge Release / build (amd64, linux) (push) Successful in 3m3s
CD - BanForge Release / build (arm64, linux) (push) Successful in 2m52s
2026-01-15 19:14:44 +03:00
d3m0k1d
14c6c64989
tests: update makefile and add test for validators and writter
CI.yml / build (push) Successful in 2m20s
2026-01-15 17:27:46 +03:00
d3m0k1d
7a7f57f5ae
feat: add new command to control firewall in banfogre interface
CI.yml / build (push) Successful in 1m44s
2026-01-14 17:47:29 +03:00
d3m0k1d
72018eb69e
feat: Rename and set as method NftablesSetup -> Setup, fix template and types config, add create template config in system, update logic finds firewalls on system, add BurntSushi/toml as dependencies
2026-01-13 14:53:16 +03:00
d3m0k1d
9e9505e8d5
refactoring(nftables): recode logic setup table and chains
CI.yml / build (push) Successful in 44s
2026-01-13 13:58:47 +03:00
d3m0k1d
11eac77f5b
Clean code after fucking AI
CI.yml / build (push) Successful in 44s
2026-01-13 13:31:44 +03:00
Ilya Chernishev
06ded14fb4
Delete internal/blocker/factory.go
CI.yml / build (push) Failing after 37s
2026-01-12 18:01:19 +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)
CI.yml / build (push) Successful in 47s
2026-01-12 17:03:52 +03:00
d3m0k1d
871965f437
Update path validator
CI.yml / build (push) Successful in 56s
2026-01-12 15:56:28 +03:00
d3m0k1d
7c0bdc2dfa
fix(security): fix gosec G204 warnings
...
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
CI.yml / build (push) Failing after 42s
2026-01-11 22:17:57 +03:00
d3m0k1d
99b97836ff
Delete Flash and IsBanning from interface
CI.yml / build (push) Successful in 48s
2026-01-11 20:40:46 +03:00
d3m0k1d
95ce6441d1
Add
2026-01-11 19:41:04 +03:00
d3m0k1d
424f5db9af
Update ufw
CI.yml / build (push) Successful in 38s
2026-01-11 17:56:47 +03:00
d3m0k1d
aec8a8286f
Add base interface and ufw realisation
CI.yml / build (push) Successful in 36s
2026-01-11 16:27:45 +03:00