summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-16Merge pull request #10 from genta/hotfix/cstore-memory-leakheliumDaniil Baturin
Fix memory leak in Cstore perl binding
2018-01-16vyatta-cfg: Fix memory leak in Cstore perl bindingGenta IHA
The Cstore perl binding (XS) has memory leak bug. This commit will fix this issue. All XS should implement "DESTROY" function to free memory, but this binding haven't this function. It leads memory leak each time when you call "new Cstore();" in perl code. Additionally, VyOS Helium standard Perl module "Vyatta::Config" have a Cstore instance variable, and each time calling "new Vyatta::Config();" in Perl causes memory leak due to this issue. Especially, the long-live process using Vyatta::Config (e.g. vyos-intfwatched) lead to serious memory exhaustion problem due to this issue. This patch implements the "DESTROY" function in XS for Cstore library, and fix this memory leak issue.
2015-08-120.102.0+vyos1+helium13debian/0.102.0+vyos1+helium13Daniil Baturin
2015-08-12vyatta-cfg: updated fix for formatting top level cli merge commandAlex Harpin
Update to the earlier fix for the formatting issue with the merge command when listing the available commands at the top level CLI. The previous commit caused formatting issues with node level commands, purely aesthetic. Bug #509 http://bugzilla.vyos.net/show_bug.cgi?id=509
2015-08-12vyatta-cfg: fix formatting issue with top level cli merge commandAlex Harpin
Fix a formatting issue with the merge command when listing the available commands at the top level CLI, purely aesthetic. Bug #509 http://bugzilla.vyos.net/show_bug.cgi?id=509
2015-02-240.102.0+vyos1+helium12debian/0.102.0+vyos1+helium12Alex Harpin
2015-02-24vyatta-cfg: update get_ipaddr_int_hash for vtun and wan interfacesAlex Harpin
Expand the matching done in get_ipaddr_int_hash to account for the fact that the output from "ip addr show" is different for vtun and wan interfaces; add a separate check for these interfaces. Bug #35 http://bugzilla.vyos.net/show_bug.cgi?id=35
2015-02-240.102.0+vyos1+helium11debian/0.102.0+vyos1+helium11Alex Harpin
2015-02-24vyatta-cfg: set the path for a vrrp interface correctlyAlex Harpin
Update the path set when the interface in question is a VRRP so it points to vrrp vrrp-group vrid rather than vrrp vrid. Along with the patch for bug #7, this now shows the description correctly for a VRRP interface. Bug #130 http://bugzilla.vyos.net/show_bug.cgi?id=130
2015-01-120.102.0+vyos1+helium10debian/0.102.0+vyos1+helium10Alex Harpin
2015-01-12vyatta-cfg: fix for "failed to generate commited config"Alex Harpin
When changes are made to the system by more than one user, only the first user after a reboot is able to commit successfully, the others fail with "Failed to generate committed config". This is caused as a result of the underlying unionfs-fuse mount used for the system configuration and the fact that a .unionfs directory if left in the active configuration with permissions set such that only the original committing user can change them. Bug #403 http://bugzilla.vyos.net/show_bug.cgi?id=403
2014-10-080.102.0+vyos1+helium9debian/0.102.0+vyos1+helium9Daniil Baturin
2014-10-08Force releaseDaniil Baturin
2014-10-080.102.0+vyos1+helium8debian/0.102.0+vyos1+helium8Daniil Baturin
2014-10-08Add QinQ support to the intf name to path function.Daniil Baturin
2014-10-080.102.0+vyos1+helium7debian/0.102.0+vyos1+helium7Daniil Baturin
2014-10-07Merge pull request #4 from cyclops8456/heliumDaniil Baturin
Commits for Bug #321 and Bug #333
2014-10-06vyatta-cfg: return correct path for pppoe or pppoa interfacesAlex Harpin
Fix for the _ppp_int function so it returns the actual ethernet interface associated with the ppp device rather than an empty string. As a result the path function now returns the correct configuration path for the interface. Linked to Bug #321 http://bugzilla.vyos.net/show_bug.cgi?id=321 Bug #333 http://bugzilla.vyos.net/show_bug.cgi?id=333
2014-10-06vyatta-cfg: formatting changes for style consistencyAlex Harpin
Update lib/Vyatta/Interface.pm to have consistent identation levels and style throughout.
2014-09-15Merge pull request #3 from cyclops8456/heliumDaniil Baturin
Bug #7: vyatta-cfg: display openvpn interface descriptions after they reset
2014-09-14vyatta-cfg: display openvpn interface descriptions after they resetAlex Harpin
When OpenVPN tunnels are taken down and recreated by the OpenVPN process, any previously set descriptions on the interfaces are missing. This is caused by the fact that the ifalias for that interface isn't readded when the interface is recreated. This patch updates the interface_description function so that it either returns the current value of ifalias if it's set on the interface, or uses the value set in the active config if it's present. Bug #7 http://bugzilla.vyos.net/show_bug.cgi?id=7 Bug #313 http://bugzilla.vyos.net/show_bug.cgi?id=313
2014-09-14vyatta-cfg: formatting changes for style consistencyAlex Harpin
Update lib/Vyatta/Misc.pm to have consistent identation levels and style throughout.
2014-08-180.102.0+vyos1+helium6debian/0.102.0+vyos1+helium6Daniil Baturin
2014-08-18Replace some old Vyatta names.Daniil Baturin
2014-07-270.102.0+vyos1+helium5vyos/1.1.0-beta1debian/0.102.0+vyos1+helium5Daniil Baturin
2014-07-27Update maintainer address.Daniil Baturin
2014-07-020.102.0+vyos1+helium4debian/0.102.0+vyos1+helium4Daniil Baturin
2014-07-02Bug #251: add dirty hack for taking config from stdinDaniil Baturin
to config-gen-sets script.
2014-04-30Removed dirty workaround for fuse completely.Kim Hagen
Use Build-iso to create /etc/fuse.conf file. Use pipe(),fork(),execl() functions instead of system() function to call unionfs-fuse.
2014-04-25Removed part of dirty workaround, chmod of of /dev/fuse and /usr/bin/fusermountKim Hagen
can be avoided by adding admin users to the fuse group. That part is done in the vyatta-cfg-system package.
2014-04-23Merge pull request #2 from hiroyuki-sato/patch-for-vyosDaniil Baturin
Bug #180 save config using scp fails.
2014-04-22Bug #180 save config using scp fails.Hiroyuki Sato
2014-04-060.102.0+vyos1+helium3debian/0.102.0+vyos1+helium3Daniil Baturin
2014-03-17Merge pull request #1 from higebu/feature/l2tpv3Daniil Baturin
Bug #170: Add support for l2tpv3
2014-03-18Add support for l2tpv3higebu
2014-03-100.102.0+vyos1+helium2debian/0.102.0+vyos1+helium2Daniil Baturin
2014-03-10Add umount functions for unionfs-fuse.Daniil Baturin
2014-03-10fusermount in squeeze is not executable for non-members of fuse, fix it at boot.Daniil Baturin
2014-03-10Some dirty workarounds to get unionfs-fuse to work.Daniil Baturin
2014-03-10Import and adapt Kim Hagen's changes for union-fs support.Daniil Baturin
2014-02-150.102.0+vyos1+helium1debian/0.102.0+vyos1+helium1Daniil Baturin
2014-01-08Add missing build dependencies.Daniil Baturin
2013-11-160.102.0+hydrogen3debian/0.102.0+hydrogen3Daniil Baturin
2013-11-16Bug #25: Add template for running conf and op mode commandsDaniil Baturin
from shell scripts.
2013-11-030.102.0+hydrogen2debian/0.102.0+hydrogen2Daniil Baturin
2013-11-03Add kernel commandline option to boot with specific config.Daniil Baturin
vyos-config=/config/something
2013-11-03Rename novyatta-$foo kernel command line option to no-vyos-$fooDaniil Baturin
That option is used to disable specific init scripts, e.g no-vyos-migrate disables config migration.
2013-11-03Some more missed Vyatta occurences.Daniil Baturin
2013-11-03Remove some XORP-related checks.Daniil Baturin
2013-11-02Remove support for /config on punched card^W^W floppy driveDaniil Baturin