summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-src-nat.pl
AgeCommit message (Collapse)Author
2015-11-28vyatta-nat: only create nat object for testing changed or added rulesAlex Harpin
Only create a new source or destination NAT object when testing changed or added NAT rules to reduce testing overhead. Bug #493 http://bugzilla.vyos.net/show_bug.cgi?id=493
2015-11-28vyatta-nat: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-update-dst-nat.pl and scripts/vyatta-update-src-nat.pl to maintain style and consistency.
2015-07-19vyatta-nat: check nat rules for errors before processing them for realAlex Harpin
Errors in both source and destination NAT rules can cause either rules to be overwritten (completely or partially), dropped entirely, or just ending up with an inconsistent state in comparison to the current configuration. This can lead to unpredictable NAT results, which can't even be corrected by deleting all the nat rules, only a reboot will correct the issue. Checking these rules for consistency in a separate loop before they are applied allows the errors to flagged up and the commit failed before the nat table is touched. Bug #493 http://bugzilla.vyos.net/show_bug.cgi?id=493
2015-07-19Revert "vyatta-nat: check nat rules for errors before processing them for real"Alex Harpin
This reverts commit 5f05bdd480f0de2be2d87934b9b53dab09ead9ea.
2015-07-12vyatta-nat: check nat rules for errors before processing them for realAlex Harpin
Errors in both source and destination NAT rules can cause either rules being overwritten or partially, dropped entirely or just end up with an inconsistent state in comparison to the current configuration. This can lead to unpredictable NAT results, which can't even be corrected by deleting all the nat rules, only a reboot will solve them. Checking these rules for consistency in a separate loop before they are applied allows the errors to flagged up and the commit failed before the nat table is touched. Bug #493 http://bugzilla.vyos.net/show_bug.cgi?id=493
2014-03-19Fix condition of all_deletedYuya Kusakabe
2013-11-10Bug #8331: provide rule number in commit error message.Daniil Baturin
2011-10-11Bug 5682: Add vyatta-update-src-nat.pl script for source NAT rules update.Daniil Baturin