<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/https, branch mergify/bp/sagitta/pr-3838</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fsagitta%2Fpr-3838</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fsagitta%2Fpr-3838'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-02-09T08:05:14+00:00</updated>
<entry>
<title>https: T5902: fix migration of virtual-host port</title>
<updated>2024-02-09T08:05:14+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-09T07:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=32de8b3234f512d1555ad569d27ddecff6e18922'/>
<id>urn:sha1:32de8b3234f512d1555ad569d27ddecff6e18922</id>
<content type='text'>
CLI source node is port and not listen-port.

(cherry picked from commit 63d53a17274349fd68defdbf9f7ce16be63fc9b1)
</content>
</entry>
<entry>
<title>https: T6000: fix error in migration of path https certbot</title>
<updated>2024-01-30T10:43:17+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-01-29T17:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1e97bee82294c2a63ff2c17ad9206aea99fe9061'/>
<id>urn:sha1:1e97bee82294c2a63ff2c17ad9206aea99fe9061</id>
<content type='text'>
(cherry picked from commit f057075409b024a18ea8a39b5e128fcde988c00e)
</content>
</entry>
<entry>
<title>https: T5902: remove virtual-host configuration</title>
<updated>2024-01-10T07:11:39+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-06T09:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=34eadcf2f74ae57342997bed77ce64bddd34219b'/>
<id>urn:sha1:34eadcf2f74ae57342997bed77ce64bddd34219b</id>
<content type='text'>
We have not seen the adoption of the https virtual-host CLI option.

What it did?
* Create multiple webservers each listening on a different IP/port
  (but in the same VRF)
* All webservers shared one common document root
* All webservers shared the same SSL certificates
* All webservers could have had individual allow-client configurations
* API could be enabled for a particular virtual-host but was always enabled on
  the default host

This configuration tried to provide a full webserver via the CLI but VyOS is a
router and the Webserver is there for an API or to serve files for a local-ui.

Changes

Remove support for virtual-hosts as it's an incomplete and thus mostly useless
"thing". Migrate all allow-client statements to one top-level allow statement.

(cherry picked from commit d0d3071e99eb65edb888c26ef2fdc9e038438887)
</content>
</entry>
<entry>
<title>https: T5886: migrate https certbot to new "pki certificate" CLI tree</title>
<updated>2024-01-08T20:11:13+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-05T21:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1b85e7a9442aa71e2137df44747bd184c4a8b6de'/>
<id>urn:sha1:1b85e7a9442aa71e2137df44747bd184c4a8b6de</id>
<content type='text'>
(cherry picked from commit 9ab6665c80c30bf446d94620fc9d85b052d48072)
</content>
</entry>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2024-01-01T08:25:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c9eaafd9f808aba8d29be73054e11d37577e539a'/>
<id>urn:sha1:c9eaafd9f808aba8d29be73054e11d37577e539a</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in

(cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465)
</content>
</entry>
<entry>
<title>http: T5762: rename "virtual-host listen-port" -&gt; "virtual-host port"</title>
<updated>2023-11-22T05:51:05+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-11-21T19:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=92a75196e5a0d9568905f1c990a080cc4e1e0ea9'/>
<id>urn:sha1:92a75196e5a0d9568905f1c990a080cc4e1e0ea9</id>
<content type='text'>
This complements commit f5e43b136 ("http: T5762: api: make API socket backend
communication the one and only default") so we have a consistent port CLI node
across VyOS components.

(cherry picked from commit 0e885f1bf01424130b6876e769cc42612b19351b)
</content>
</entry>
<entry>
<title>http: T5762: api: make API socket backend communication the one and only default</title>
<updated>2023-11-20T18:22:08+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-11-20T09:13:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3280a153713decf28eb5c564573028df19a4e1b1'/>
<id>urn:sha1:3280a153713decf28eb5c564573028df19a4e1b1</id>
<content type='text'>
Why: Smoketests fail as they can not establish IPv6 connection to uvicorn
backend server.

https://github.com/vyos/vyos-1x/pull/2481 added a bunch of new smoketests.

While debugging those failing, it was uncovered, that uvicorn only listens on
IPv4 connections

vyos@vyos# netstat -tulnp | grep 8080
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      -

As the CLI already has an option to move the API communication from an IP to a
UNIX domain socket, the best idea is to make this the default way of
communication, as we never directly talk to the API server but rather use the
NGINX reverse proxy.

(cherry picked from commit f5e43b1361fb59a9c260739bdb28729d5119507c)
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</content>
</entry>
<entry>
<title>graphql: T4768: change name of api child node from 'gql' to 'graphql'</title>
<updated>2022-10-21T13:46:25+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-10-21T13:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=89fbe73b9fb9ad178a2a35bdf9c7c477dc72f054'/>
<id>urn:sha1:89fbe73b9fb9ad178a2a35bdf9c7c477dc72f054</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pki: https: T3642: Migrate HTTPS to use PKI configuration</title>
<updated>2021-07-22T14:55:10+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-07-22T10:08:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1870a3db38e6469d9216343a4dc180d859651d84'/>
<id>urn:sha1:1870a3db38e6469d9216343a4dc180d859651d84</id>
<content type='text'>
</content>
</entry>
</feed>
