15 Commits (master)

Author SHA1 Message Date
lub 115afc0428 add log output in case no action is needed 4 years ago
lub 1a6fbd9d96 search for docker-compose.yml instead of *.yaml,*.yml
since we place configs (which could be yaml) in the lubidock
repository it can cause errors while mistakenly parsing service
configs instead of only parsing compose files
5 years ago
lub c0e8c99380 use $nat.protocol instead of hardcoded tcp 5 years ago
lub 26eb77afd4 extract optional protocol from short form
fixes issue #1
5 years ago
lub 8712db3763 additionally create chain rule in OUTPUT
otherwise they won't work locally on the swarm workers
5 years ago
lub f8969e5f4a correct the iptables rule to use published_port as target 5 years ago
lub 1d05b65c3d insert new rules as first
this orders the SWARM-NAT jump rule before DOCKER-INGERSS
5 years ago
lub aa34420c42 read params from $env 5 years ago
lub 08491dcbba implement $ingress_address and actually add rules
This commit adds Get-DockerIngressAddress
5 years ago
lub 284c415076 implement Start-IptablesProcess
this strips away some splatting boilerplate of the other iptables functions
5 years ago
lub cdf3653658 implement Add-IptablesRule 5 years ago
lub e4a4c91471 add Test-IptablesRule 5 years ago
lub 1bc493d5de add legacy bash code/notes 5 years ago
lub 8e8b4b35ac implement creation of SWARM-NAT chain
this is done by two functions:
Test-IptablesChain
Add-IptablesChain
5 years ago
lub 92fbd0b4c5 working parsing 5 years ago