summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2015-01-02vyatta-cfg-system: add dynamic dns support for afraid.org/freednsAlex Harpin
Add support for using the afraid.org dynamic DNS service with VyOS. This requires the updated ddclient package built for VyOS to work correctly as the version currently in squeeze lacks support for the freedns protocol. Bug #287 http://bugzilla.vyos.net/show_bug.cgi?id=287
2015-01-02vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/dynamic-dns/vyatta-dynamic-dns.pl to have consistent identation levels and style throughout.
2014-12-20Adding support for spaces in the key comment field. Bug 411Jared R. Baldridge
2014-12-03Adding initial support for loading a config from AWS EC2 user-datajrb
2014-11-22Omit "Vyatta" from sysDescrPaul Gear
EdgeOS does this as well, not sure if VyOS should; feel free to ignore this PR if you feel otherwise. I'm setting up LibreNMS' detection of VyOS to allow for both.
2014-10-31Initial import fo vyatta_update_sysctl.plJason Hendry
2014-10-29Removing unsed variable from declarationJason Hendry
2014-10-29Correcting udp offload option name form segmentation to fragmentationJason Hendry
2014-10-29Cleaning up ethtool execution codeJason Hendry
2014-10-29Updating comments so they make a bit more senseJason Hendry
2014-10-29Making offload setting changes change on a single optionJason Hendry
2014-10-28Adding offload setting management to vyatta-interfaces.plJason Hendry
2014-10-16vyatta-cfg-system: allow password reset for users other than vyosAlex Harpin
The password reset option only allows resetting the password for the default admin (vyos) user. This now allows the user to be specified for the password reset, defaulting to the 'vyos' user with a password of 'vyos'. Bug #342 http://bugzilla.vyos.net/show_bug.cgi?id=342
2014-10-16vyatta-cfg-system: set default vyos password hash to sha-512 when resetAlex Harpin
In line with Bug #318, set the default vyos user password hash to use SHA-512 instead of MD5 when recreating the user during a password reset Bug #355 http://bugzilla.vyos.net/show_bug.cgi?id=355
2014-10-16vyatta-cfg-system: add complete user config entry on password resetAlex Harpin
Add the default plaintext-password entry to the default vyos user created during password reset. Bug #342 http://bugzilla.vyos.net/show_bug.cgi?id=342
2014-10-16vyatta-cfg-system: fix for 'user vyos doesn't exist' on password resetAlex Harpin
If you delete the vyos user from the system and then go into password reset mode on reboot, the configuration entry for the vyos user is recreated but the command returns 'usermod: user 'vyos' does not exist'. Despite this message the user is created correctly on a full reboot, just not at the point the command is run. Bug #342 http://bugzilla.vyos.net/show_bug.cgi?id=342
2014-10-09vyatta-cfg-system: allow dhcp and dhcpv6 addresses to be deletedAlex Harpin
Allow interfaces with either dhcp or dhcpv6 addresses to be deleted. Expand on the previous patch for Bug #305 to now take dhcpv6 addresses into account, as well as an update to the original dhcp logic. Bug #341 http://bugzilla.vyos.net/show_bug.cgi?id=341
2014-10-09Use returnEffectiveValues in intfwatchd so it works outside of config session.Daniil Baturin
2014-10-08Even more specific regex.Daniil Baturin
2014-10-08Fix regular expression so it works with any (I hope!) interface types.Daniil Baturin
Minor cleanup.
2014-10-08Add ex2-check script.Daniil Baturin
2014-10-08If not running on AWS (system UUID and serial do not start with EC2), don't ↵Daniil Baturin
do AWS-specific things.
2014-09-14vyatta-cfg-system: rename allow-dhcp-nameservers and change to typelessAlex Harpin
Rename allow-dhcp-nameservers to disable-dhcp-nameservers and update the logic to take the new meaning into account. The option is now also typeless, so the node is either absent (default) or present (enabled). Format 'set / delete system disable-dhcp-nameservers' Linked to Bug #182 and Bug #308 Bug #314 http://bugzilla.vyos.net/show_bug.cgi?id=314
2014-09-10vyatta-cfg-system: expand 'set system allow-dhcp-nameservers' logicAlex Harpin
Expand the logic in 'set system allow-dhcp-nameservers', so that in addition to either allowing / denying DHCP related updates to resolv.conf when the interface changes state, it will also either add or remove the currently supplied DHCP name-servers depending on it's state. This change in name-servers will take place immediately on commit. Bug #309 http://bugzilla.vyos.net/show_bug.cgi?id=309
2014-09-10vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-system-nameservers to have consistent identation levels and style throughout.
2014-09-10Remove gre-multipoint encapsulation option, make the tunnel multipoint if ↵Kim Hagen
'remote-ip' is nowt set.
2014-09-09vyatta-cfg-system: add 'set system allow-dhcp-nameservers' optionAlex Harpin
Instead of simply allowing / denying DHCP related updates to resolv.conf based on the current values of 'set system name-server', as initially proposed for Bug #182 (http://bugzilla.vyos.net/show_bug.cgi?id=182), this patch replaces that behaviour with a global option to allow / deny these updates. Add 'set system allow-dhcp-nameservers' as a boolean value that has the default value of true, so allowing DHCP nameserver updates by default. Bug #308 http://bugzilla.vyos.net/show_bug.cgi?id=308
2014-09-09vyatta-cfg-system: revert bb71cf5b7b3a48812e28dbefba8c535f9bbf9973Alex Harpin
Reverting commit bb71cf5b7b3a48812e28dbefba8c535f9bbf9973 as it breaks the logic in vyatta_update_resolv.pl for removing name servers when called by dhclient-script. As it stands, the commit causes name server entries to be left behind in resolv.conf when a DHCP interface is deleted, resulting in possibly old or invalid entries remaining indefinitely. Bug #307 http://bugzilla.vyos.net/show_bug.cgi?id=307
2014-09-09vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/system/vyatta_update_resolv.pl to have consistent identation levels and style throughout.
2014-09-07vyatta-cfg-system: prevent dhcp updating dns when statically configuredAlex Harpin
When DNS settings are statically configured, prevent DHCP interfaces from appending to resolv.conf with additional name servers. If the system has been configured with a static name server, just use that instead of accepting ISP provided name servers. These can be accepted again by simply deleting the statically configured name servers. Bug #182 http://bugzilla.vyos.net/show_bug.cgi?id=182
2014-09-07vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/system/vyatta_update_resolv.pl to have consistent identation levels and style throughout.
2014-09-07vyatta-cfg-system: allow interfaces with dhcp addresses to be deletedAlex Harpin
Update the checks in scripts/vyatta-address to allow the deletetion of an interface that has a DHCP address. The patch put in place for Bug #259 (http://bugzilla.vyos.net/show_bug.cgi?id=259) checks that an interface exists before preceding with the delete, but this chokes when supplied with the address 'dhcp'. This patch checks if the supplied interface is a DHCP address, before extracting the IP address and then using that address for the check. Bug #305 http://bugzilla.vyos.net/show_bug.cgi?id=305
2014-09-07vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-address to have consistent identation levels and style throughout.
2014-09-02vyatta-cfg-system: remove quotes from SysContact and SysLocationAlex Harpin
When the values for SysContact, SysLocation and SysDecr are written to the snmpd.conf file, they are enclosed in backslash escaped quotes. This isn't part of the syntax for snmpd.conf and looks wrong / could break snmp related things, the example snmpd.conf files show these values as unquoted. This patch corrects the output and adds validation for the supplied values, limiting them to a maximum of 255 printable characters (RFC 3418). The documentation also needs amending to take this into account. Bug #261 http://bugzilla.vyos.net/show_bug.cgi?id=261
2014-08-23Always allow gre-multipointUnicronNL
2014-08-03Bug #196: rename "smuxpeer" to "smux-peer" for consistency with other commands.Daniil Baturin
2014-07-30Replace login check with UID check in install-get-partition.Daniil Baturin
2014-07-29Replace login name check with effective UID check in install-image.Daniil Baturin
2014-07-29Replace login name check with effective UID check.Daniil Baturin
2014-07-25Bug #259: do not try to remove addresses that don't exist.Daniil Baturin
2014-07-25Add vyod-intfwatchd for restoring IPv6 addresses after link flaps.Daniil Baturin
As bad as it can be, it seems to sort of work.
2014-07-25Bug #269: missed return in is_ec2_ami.Daniil Baturin
2014-07-25Fix is_live_boot check to account for the overlayfs change.Daniil Baturin
2014-07-10Fix dnsmasq.conf generation for ignore-hosts-filePaul Gear
The ignore-hosts-file option did not work; because it's a boolean it didn't return any value and was always undefined when the test was done. Using $config->exists() fixes this.
2014-07-10Fix ignore-hosts-file operationPaul Gear
This fixes the following error: Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 77. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 86. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 99. Execution of /opt/vyatta/sbin/vyatta-dns-forwarding.pl aborted due to compilation errors.
2014-07-08Bug #255: add an option to ignore hosts file in dnsmasq.Daniil Baturin
2014-06-23Merge pull request #11 from ahaitoute/heliumDaniil Baturin
Bug #195: Added feature to send log message to remote syslog server over UDP or TCP.
2014-06-16Bug #239 - Getting the version number by using dpkg will not work when ↵Kim Hagen
upgrading to newer version of debian.
2014-05-06Fix to enable ec2-fetch-ssh-public-key init scripthydrajump
The init script was not running on boot because the init script symlinks were not created in /etc/rcX.d for the runlevels: 2,3,4,5. This fix runs the update-rc.d command in the is_amazon_ec2_ami function, thus creating the required symlinks and also updating /etc/init.d/.depends.on.start.
2014-05-03Fix AWS EC2 AMI supporthydrajump
- grub.cfg is now correctly modified when installing on a VyOS AMI - ec2-fetch-ssh-public-key init script still needs to be activated if installing on a VyOS AMI. This is an outstanding issue which needs to be addressed. See debian/vyatta-cfg-system.postinst.in.