openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

ddns-scripts: dns_server option doesn't accept IPv6 #23384

Open panospalias opened 7 months ago

panospalias commented 7 months ago

Maintainer: @paper42 @feckert Environment: { "kernel": "5.10.176", "hostname": "fagri", "system": "Atheros AR9330 rev 1", "model": "8devices Carambola2", "board_name": "8dev,carambola2", "rootfs_type": "squashfs", "release": { "distribution": "OpenWrt", "version": "22.03.5", "revision": "r20134-5f15225c1e", "target": "ath79/generic", "description": "OpenWrt 22.03.5 r20134-5f15225c1e"

Description: Adding an IPv6 2606:4700:4700::1111 in the dns_server option fails with:

Mon Feb 12 13:58:39 2024 user.crit ddns-scripts[28242]: elvetias6: sanitize on dns_server found characters outside allowed subset - TERMINATE

Most likely the sanitizing doesn't detect the IPv6 properly.

1977er commented 1 month ago

Seems to be a duplicate of #18832.