]> git.ipfire.org Git - thirdparty/openwrt.git/commit
hostapd: fix logging of configuration content 17718/head
authorChristian Korber <ck@dev.tdt.de>
Wed, 21 May 2025 12:36:00 +0000 (14:36 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 1 Aug 2025 20:14:08 +0000 (22:14 +0200)
commit682de550a0e7592842dbc941f962e002b0218847
tree82d87db3c52cdeed7003b8307a7a0ffafe530dee
parent765d6429e1ada4957d80ff8b8cd1d9f0c4ee2b03
hostapd: fix logging of configuration content

As discussed in openwrt#17517, there are contents of hostapd's configuration file logged in syslog.
This includes critical information like `passphrase`. To circumvent this condition,
this commit logs only "inline" if config_fname is inline data.

Otherwise the upstream logic of hostapd applies.

Fixes: openwrt#14049
Signed-off-by: Christian Korber <ck@dev.tdt.de>
Link: https://github.com/openwrt/openwrt/pull/17718
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/hostapd/patches/701-reload_config_inline.patch