Validate RTM_PROPOSAL in resolver not frontend
authorkn <kn@openbsd.org>
Tue, 16 Nov 2021 16:45:23 +0000 (16:45 +0000)
committerkn <kn@openbsd.org>
Tue, 16 Nov 2021 16:45:23 +0000 (16:45 +0000)
commit04e11352c17e6b2c4424012a7b3c4e34150ce083
treea0cbb09e71c070e93787128832c3f61746285bdd
parent76dc41f4663f875d94c0742c419b9e196d263f6c
Validate RTM_PROPOSAL in resolver not frontend

The resolver is the actual consumer and shouldn't trust the frontend.
Fold the IPv4/IPv6 specific checks thanks to the previous commit.

Idea from florian
OK florian
sbin/unwind/frontend.c
sbin/unwind/resolver.c