summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2020-02-13Debian: add missing dependency on isc-dhcp-clientChristian Poessinger
Commit e39f2ea ("dhclient-script: T1987: Multiple fixes in dhclient-script") added the dhclient script but it missed the dependency.
2020-02-12dhclient-script: T1987: Multiple fixes in dhclient-scriptzsdc
This changeset contains multiple changes in structure, logic, and bugfixes for dhclient-script. It should provide better compatibility with new Debian versions and flexibility in controlling and changing VyOS-related functions. 1. Structure change: * All VyOS-related functionality was moved from dhclient-script itself to separated hook files. * Old vyatta-dhclient-hook was moved from vyatta-cfg to vyos-1x. * This change allows discard dhclient-script replacing and use the original one from Debian without any changes. So, we do not need to track all changes in upstream so carefully. * To provide compatibility between original dhclient-script and VyOS, two internal commands/functions are repaced in hooks: ip and make_resolv_conf. So, in all places where used ${ip} or make_resolv_conf, actually using VyOS-tuned functions instead original. * `ip` function is a wrapper, which automatically chooses what to use: transparently pass a command to /usr/sbin/ip, change a route in kernel table or FRRouting config via vtysh. * `make_resolv_conf` function main logic was copied from current VyOS implementation and use vyos-hostsd-client for making changes 2. Added: * Logging. Now is possible to log all changes, what is doing by dhclient-script. Logs can be saved to the journal and displayed in stderr (for debugging purposes). By default, logging to the journal is enabled (at least for some time) to provide a way to collect enough information in case if some bug in this new implementation will be found. This can be changed in the 01-vyos-logging file. 3. Fixed/Changed: * If DHCP lease was expired, released or dhclient was stopped, dhclient-script will try to delete default route from this lease. * Instead of blindly killing all dhclients in case if FRRouting daemon is not running, now used more intelligent logic: * dhclients are stopping natively (with all triggers processing), instead of killing; * dhclient-script will not kill parent dhclient process. This allows to fix the problem when systemd inform about failing to rise up interfaces at early boot stages (used in Cloud-init images); * dhclient-script will not touch dhclients, which are not related to the current interface or IP protocol version. * For getting FRRouting daemon status used native way via watchfrr.sh, instead of the previous trick with vtysh accessibility. * before adding a new route to FRRouting configuration, this route will be deleted from the kernel (if it is presented there). This allows to properly replace routes, added at early boot stages, when FRR not available. * Routes in FRRouting are adding with "tag 210". This allows protecting static routes, added via CLI, from deletion when old routes are deleting by DHCP. * DNS servers will be reconfigured only when $new_domain_name_servers are not the same as $old_domain_name_servers. Previously, this was done during each RENEW procedure. * Replacing MTU for preconfigured one was changed to Python (via vyos.config). The previous version with vyatta-interfaces.pl was obsoleted and seems to be broken.
2020-02-05Merge branch 't1948-system-login' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't1948-system-login' of github.com:c-po/vyos-1x: radius: T1948: add libnss-mapname support radius: T1948: rename server dictionary radius: T1948: supply PAM configuration template user: T1948: fix system user creation ogin: user: radius: T1948: use discrete configuration for each system login: T1948: remove obsolete config nodes "group" and "level" login: T1948: SSH keys can only be added after user has been created login: T1948: initial support for RADIUS configuration login: T1948: support for SSH keys login: T1948: add/remove local users login: T1948: initial rewrite in XML/Python options: T1919: remove broken comment
2020-02-05radius: T1948: supply PAM configuration templateChristian Poessinger
2020-02-05service https: T1585: add support for letsencrypt certificatesJohn Estabrook
2020-02-02login: T1948: initial support for RADIUS configurationChristian Poessinger
2020-02-02login: T1948: initial rewrite in XML/PythonChristian Poessinger
2020-02-02Debian: add iperf(3) to list of required packagesChristian Poessinger
We have a CLI wrapper so we must also have it in our list of dependencies.
2020-02-02T640: add dbus to required dependenciesChristian Poessinger
Without dbus the vyos-load-config.py will fail and nothing will work.
2020-01-26Debian: add dependency on frrChristian Poessinger
2020-01-26snmpd: T1937: fix all startup warningsChristian Poessinger
This is actually an "upstream" bug, see [1] but it can be fixed via our own scripts. [1]: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122
2020-01-25Debian: fix duplicate files in vyos-1x packageChristian Poessinger
2020-01-25Debian: fix package generation after adding vyos-1x-vmwareChristian Poessinger
Commit 7e00ffa ("Debian: add vyos-1x-vmware package") added a new subpackage, but by adding this package it was forgotton to create the appropriate vyos-1x.install file.
2020-01-25Debian: vyos-1x-vmware is amd64, i386 architecture specificChristian Poessinger
2020-01-25Debian: add vyos-1x-vmware packageChristian Poessinger
Split out files required only by VMware systems.
2020-01-25Debian: remove superfluous slashes on pathsChristian Poessinger
2020-01-25Debian: stage files into "tmp" instead of "vyos-1x"Christian Poessinger
This change allows for later additional package creation, e.g. vyos-1x-vmware.
2019-12-26Debian: add fakeroot to Build-DependsChristian Poessinger
2019-12-22Debian: lldp: T393: add lldpd dependencyChristian Poessinger
2019-12-20Debian: add 'cron' package dependencyChristian Poessinger
2019-12-19flow-accounting: T1890: add missing pmacct dependencyChristian Poessinger
2019-11-23wireless: T1627: initial rewrite in XML/Python styleChristian Poessinger
Working: - Wireless modes b, g, n, ac - WPA/WPA2 psk and RADIUS (tested using Microsoft NPS)
2019-11-10Intel QAT: T1788: Intel QAT implementationhagbard
* adding packages dependency
2019-09-30T1496: use upstream accel-ppp rather then an unmaintained forkChristian Poessinger
2019-09-04T1443: add dependencies on nginx-light and ssl-cert.Daniil Baturin
2019-08-31Debian: remove pyroute2 dependencyChristian Poessinger
2019-08-26bridge: T1556: migrate interface configuration to pyroute2Christian Poessinger
Tested with: set interfaces bridge br0 address '192.0.2.1/24' set interfaces bridge br0 aging '500' set interfaces bridge br0 disable-link-detect set interfaces bridge br0 forwarding-delay '11' set interfaces bridge br0 hello-time '5' set interfaces bridge br0 igmp querier set interfaces bridge br0 max-age '11' set interfaces bridge br0 member interface eth1 cost '1000' set interfaces bridge br0 member interface eth1 priority '4' set interfaces bridge br0 member interface eth2 cost '1001' set interfaces bridge br0 member interface eth2 priority '56'
2019-08-21Merge pull request #108 from alkersan/currentChristian Poessinger
[op-mode] T1596 rewrite 'telnet' and 'traceroute' operations to xml style
2019-08-20T1598: initial implementation of the hosts keeper daemon.Daniil Baturin
2019-08-19T1596 rewrite 'telnet' and 'traceroute' operations to xml styleDmytro Aleksandrov
2019-08-16openvpn: T1548: initial rewrite with XML and PythonChristian Poessinger
2019-07-01[service https] T1443: add service https and service https apiJohn Estabrook
2019-06-16T1431: initial implementation of the HTTP API.Daniil Baturin
2019-06-12T1431: add dependency on python3-bottle to have something to run the HTTP ↵Daniil Baturin
API with.
2019-03-14[arp] version bump for moving 'show arp'...hagbard
2019-03-11[arp] version bumphagbard
2019-03-11yslog] version bump for T1294hagbard
2019-03-11[arp] version bump for T1288hagbard
2019-03-08[ntp] increment version for revert of T1280hagbard
2019-03-07[rsyslog] minor version increment for T1282hagbard
2019-03-07[ntp] minor version bump for T1280hagbard
2019-03-07Revert "[ntp] minor version increment for T1280"hagbard
This reverts commit 77e642832e857a23095700782de2e4ba8ad4472a.
2019-03-07[ntp] minor version increment for T1280hagbard
2019-03-06[pptp] increment version to 9hagbard
2019-03-06[pptp] bumping minor version to 8hagbard
2019-03-06[pptp] version bump for op-mode typo fixhagbard
2019-03-06forgot to increment version numberhagbard
2019-03-06[pptp] version bump for radius module bugfixhagbard
2019-03-06[pptp] bumping versionhagbard
2019-03-04bump version T1280hagbard