summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-05-31T629: replace the config-management migration script.Daniil Baturin
2018-05-30Merge branch 'current' of github.com:vyos/vyos-1x into currentDaniil Baturin
2018-05-29T667: add a migration script for converting "system gateway-address" to ↵Daniil Baturin
"protocols static route 0.0.0.0". Code-wise that option was in vyatta-cfg-quagga, but the syntax is inside "system", so let's keep the script under system too.
2018-05-29dns_forwarding.py: use a more fancy jinja2 syntax for delimitersChristian Poessinger
2018-05-29T664: DNS forwarder config broken with more than 2 zonesChristian Poessinger
2018-05-24T462: make cron jobs run with vyattacfg GID.Daniil Baturin
2018-05-24T128: make nonexistent listen-on interface in DNS forwarding a warning ↵Daniil Baturin
rather than an error.
2018-05-23Use normal assignment by key instead of setdefault() everywhere.Daniil Baturin
The setdefault() dict object method updates the value only if it's not already set, so it's useless for what we want to do, despite its deceptive name.
2018-05-21T588: Configurable Negative TTL caching in forwarderChristian Poessinger
2018-05-20T603: complete the reset dns forwarding command.Daniil Baturin
2018-05-20T560: enable non-local bind in the defaults, add 'listen-address' option, ↵Daniil Baturin
and add a deprecation warning for the listen-on option.
2018-05-19T564: a command to reset DNS forwarding cache for a domain and better ↵Daniil Baturin
checking for unconfigured service.
2018-05-19host-name: fix test_applyYuya Kusakabe
2018-05-18host-name: Add --static option to hostnamectlYuya Kusakabe
2018-05-17Add tests for host-name and domain-name againYuya Kusakabe
2018-05-17Temporarily remove the broken hostname tests so that the package can build.Daniil Baturin
2018-05-17T574: fix setting the hostname on boot.Daniil Baturin
2018-05-17Fix import path for ConfigErrorYuya Kusakabe
2018-05-17Merge pull request #12 from higebu/more-testsYuya Kusakabe
Add tests for hostname
2018-05-17Add tests for hostnameYuya Kusakabe
2018-05-16conf_mode: remove generation time from config header and adjust scriptnameChristian Poessinger
2018-05-16Revert "T634: Remove 'service ssh allow-root'"Christian Poessinger
This reverts commit d9474df03d47b20f06580c3b32aac69849162015.
2018-05-16T644: update op mode and rename the test suite.Daniil Baturin
2018-05-16T644: remove prefixing from all scripts and update environment variables ↵Daniil Baturin
with VyOS paths.
2018-05-16Use '_' instead of '-' for python scripts for testYuya Kusakabe
2018-05-16Merge branch 'current' of github.com:vyos/vyos-1x into currentDaniil Baturin
2018-05-16T574: fix the hostname configuration script and add the domain-name command.Daniil Baturin
Fix multiple syntax errors. Restart rsyslog after update since it uses the hostname. Write the 127.0 entry to /etc/hosts, since sudo complains when it cannot resolve it.
2018-05-16Merge pull request #10 from higebu/add-testsDaniil Baturin
T626 Add tests for vyos-update-crontab and initial setup for sonarcloud
2018-05-16Merge pull request #8 from jbrodriguez/id/hostnameDaniil Baturin
T574: Add new style scripts and definitions for system host-name
2018-05-16T626 Add tests for vyos-update-crontab and initial setup for sonarcloudYuya Kusakabe
2018-05-16T643: use fullmatch for regex validators so that people don't have to write ↵Daniil Baturin
^...$ all the time.
2018-05-16T643: correct support for regex validators.Daniil Baturin
2018-05-16Merge branch 'current' of github.com:vyos/vyos-1x into currentDaniil Baturin
2018-05-16T642: add validators for common network address checking cases.Daniil Baturin
2018-05-16T643: correct the logic for generating node constraints and add emulation of ↵Daniil Baturin
multiple validation options.
2018-05-15Merge branch 'remove-ssh-allow-root' into currentChristian Poessinger
* remove-ssh-allow-root: T634: Remove 'service ssh allow-root'
2018-05-15T634: Remove 'service ssh allow-root'Christian Poessinger
2018-05-15Merge branch 't632-ssh-multi-nodes' into currentChristian Poessinger
* t632-ssh-multi-nodes: T632: allow multiple algoorithms for: Ciper, KEX, MACs T632: use multi node for SSH allow/deny users and groups
2018-05-15bugfix: DNS domain forward server syntaxChristian 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-15Merge remote-tracking branch 'upstream/current' into currentChristian 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-15bugfix: vyos-config-dns-forwarding.py: adding name-server into dictionaryChristian Poessinger
2018-05-15bugfix: remove whitespaces in generated 'powerdns/recursor.conf'Christian Poessinger
2018-05-15Do not try to decode data read from /sys files in the show version script,Daniil Baturin
it's already an str.
2018-05-15T637: new op mode for traffic dumps based on tcpdump.Daniil Baturin
2018-05-14Fix misplaces ConfigError exception.Daniil Baturin
2018-05-14T632: allow multiple algoorithms for: Ciper, KEX, MACsChristian Poessinger
2018-05-14T632: use multi node for SSH allow/deny users and groupsChristian Poessinger
2018-05-14T564: initial implementation of the DNS forwarding op mode commands.Daniil Baturin
2018-05-14Move the show version command to the vyos-1x package and refactor it a bit.Daniil Baturin
2018-05-14Add some ipaddrcheck-based IP validators.Daniil Baturin