mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 14:55:36 -05:00
instead of accepting any character as a delimiter, only accept ':', '.' and '-', and only permit a single delimiter in an address. this prevents accepting bizarre addresses like: ifconfig epair2a link 10.1.2.200/28 ... which is particularly problematic on an INET6-only system, in which case ifconfig defaults to the 'link' family, meaning that: ifconfig epair2a 10.1.2.200/28 ... changes the Ethernet address of the interface. bump __FreeBSD_version so link_addr() consumers can detect the change. Reviewed by: kp, des Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D49936 (cherry picked from commit a1215090416b8afb346fb2ff5b38f25ba0134a3a) Note-from-OPNsense: not bumping the FreeBSD version for stable/25.7 |
||
|---|---|---|
| .. | ||
| c063 | ||
| db | ||
| gen | ||
| hash | ||
| iconv | ||
| inet | ||
| locale | ||
| net | ||
| nss | ||
| regex | ||
| resolv | ||
| rpc | ||
| setjmp | ||
| ssp | ||
| stdio | ||
| stdlib | ||
| stdtime | ||
| string | ||
| sys | ||
| termios | ||
| time | ||
| tls | ||
| tls_dso | ||
| ttyio | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.netbsd-tests | ||