Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-15 | bugfix: DNS domain forward server syntax | Christian Poessinger | |
When generating a configuration for DNS domain forward to a local server with 'set service dns forwarding domain foo.com server 1.1.1.1' this resulted in # domain ... server ... forward-zones=bar.com = 2.1.1.1;2.1.1.2 forward-zones=foo.com = 1.1.1.1;1.1.1.2 On PowerDNS recursor restart the last line won and it totally forgot about 'bar.com'. This could be seen from the logfiles that only one domain was loaded: Redirecting queries for zone 'foo.com.' to: 1.1.1.1:53, 1.1.1.2:53 The manual at https://doc.powerdns.com/3/recursor/settings/#forward-zones shows that all domains have to be configured on one 'forward-zones=' line. In the above example this has to result in: forward-zones=bar.com=2.1.1.1;2.1.1.2, foo.com=1.1.1.1;1.1.1.2 A subsequent check within the logfiles reveal that it's now working: Redirecting queries for zone 'bar.com.' to: 2.2.2.2:53, 2.2.2.1:53 Redirecting queries for zone 'foo.com.' to: 1.1.1.1:53, 1.1.1.2:53 | |||
2018-05-15 | Merge remote-tracking branch 'upstream/current' into current | Christian Poessinger | |
* upstream/current: Do not try to decode data read from /sys files in the show version script, it's already an str. Dependencies on file and pystache, for install and show version scripts.. Add dependency on hvinfo, too. T637, T638: add dependencies on tcpdump and bmon. T638: new op mode CLI for the bandwidth monitor commands. T637: new op mode for traffic dumps based on tcpdump. Correct the logic of generating tag nodes for op mode. Add missing vyos.base module Fix cron interval regex to allow single digit values. Fix misplaces ConfigError exception. Some more valueless fixes. Mark nodes in SSH and NTP valueless (related to T602). | |||
2018-05-15 | bugfix: vyos-config-dns-forwarding.py: adding name-server into dictionary | Christian Poessinger | |
2018-05-15 | bugfix: remove whitespaces in generated 'powerdns/recursor.conf' | Christian Poessinger | |
2018-05-15 | Do not try to decode data read from /sys files in the show version script, | Daniil Baturin | |
it's already an str. | |||
2018-05-15 | T637: new op mode for traffic dumps based on tcpdump. | Daniil Baturin | |
2018-05-14 | Fix misplaces ConfigError exception. | Daniil Baturin | |
2018-05-14 | T564: initial implementation of the DNS forwarding op mode commands. | Daniil Baturin | |
2018-05-14 | Move the show version command to the vyos-1x package and refactor it a bit. | Daniil Baturin | |
2018-05-14 | Add some ipaddrcheck-based IP validators. | Daniil Baturin | |
2018-05-13 | T623: refactor NTP script and switch to jinja2 | Christian Poessinger | |
2018-05-13 | Merge branch 'ssh-rewrite' into current | Christian Poessinger | |
* ssh-rewrite: T631: small bugfix in config parsind for deny-users T631: improve help for access-control T631: refactor SSH script and switch to jinja2 T631: first full generated config file with XML and Python T631: use completionHelp for SSH rather then valueHelp T631: Rewrite SSH configuration as XML interface definition | |||
2018-05-13 | T631: small bugfix in config parsind for deny-users | Christian Poessinger | |
2018-05-13 | T631: refactor SSH script and switch to jinja2 | Christian Poessinger | |
2018-05-12 | T560: bugfix access to NoneType object | Christian Poessinger | |
Commit f1bbc20716 ("Add jinja2 and ipaddrcheck to dependencies.") introduced access to a NoneType object when the service was removed. This happened after: $ delete service dns forwarding $ commit File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 201, in <module> verify(c) File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 164, in verify if not dns['interfaces']: TypeError: 'NoneType' object is not subscriptable | |||
2018-05-12 | vyos-config-dns-forwarding.py remote obsolete 'import time' | Christian Poessinger | |
2018-05-12 | T631: first full generated config file with XML and Python | Christian Poessinger | |
2018-05-12 | T631: Rewrite SSH configuration as XML interface definition | Christian Poessinger | |
2018-05-11 | T560: refactor the pdns script and switch to jinja2. | Daniil Baturin | |
2018-05-07 | Switch to DNS hostnames for NTP servers | Christian Poessinger | |
2018-05-06 | T623: Rewrite NTP subsystem in new XML style interface definition | Christian Poessinger | |
2018-05-06 | T622: PDNS does not export /etc/hosts entries | Christian Poessinger | |
2018-04-19 | broadcast-relay: bugfix writing daemon config file | Christian Poessinger | |
2018-04-19 | broadcast-relay: bugfix loading configuration into list [] | Christian Poessinger | |
2018-04-19 | mdns-repeater: ensure list [] when retrieving interfaces | Christian Poessinger | |
2018-04-15 | dns-forwarding.py: be more tolerant on missconfigured DHCP source | Christian Poessinger | |
If a user configures 'set service dns forwarding dhcp <if>' and <if> is not a DHCP interface, this won't corrupt the recursor.conf. The missconfiguration is simply ignored. | |||
2018-04-15 | T560: dns-forwarding: replace dnsmasq with pdns-recursor | Christian Poessinger | |
2018-04-15 | dns-forwarding.py: add missing 'query-all-servers' path | Christian Poessinger | |
2018-04-15 | Initial working version for XML interface to configure dnsmasq | Christian Poessinger | |
2018-04-15 | Initial CLI interface support for XML DNS forwarder | Christian Poessinger | |
2018-04-15 | mdns-repeater: bugfix python script | Christian Poessinger | |
2018-03-02 | T379: rename bcast-relay to broadcast-relay. | Daniil Baturin | |
2018-01-06 | mdns-repeater: Remove Python subprocess imports | Christian Poessinger | |
2018-01-05 | bcast-relay: Initial configuration nodes for 'service bcast-relay' | Christian Poessinger | |
2017-12-10 | mdns-repeater: use consistent naming of 'interface' node | Christian Poessinger | |
2017-12-09 | Drop call to 'service' wrapper in 'vyos-config-mdns-repeater.py' | Christian Poessinger | |
Using 'service' as wrapper to start system services is no longer necessary, hence use the full systemd command. | |||
2017-12-09 | Add 'vyos-update-mdns-repeater.py' functionality | Christian Poessinger | |
2017-12-09 | Initial interface description for 'mdns repeater' | Christian Poessinger | |
2017-09-20 | T393: Migrate vyatta-lldpd to vyos-1x | Taniadz | |
2017-09-16 | T395: Implement a numeric value validator | Daniil Baturin | |
2017-09-08 | Separate VyOSError and ConfigError. | Daniil Baturin | |
VyOSError is now only raised on improper config operations and internal errors, such as trying to use a function on a wrong kind of node. ConfigError should be used by scripts to indicate configuration mistakes and error conditions. | |||
2017-09-08 | Better checks in the cron script. | Daniil Baturin | |
Check if crontab exists before trying to delete it. Fail commit if executable is not defined in the task. | |||
2017-09-08 | Rename the cron script to not mention Vyatta anymore. | Daniil Baturin | |
2017-09-08 | Restructure the cron script and fix bugs. | Daniil Baturin | |
Do not inherit from the Config class, it only made things more complicated. Remove the sys.path.append that was made necessary by using partial paths where full paths are expected. Exit with 1 (to make commit fail properly) if VyOSError is raised. Replace the OO representation of cron jobs with simple hashes: the format is not expected to grow any more complex and encapsulation will hardly be necessary (though if one can think of a good OO design for this, it's welcome). Do not mix config reading and validation to enable changing the syntax without changing any of the code but get_config() | |||
2017-08-27 | adding validate(), generate(), apply() to vyatta-update-crontab.py | Taniadz | |
2017-08-23 | adding vyatta-update-crontab.py | Taniadz | |