Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-11 | T5428: move dhclient files ro /run/dhclient | Christian Breunig | |
2016-02-24 | Fix "Subroutine Vyatta::Misc::sockaddr_in6 redefined at" message. | Kim Hagen | |
2016-02-09 | Use dhcp instead of dhcp3. | Kim Hagen | |
2015-10-17 | vyatta-cfg: add port checking routine to misc.pm | Alex Harpin | |
Add a port checking routine to Vyatta/Misc.pm to allow commits to check if a port is currently in use before allowing them. This is in connection with Bug #43, where no port checking was done on commit. | |||
2015-02-15 | vyatta-cfg: update is_primary_address for vtun and wan interfaces | Alex Harpin | |
Expand the matching done in is_primary_address to account for the fact that the output from "ip address show" is different for vtun and wan interfaces; add a separate check for these interfaces. Bug #488 http://bugzilla.vyos.net/show_bug.cgi?id=488 | |||
2015-02-15 | vyatta-cfg: update get_ipaddr_int_hash for vtun and wan interfaces | Alex 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 | |||
2014-09-14 | vyatta-cfg: display openvpn interface descriptions after they reset | Alex 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-14 | vyatta-cfg: formatting changes for style consistency | Alex Harpin | |
Update lib/Vyatta/Misc.pm to have consistent identation levels and style throughout. | |||
2012-09-24 | Fix get_terminal_size redefinition warning | James Davidson | |
Also squelch warnings from requiring features.ph (via ioctl.ph). Fixes bug 8387 | |||
2012-06-22 | More indentation cleanup | Stephen Hemminger | |
Use indent of 4 | |||
2012-05-10 | Bugfix 8079: fix require sys/ioctl.ph confilcts | John Southworth | |
perl only allows a require to be done once. If it is done in two included modules the module or function in the module used second doesn't have the data in the required file in its scope. To prevent this I created a third module that contains the functions that require 'sys/ioctl.ph' so that there is no longer a conflict. | |||
2012-05-09 | Add functions to get calling terminal size to Vyatta::Misc | John Southworth | |
2011-11-14 | Bug 7411: exporting isValidPortNumber API from Misc.pm, used in conntrack ↵ | Gaurav Sinha | |
for validating ports entered | |||
2011-05-04 | Fix Bug 7010 Update commands to save/retrieve files from /config | Mohit Mehta | |
* use shorter /config path when presenting configuration directory to users | |||
2011-03-10 | support for fix to bug 6081. return hash of ipv4net, ipv6net networks ↵ | Michael Larson | |
assigned to interfaces | |||
2010-12-20 | Handle IPv6 in is_local_address | Stephen Hemminger | |
Bug 6590 The code to check for local address has to be smarter to handle IPv6. Introduces dependency on Socket6 module. | |||
2010-12-08 | Fix typo in export of is_local_address | Stephen Hemminger | |
2010-12-07 | Fix return value for address not configure on system. | Stig Thormodsrud | |
2010-12-07 | Add a method to check whether an IPv4 address is a primary address to ↵ | Daniil Baturin | |
Vyatta::Misc | |||
2010-12-06 | Fix typo in export | Stephen Hemminger | |
2010-12-06 | Add is_local_address to Misc.pm | Stephen Hemminger | |
Commonly needed routine to check if IP address is local. | |||
2010-12-01 | move general code for returning a hash of ipaddrs=>interface from Webproxy.pm | Mohit Mehta | |
2010-07-30 | new API changes | An-Cheng Huang | |
2010-04-02 | Remove ifb device skipping | Stephen Hemminger | |
Rather than hiding ifb inside QoS, changing to make it a really useful device. | |||
2010-03-29 | Ignore ifb devices | Stephen Hemminger | |
IFB is a pseudo-device used for incoming traffic shaping. Hide it from show queueing output. | |||
2010-03-29 | Allow reading interface description outside config mode | Stephen Hemminger | |
The Interface() object doesn't work for PPP in operational mode. So split out interface_description routine. | |||
2010-03-24 | Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg into larkspur | Stig Thormodsrud | |
2010-03-24 | Fix 5203: negation in firewall rule causes deprecation message | Stig Thormodsrud | |
2010-03-19 | Need explicit return to guarantee returning false | Stephen Hemminger | |
If perl function falls off the end, it will return the result of the last expression. For these functions, the idea was to return a false value; and it the return was missing. | |||
2009-09-11 | Fix Bug 4919 "service dns" branch of configuration file missing ... | Mohit Mehta | |
* use new API to get active 'original + commited' values * split 'dns forwarding' and 'dns dynamic' into different priorities | |||
2009-08-13 | Skip more wireless interfaces | Stephen Hemminger | |
Hostapd creates mon.wlanX interfaces which are not something we need to make visible. | |||
2009-08-12 | Skip wmaster interface in operational commands | Stephen Hemminger | |
Ignore the bogus wmaster interface | |||
2009-08-07 | check if port name is valid for both tcp and udp when protocol tcp_udp | Mohit Mehta | |
2009-07-10 | Fix 4623: Removing IPSEC VPN config without removing cluster ipsec config ↵ | Stig Thormodsrud | |
drops all interfaces. Only use substring if necessary. (cherry picked from commit abfbae9c05c6c7b4bccb2255d91a32ef1bccd1c1) | |||
2009-04-28 | Extend getIP() to be able to get all addresses | Stephen Hemminger | |
Only have one interface for getting addresses. | |||
2009-04-27 | Cleanup exports of Vyatta::Misc | Stephen Hemminger | |
Remove duplicates from list, and make sure getIP is exported, and that explicit imports are listed. | |||
2009-04-27 | reindent code | Stephen Hemminger | |
2009-03-23 | Remove #! /usr/bin/perl | Stephen Hemminger | |
The modules are not perl executables, they are modules. Fixes lintian warning | |||
2009-03-16 | isClusterIP() needs to strip off the /mask/interface/bcast. | Stig Thormodsrud | |
2009-03-02 | Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jenner | Stephen Hemminger | |
2009-03-02 | Ignore /sys/class/net/bonding_masters | Stephen Hemminger | |
Bonding leaves this file in /sys/class/net that confuses scripts. | |||
2009-03-02 | Add loopback as a type for getInterfacesIPadresses(). | Stig Thormodsrud | |
2009-03-02 | When an IP address is configured on a loopback, ↵ | Stig Thormodsrud | |
getInterfacesIPadresses('all') doesn't include them. Include loopback addresses. | |||
2009-03-02 | Remove duplicate constants. | Stig Thormodsrud | |
2009-03-01 | Fix bareword error for missing constants. | Stig Thormodsrud | |
Fix $mask usagage in getInterfacesIPadresses(). | |||
2009-01-26 | Vyatta::Misc - Fix perl critic warnings | Stephen Hemminger | |
Eliminate warnings about 2 arg open, and non stricture. | |||
2009-01-20 | Fix isIPinInterfaces | Stephen Hemminger | |
fix bug in conversion to Vyatta::Interface by rewriting/refactoring. | |||
2009-01-18 | Fix regression in Vyatta::Misc | Stephen Hemminger | |
Handle requests for interfaces of a specific type | |||
2009-01-13 | Better usage of NetAddr::IP | Stephen Hemminger | |
Only get address once, and don't call new() directly, use in OO style. | |||
2009-01-13 | Ignore IPV6 addresses in getInterfacesIPadresses | Stephen Hemminger | |
This routine is used by DHCP server and needs to ignore IPV6 addresses. NB: Does not fix bogus spellung. |