Chai Feng
a90e1fbbe9
refactor(test): rename test cases for clarity
...
The test case names in `ufw-docker-service.test.sh` and `ufw-docker.test.sh` were grammatically incorrect and did not clearly describe their purpose.
This commit renames the test cases to be more descriptive and adhere to the Bach testing framework's conventions, using hyphens to improve readability in the test output.
2025-07-11 17:21:04 +08:00
Chai Feng
bc04ef1309
Enable Docker build cache
2025-07-11 16:11:04 +08:00
Chai Feng
b80a1aa9ed
fix(vagrant): Use absolute path for Dockerfile
...
Ensures the Vagrantfile can correctly locate the Dockerfile regardless of the directory from which Vagrant is run.
2025-07-11 14:32:51 +08:00
Chai Feng
08f1aa399f
Release version 250710
Build and Push Images / docker (map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build and Push Images / docker (map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Unit Testing ufw-docker / Unit Testing (push) Waiting to run
2025-07-10 10:59:16 +08:00
Chai Feng
56371e7db3
Build on all tags&branches
Build and Push Images / docker (map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build and Push Images / docker (map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Unit Testing ufw-docker / Unit Testing (push) Waiting to run
2025-07-09 23:15:20 +08:00
Chai Feng
8235abcedc
Fix actions
2025-07-09 22:33:47 +08:00
Chai Feng
9b428a667d
Fix actions
2025-07-09 22:27:01 +08:00
Chai Feng
aac96e4336
Fix missing arm64
2025-07-09 22:21:59 +08:00
Chai Feng
d203f64c75
Build on master branch
2025-07-09 21:18:45 +08:00
Chai Feng
2070bcdc98
Multi-platform builds
2025-07-09 21:17:10 +08:00
Chai Feng
c0e54ed8b2
Add suffix to tags
Build Images / docker (amd64, map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build Images / docker (amd64, map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Build Images / docker (arm64/v8, map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build Images / docker (arm64/v8, map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Unit Testing ufw-docker / Unit Testing (push) Waiting to run
2025-07-08 17:18:51 +08:00
Chai Feng
05f55b76cc
Fix Docker Meta
Build Images / docker (amd64, map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build Images / docker (amd64, map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Build Images / docker (arm64/v8, map[name:legacy use_iptables_legacy:true]) (push) Waiting to run
Build Images / docker (arm64/v8, map[name:nf_tables use_iptables_legacy:false]) (push) Waiting to run
Unit Testing ufw-docker / Unit Testing (push) Waiting to run
2025-07-08 16:53:57 +08:00
Chai Feng
f2d7e11800
Release version 250708
2025-07-08 16:21:31 +08:00
Chai Feng
b06afc13ef
Support multiple ports in ufw-docker service allow
2025-07-08 16:17:50 +08:00
Chai Feng
359d20d87c
Fix suffix, forgot to use a dash
Build Images / docker (amd64, map[name:legacy use_iptables_legacy:true]) (push) Has been cancelled
Build Images / docker (amd64, map[name:nf_tables use_iptables_legacy:false]) (push) Has been cancelled
Build Images / docker (arm64/v8, map[name:legacy use_iptables_legacy:true]) (push) Has been cancelled
Build Images / docker (arm64/v8, map[name:nf_tables use_iptables_legacy:false]) (push) Has been cancelled
Unit Testing ufw-docker / Unit Testing (push) Has been cancelled
2025-07-04 09:31:39 +08:00
Chai Feng
60a1760505
Add matrix build for different archs
2025-07-04 09:25:47 +08:00
Chai Feng
7886c73f5b
Extract a function ufw-docker--list-service-ports
2025-07-03 10:27:47 +08:00
Chai Feng
9659e5d27d
Release version 250702-nf_tables
Build Images / docker (push) Has been cancelled
Unit Testing ufw-docker / Unit Testing (push) Has been cancelled
2025-07-02 19:55:23 +08:00
Chai Feng
168fc59905
Add IPv6 network support and --docker-subnets
option for install/check
...
- Add support for IPv6 networks in firewall rule generation and validation.
- Add --docker-subnets [SUBNET1 SUBNET2 ...] option to `ufw-docker install` and `ufw-docker check`.
- When used without arguments, automatically detects and applies all Docker network subnets.
- When given subnet arguments, applies firewall rules only to specified subnets (supports multiple subnets, including non-Docker-managed networks).
- If not specified, falls back to default RFC1918 IPv4 and fd00::/8 IPv6 subnets.
- Improve help output with detailed examples and usage guidance.
2025-07-02 18:54:07 +08:00
Chai Feng
e9a9f13095
Update README
2025-06-28 10:36:13 +08:00
Chai Feng
31380eb7ec
Merge branch 'master' into v6nat
2025-06-28 09:51:36 +08:00
Chai Feng
276324acf0
Update Dockerfile, add support for iptables legacy mode via a build arg
2025-06-28 09:19:14 +08:00
Chai Feng
1a51b59cf8
Update build docker image actions, fix username
Build Images / docker (push) Has been cancelled
Unit Testing ufw-docker / Unit Testing (push) Has been cancelled
2025-01-13 11:31:05 +08:00
Chai Feng
5908cde296
Update github actions that build docker iamges
2025-01-13 11:24:08 +08:00
Chai Feng
8f9335326f
Build multi-arch docker images
2025-01-13 11:01:15 +08:00
Chai Feng
c9547cb4ec
Refactor Vagrantfile with getting docker version automatically
Unit Testing ufw-docker / Unit Testing (push) Has been cancelled
2024-11-11 18:08:27 +08:00
Chai Feng
9474084f3f
Update Dockerfile with improved version matching
2024-11-11 18:07:06 +08:00
Chai Feng
1fa425bf17
Add node-internal
2024-11-08 10:25:22 +08:00
Chai Feng
3d6896cdd1
Update Bach to the latest unreleased version
2024-09-29 10:25:06 +08:00
Vladislav Fursov
a9fe32d1fa
Add IPv6 support
2023-03-20 02:54:43 +04:00
anuragpeshne
6cdd4dfd2f
adds test for docker exist
2023-02-21 19:20:42 +08:00
anuragpeshne
17e6047590
Adds check for docker executable and adds snap to path
2023-02-21 19:20:42 +08:00
Chai Feng
a273ac9d51
221002-nf_tables
2022-10-02 17:03:51 +08:00
Chai Feng
cdad5e2a02
221002-legacy
2022-10-02 17:01:24 +08:00
Chai Feng
9d890ee3ee
Add integration tests related to PR #71
2022-09-26 22:00:05 +08:00
Radosław Kłos
a1d3517aeb
Add integration tests for multiport app
2022-09-26 21:43:22 +08:00
Radosław Kłos
d1e6c13156
Add unit tests for alternative greps in ufw-docker--list
2022-09-26 21:43:22 +08:00
Radosław Kłos
682d8b363f
Fix existing unit tests
2022-09-26 21:43:22 +08:00
Radosław Kłos
a689c4eb6e
Fix (almost) always truthy regexp in ufw-docker--list
2022-09-26 21:43:22 +08:00
Chai Feng
e99858510d
Update Bach Testing Framework
2022-09-21 08:43:58 +08:00
Chai Feng
712b0e8075
Change to iptables (nf_tables), using Ubuntu 22.04
2022-09-20 21:51:39 +08:00
Chai Feng
5033bf815c
Auto select the correct agent image for different version of iptables
2022-09-20 21:38:10 +08:00
Chai Feng
d110fc00ff
Testing on ubuntu 22.04
2022-09-01 19:53:22 +08:00
Radosław Kłos
9df291d39e
Bump Ubuntu version
2022-08-22 18:59:22 +08:00
Chai Feng
c95d51c975
Run integration tests on Apple Silicon with Parallels
2022-07-28 14:53:50 +08:00
Egor Panfilov
8aecb89d4e
Update ufw-docker
2021-11-09 22:11:30 +08:00
Egor Panfilov
1333dcd298
Update ufw-docker
2021-11-09 22:11:30 +08:00
Egor Panfilov
e40bfd517c
Fix tabs in ufw-docker
2021-11-09 22:11:30 +08:00
Chai Feng
97543811ea
Re-indenting ufw-docker--allow
2021-10-23 21:27:37 +08:00
Chai Feng
afd62aa96b
Version 210925
released
2021-09-25 20:43:12 +08:00