Page MenuHomeVyOS Platform

Cannot change udp-fragmentation-offload
Resolved (N/A)PublicBUG

Description

when commiting

vyos@vyos# show | compare
[edit firewall name allow-all]
+rule 10 {
+ action accept
+ destination {
+ port 22
+ }
+ protocol tcp
+}
[edit interfaces ethernet eth0]
+firewall {
+ in {
+ name allow-all
+ }
+}

root@vyos:~# ls -la /tmp/vyos.log.debug
-rw-r--r-- 1 vyos users 0 May 1 18:03 /tmp/vyos.log.debug

root@vyos:~# show version
Version: VyOS 1.3-rolling-202004230117
Release Train: equuleus

Built by: [email protected]
Built on: Thu 23 Apr 2020 01:17 UTC
Build UUID: 30db2c70-3eb8-4009-81f7-012337f8289d
Build Commit ID: 1f0cad00cf26b7

Architecture: x86_64
Boot via: installed image
System type: KVM guest

Hardware vendor: Red Hat
Hardware model: OpenStack Compute
Hardware S/N: 00000000-0000-0000-0000-0cc47af88ada
Hardware UUID: d9c8f859-4d07-4019-9a10-fe80d8dc0764

Copyright: VyOS maintainers and contributors
root@vyos:~#
.

vyos@vyos# set interfaces ethernet eth0 firewall in name allow-all
[edit]
vyos@vyos# commit
[ interfaces ethernet eth0 ]
Cannot change udp-fragmentation-offload

Failed to generate committed config
[edit]

root@vyos:~# /sbin/ethtool -K eth0 ufo off
Cannot change udp-fragmentation-offload

Details

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-202004230117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

@robertoberto Can you provide next commands?

show interfaces ethernet eth0 physical
sudo ethtool -k eth0 | grep offload

vyos@vyos:~$ show version
Version: VyOS 1.3-rolling-202005100117
Release Train: equuleus

Built by: [email protected]
Built on: Sun 10 May 2020 01:17 UTC
Build UUID: aa1e03bc-7360-40b3-a58c-cdae46958353
Build Commit ID: 2cb6f390d7bdaa

Architecture: x86_64
Boot via: installed image
System type: KVM guest

Hardware vendor: Red Hat
Hardware model: OpenStack Compute
Hardware S/N: 00000000-0000-0000-0000-0cc47af88ada
Hardware UUID: d9c8f859-4d07-4019-9a10-fe80d8dc0764

Copyright: VyOS maintainers and contributors
vyos@vyos:~$ show interfaces ethernet eth0 physical
Settings for eth0:

Supported ports: [ ]
Supported link modes:   Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes:  Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes

driver: virtio_net
version: 1.0.0
firmware-version:
expansion-rom-version:
bus-info: 0000:00:03.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
vyos@vyos:~$ sudo ethtool -k eth0 | grep offload
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: off
generic-receive-offload: off
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: off [fixed]
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:20 AM
erkin removed a subscriber: Active contributors.
dmbaturin added a subscriber: dmbaturin.

Multiple people report both working UDP offload and firewall configurations, so I presume this issue is no longer relevant. Feel free to reopen if new details surface.