Commit Graph

124 Commits

Author SHA1 Message Date
Chai Feng
0ad2ebbd47 build ufw-docker-agent image in Vagrant 2020-08-12 13:48:01 +08:00
Chai Feng
ab03a6aa64
Always using english to avoid multilingual issue 2020-01-09 13:05:18 +08:00
Chai Feng
e2e6d76187
Merge pull request #27 from tobiashe/master
fixing issue \#25 Doesn't with other locale
2020-01-09 12:14:14 +08:00
Artem Sherstnev
86568044ed fixing issue \#25 Doesn't with other locale 2020-01-06 16:14:48 +03:00
Chai Feng
3d2259125b
Merge pull request #13 from kronthto/patch-1
ufw reload
2019-06-03 13:16:47 +08:00
Tobias Kronthaler
d02334ffc1
Update section of applying rule changes
Add `ufw reload` hint and fix formatting
2019-06-02 15:06:09 +02:00
Chai Feng
2545d2977b
allow re-provision for vagrant 2018-12-01 12:32:33 +08:00
Chai Feng
8e9a7c20f5
Add a logging rule in firewall rules 2018-12-01 12:31:59 +08:00
Chai Feng
d4fbb6685c
create the symbolic link if not exist 2018-12-01 12:08:20 +08:00
Chai Feng
10ce4a8dbe
fix wrong check command in Vagrantfile 2018-12-01 12:08:01 +08:00
Chai Feng
da0738d8c7
include license and readme in the docker image 2018-11-25 13:10:38 +08:00
Chai Feng
2fdeecb4cb
update readme, to allow a bigger port range to receive DNS packages 2018-11-25 13:07:59 +08:00
Chai Feng
768d7b0577
refactor check-install function 2018-11-24 13:48:31 +08:00
Chai Feng
d831601aa9
update readme, ufw-docker check 2018-11-23 22:10:56 +08:00
Chai Feng
ef16648ecb
add check sub-command, for checking installation of firewall rules 2018-11-23 22:10:06 +08:00
Chai Feng
766aa9c727
fix receiving DNS packages 2018-11-23 16:46:19 +08:00
Chai Feng
34e84c01b3
try it out 2018-10-07 08:52:47 +08:00
Chai Feng
ce5010172a
add Vagrantfile, for testing this script 2018-10-07 08:34:16 +08:00
Chai Feng
099f49653c
extract function "is-installed" 2018-10-06 21:40:43 +08:00
Chai Feng
1fe82b9560
typo 2018-10-06 16:21:22 +08:00
Chai Feng
81f85aba98
update readme, add docker swarm support 2018-10-06 15:52:55 +08:00
Chai Feng
88683854ab
Delete service environment variables with the same service name 2018-10-06 15:25:47 +08:00
Chai Feng
36afb81244
remove "force add" 2018-10-06 13:06:22 +08:00
Chai Feng
4ab8060b92
fix code problems 2018-10-06 13:02:29 +08:00
Chai Feng
f16f69a23f
check if port list is empty 2018-10-06 06:43:06 +08:00
Chai Feng
eafd3b70f9
an unexpected space 2018-10-06 06:38:56 +08:00
Chai Feng
b20a989c24
refactor UFW_ACTION 2018-10-05 19:31:09 +08:00
Chai Feng
a3195297d7
fix wrong syntax 2018-10-05 19:30:48 +08:00
Chai Feng
0c23335317
using env to find a service which is to be deleted 2018-10-05 18:52:21 +08:00
Chai Feng
8116401b7c
fix wrong type of service_env 2018-10-05 18:22:22 +08:00
Chai Feng
965659601c
fix typo 2018-10-05 18:21:52 +08:00
Chai Feng
ca686dd582
Infinite loop 2018-10-05 18:11:33 +08:00
Chai Feng
8712595939
add service name in the env variable 2018-10-05 18:05:20 +08:00
Chai Feng
7e659b23c9
update entrypoint: update or deny service rule 2018-10-05 16:26:07 +08:00
Chai Feng
8556bb7687
add sub command: add-service-rule 2018-10-05 16:25:44 +08:00
Chai Feng
b0aa7318da
add internal sub-command raw-command 2018-10-05 14:11:57 +08:00
Chai Feng
e92bdff8c3
extract main function 2018-10-05 13:39:57 +08:00
Chai Feng
b1aec55699
use published port, not target port 2018-10-05 10:34:08 +08:00
Chai Feng
00bf86f138
fix bug 2018-10-03 15:57:54 +08:00
Chai Feng
589832c221
fix a bug about finding instance name 2018-10-03 15:44:08 +08:00
Chai Feng
52ca7eda4d
allow DEBUG env in entrypoint 2018-10-03 15:43:44 +08:00
Chai Feng
be9bdf1782
instance names may contains dot 2018-10-03 15:43:11 +08:00
Chai Feng
9f25de1d2f
monitor docker events 2018-10-03 15:02:50 +08:00
Chai Feng
dc0c629107
Adding rules may not including port number 2018-10-03 14:31:52 +08:00
Chai Feng
f9604f62cf
remove rules when a container is to stopped 2018-10-03 14:31:34 +08:00
Chai Feng
b8968f8481
service allow sub-command must need a port 2018-10-03 13:32:08 +08:00
Chai Feng
b6c6516731
WIP: update docker-entrypoint.sh 2018-10-03 12:46:40 +08:00
Chai Feng
a53fe1ba25
pass ufw_docker_agent_image 2018-10-03 12:03:34 +08:00
Chai Feng
8eb83755b9
use service id instead of service name 2018-10-03 11:22:50 +08:00
Chai Feng
9767d9e5e1
WIP: update all services rules 2018-10-03 11:09:54 +08:00