Unverified Commit ef43679e authored by Pierre-Louis Bonicoli's avatar Pierre-Louis Bonicoli 🏗
Browse files

Buster: enforce ipv4 when ipv6 isn't available

With burp-2.1.32 (Debian Buster), ::1 is used even if ipv6 isn't
available resulting in this error:

    could not listen on address: ::1
parent 53b3ab18
......@@ -5,12 +5,17 @@
. ca_parameters
{% endif %}
# With burp-2.1.32 (Debian Buster), ::1 is used even if ipv6 isn't available
# resulting in this error: 'could not listen on address: ::1'
{% set status_listen = '::1' if ansible_all_ipv6_addresses else '127.0.0.1' %}
mode = server
{% if burp_server_version is version("2.2.10", ">=") %}
listen = :::{{ burp.port }}
listen_status = :::{{ burp.port + 1 }}
listen_status = {{ status_listen }}:{{ burp.port + 1 }}
{% else %}
port = {{ burp.port }}
status_address = {{ status_listen }}
status_port = {{ burp.port + 1 }}
{% endif %}
directory = {{ burp.dir|default(burp_rootdir, true) }}/{{ burp.name }}/default
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment