summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-09Merge pull request #319 from thomas-mangin/T2205Christian Poessinger
util: T2205: do not display debuging when it is not set
2020-04-09util: T2205: do not display debuging when it is not setThomas Mangin
2020-04-09Revert "tunnel: T2028: prevent single 'remote' keyword"Christian Poessinger
This reverts commit 37973a13bbc168c09e5f4d1e606f91fd7ffbb41a.
2020-04-09Merge pull request #316 from thomas-mangin/T2242Christian Poessinger
import: T2242: remove all import *
2020-04-09Merge pull request #317 from thomas-mangin/T2028-remoteChristian Poessinger
tunnel: T2028: fix remote and registration
2020-04-09Merge pull request #314 from thomas-mangin/T2186Christian Poessinger
airbag: T2186: report friendly user message and log to syslog
2020-04-08http api: T2252: increase proxy_read_timeout for image managementJohn Estabrook
2020-04-08tunnel: T2028: register the _Tunnel classThomas Mangin
All interface classes register themselves so that we can figure out from an interface name what class is responsible for its creation. In the case of Tunnel, it is not the case as multiple different interfaces are sharing the same "tun" prefix. Still many operations are the same and it should be done.
2020-04-08Revert "util: T2226: rewrite merge config to use cmd"John Estabrook
This reverts commit 9664e7d685307f5f9736929731e759ff7bad7353.
2020-04-08Revert "util: T2226: rewrite remote function helpers to use cmd"John Estabrook
This reverts commit 7219d4013814a55c4eeaf36b7a36d5e8076d09f0.
2020-04-08tunnel: T2028: prevent single 'remote' keywordThomas Mangin
When the remote keywrod is ommited, the default value of '' is still set, therefore the ip command will include it. Remote is now removed if unset.
2020-04-08vyos.util: introduce chmod_750() for files/directoriesChristian Poessinger
2020-04-08wireguard: T2244: re-use interface removal code from WireGuardIf classChristian Poessinger
2020-04-08wireguard: T2244: fix writing PSKChristian Poessinger
2020-04-08wireguard: T2226: fix generation of pskChristian Poessinger
Commit 264e0059449 ("util: T2226: rewrite wireguard oper to use run") changed the code on PSK key generation, but the generated key must be output to stdout.
2020-04-08vyos-util: rename chown_file() > chown()Christian Poessinger
... to make it clear also directories can be chown(-ed)
2020-04-08vif-s: T2240: add VRF supportChristian Poessinger
2020-04-08Merge branch 't2244-wireguard' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't2244-wireguard' of github.com:c-po/vyos-1x: wireguard: T2244: split port configuration to XML include file wireguard: T2247: add VRF support wireguard: T2244: use xml include for mtu wireguard: T2244: rewrite to match code structure of other interfaces
2020-04-08wireguard: T2244: split port configuration to XML include fileChristian Poessinger
2020-04-08wireguard: T2247: add VRF supportChristian Poessinger
2020-04-08wireguard: T2244: use xml include for mtuChristian Poessinger
2020-04-08wireguard: T2244: rewrite to match code structure of other interfacesChristian Poessinger
Accessing a list of dictionaries and parsind/manipulating the content can and should be done in a way other interface implementations do it. Just to name a few: - Ethernet - L2TPv3 - WWAN (WirelessModem)
2020-04-08op-mode: lldp: T2246: check if service is configuredChristian Poessinger
2020-04-08op-mode: dns: forwarding: cleanupChristian Poessinger
2020-04-08logging: T2186: cosmetic changesThomas Mangin
2020-04-08import: T2242: remove all import *Thomas Mangin
2020-04-08Merge pull request #315 from jjakob/openvpn-templateChristian Poessinger
openvpn: T2234: clean up and rework openvpn template
2020-04-08openvpn: T2234: clean up and rework openvpn templatejjakob
- rearranged options to put them in logical groups separated by blank lines - removed unnecessary blank lines (whitespace) - fixed encryption if-else comparison logic that caused 3des to be ignored - set tls if tls-version-min is set
2020-04-08vrf: add additional documentation linkChristian Poessinger
2020-04-08Merge pull request #313 from DmitriyEshenko/dmvpn-fix1Christian Poessinger
tunnel: T2236: Add additional check for type change
2020-04-08Merge pull request #311 from thomas-mangin/T2028-explainChristian Poessinger
tunnel: T2028: document the classes created
2020-04-08Merge pull request #312 from DmitriyEshenko/patch-11Christian Poessinger
tunnel: T1579: Change help value for encapsulation node
2020-04-08logging: T2186: Initial implementation of loggingThomas Mangin
All messages sent to stderr are now logged to syslog. Also should a raise statement not be handled by the program, a friendlier message is sent to the user (with the trace to syslog) It provide a new debug option: /tmp/vyos.developer.debug when the file exists and the code raise without being caught up the program will automatically fall into pdb port-morterm mode allowing to investigate the reason for the failure
2020-04-08version: T2186: do not raise if not version infoThomas Mangin
The code attempted to access the information on the file system During the package build this is not available, therefore the code was modified to return empty object when no data is there
2020-04-08tunnel: T2236: Add additional check for type changeDmitriyEshenko
2020-04-08tunnel: T1579: Change help value for encapsulation nodeEshenko Dmitriy
2020-04-08tunnel: T2028: document the classes createdThomas Mangin
2020-04-08bridge: T2232: bugfix wifi and wwan verify() sectionChristian Poessinger
Commit fcce471 ("bridge: T2232: prevent deletion of enslaved interfaces") added a regression by referencing a wrong variable name.
2020-04-07http api: T2160: Fix error message when api proxy restricted.John Estabrook
2020-04-07http api: T2160: move 'api virtual-host' to 'api-restrict virtual-host'John Estabrook
Restriction of api proxy should be owned by https.py, not http-api.py.
2020-04-07bridge: T2232: prevent deletion of enslaved interfacesChristian Poessinger
Interfaces enslaved to a bridge are not allowed to be deleted. If an interface is deleted from the config but it is still enslaved to a bridge will cause a configuration error on the subsequent boot.
2020-04-07l2tpv3: T1923: switch to formatted strings in verify()Christian Poessinger
2020-04-07vyos.util: T2226: add proper commentsChristian Poessinger
2020-04-07Merge pull request #310 from DmitriyEshenko/fix-chap-secretshagbard-01
l2tp: pptp: pppoe: T2237: Fix chap-secrets template format
2020-04-07l2tp: pptp: pppoe: T2237: Fix chap-secrets template formatDmitriyEshenko
2020-04-07Merge pull request #308 from thomas-mangin/T2226-mergeChristian Poessinger
util: T2226: fix merge conflict
2020-04-07util: T2226: fix merge conflictThomas Mangin
2020-04-07Merge pull request #307 from thomas-mangin/T2226Christian Poessinger
util: T2226: convert all call to use vyos.util.{popen, cmd, run}
2020-04-06util: T2226: remove all references to subprocess_cmdThomas Mangin
2020-04-06util: T2226: rewrite util to use cmdThomas Mangin