kaysond / trafficjam

A Docker firewall for your reverse proxy network
136 stars 8 forks source link

Improve startup performance #3

Closed kaysond closed 2 years ago

kaysond commented 3 years ago

iptables operations from within the container are horrendously slow for some reason, which makes initial setup take very long. A side effect is that CI has to wait too

kaysond commented 2 years ago

fixed by adding the --numeric option to iptables calls which prevents it from doing reverse dns lookups on every ip in a rule when listing