ASU error if drop IPv6

If i unselected the IPv6 then it throw error.

Error building the firmware image
Server response: Unsupported package(s): iptables

Please report the error message and request
Request Data:

{
    "url": "https://sysupgrade.openwrt.org",
    "revision": "r16325-88151b8303",
    "advanced_mode": "1",
    "app_version": "git-22.090.55699-bb6ef9f",
    "branch": "21.02",
    "efi": null,
    "profile": "dlink,dir-2660-a1",
    "target": "ramips/mt7621",
    "version": "22.03-SNAPSHOT",
    "packages": [
        "base-files",
        "busybox",
        "ca-bundle",
        "cgi-io",
        "dnsmasq",
        "dropbear",
        "firewall",
        "fstools",
        "fwtool",
        "getrandom",
        "hostapd-common",
        "iptables",
        "iwinfo",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-gpio-button-hotplug",
        "kmod-ipt-conntrack",
        "kmod-ipt-core",
        "kmod-ipt-nat",
        "kmod-ipt-offload",
        "kmod-leds-gpio",
        "kmod-lib-crc-ccitt",
        "kmod-mt7615-firmware",
        "kmod-mt7615e",
        "kmod-nf-conntrack",
        "kmod-nf-flow",
        "kmod-nf-ipt",
        "kmod-nf-nat",
        "kmod-nf-reject",
        "kmod-ppp",
        "kmod-pppoe",
        "kmod-pppox",
        "kmod-slhc",
        "kmod-usb-ledtrig-usbport",
        "kmod-usb3",
        "libblobmsg-json",
        "libip4tc",
        "libiwinfo",
        "libiwinfo-data",
        "libiwinfo-lua",
        "libjson-c",
        "libjson-script",
        "liblua",
        "liblucihttp",
        "liblucihttp-lua",
        "libnl-tiny",
        "libubox",
        "libubus",
        "libubus-lua",
        "libuci",
        "libuclient",
        "libustream-wolfssl",
        "libwolfssl",
        "libxtables",
        "logd",
        "lua",
        "luci",
        "luci-app-attendedsysupgrade",
        "luci-app-firewall",
        "luci-app-opkg",
        "luci-base",
        "luci-lib-base",
        "luci-lib-ip",
        "luci-lib-jsonc",
        "luci-lib-nixio",
        "luci-mod-admin-full",
        "luci-mod-network",
        "luci-mod-status",
        "luci-mod-system",
        "luci-proto-ppp",
        "luci-ssl",
        "luci-theme-bootstrap",
        "mtd",
        "netifd",
        "openwrt-keyring",
        "opkg",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "px5g-wolfssl",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rrdns",
        "ubi-utils",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "uhttpd",
        "uhttpd-mod-ubus",
        "urandom-seed",
        "urngd",
        "usign",
        "wpad-basic-wolfssl"
    ],
    "diff_packages": true,
    "filesystem": "squashfs"
}

You can't remove IPv6 support with the imagebuilder (or attended sysupgrade), it relies on binary packages, most if which depend on ipv6 (if not rebuilt from source). Even if you could, the results would be dangerous (the kernel would still have IPv6 support, but you'd have disabled everything necessary for firewalling --> welcome intruders to your all you can eat buffet).

While technically still possible (on the source level), removing IPv6 support is not a supported configuration, you will experience breakage and the config option as a whole is slated for removal.

2 Likes

So its very tricky one to remove IPv6 as its integrate with others functions. :frowning: