dns.mitm: parse redirections from hosts file

This commit is contained in:
Michael Scire
2021-01-30 19:50:49 -08:00
committed by SciresM
parent 400f5142ee
commit d6477cf024
9 changed files with 378 additions and 9 deletions

View File

@@ -42,6 +42,13 @@
; enabled or disabled.
; 0 = Disabled (not debug mode), 1 = Enabled (debug mode)
; enable_am_debug_mode = u8!0x0
; Controls whether dns.mitm is enabled
; 0 = Disabled, 1 = Enabled
; atmosphere!enable_dns_mitm = u8!0x1
; Controls whether dns.mitm uses the default redirections in addition to
; whatever is specified in the user's hosts file.
; 0 = Disabled (use hosts file contents), 1 = Enabled (use defaults and hosts file contents)
; atmosphere!add_defaults_to_dns_hosts = u8!0x0
[hbloader]
; Controls the size of the homebrew heap when running as applet.
; If set to zero, all available applet memory is used as heap.