avoid to update ufw rules repeatly.