<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/firewall/5-to-6, branch 1.4.0</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=1.4.0</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-08-11T19:24:32+00:00</updated>
<entry>
<title>interface: T5465: adjust-mss: config migration fails if applied to a VLAN or Q-in-Q interface</title>
<updated>2023-08-11T19:24:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-11T19:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f8b60fff531e4e8cfe1bba99652343b0680f98ad'/>
<id>urn:sha1:f8b60fff531e4e8cfe1bba99652343b0680f98ad</id>
<content type='text'>
When migration from 1.3 to 1.4 and a user hat the following configured:

options {
    interface eth0.10{
        adjust-mss 1452
        adjust-mss6 1432
    }
}

The configuration was wrongly migrated to:

interfaces {
    ethernet eth0.10 {
        ipv6 {
            adjust-mss "1432"
        }
        ip {
            adjust-mss "1452"
        }
    }

Instead of

interfaces {
    ethernet eth0 {
        vif 10 {
            ipv6 {
                adjust-mss "1432"
            }
            ip {
                adjust-mss "1452"
            }
        }
    }
</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>interfaces: T3090: migrate adjust-mss from "firewall options" to "interface" level</title>
<updated>2021-08-21T13:26:35+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-19T16:14:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b7bfcb6ef0e712bb8c39241051e716a833b2ffe8'/>
<id>urn:sha1:b7bfcb6ef0e712bb8c39241051e716a833b2ffe8</id>
<content type='text'>
Getting rid of "set firewall options" and move it from:

set firewall options interface ethX adjust-mss 1400
set firewall options interface ethX adjust-mss6 1400

to:

set interfaces ethernet ethX ip adjust-mss 1400
set interfaces ethernet ethX ipv6 adjust-mss 1400

In addition add an extra option called clamp-mss-to-pmtu instead of a value.
</content>
</entry>
</feed>
