History log of /openbsd-current/usr.sbin/acme-client/dnsproc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.12 13-Dec-2021 jca

Let dnsproc pass multiple addresses to netproc

The loop was exited prematurely because of a stray break statement.
In case of a failure to connect to the first address returned by
getaddrinfo(3), acme-client can now try to connect using another address
or address family if available.

ok florian@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.11 10-May-2020 florian

remove noisy and useless debug line


Revision tags: OPENBSD_6_7_BASE
# 1.10 06-Nov-2019 florian

Give acme-client a chance to work on IPv6 only hosts by using the
AI_ADDRCONFIG flag for getaddrinfo to only return addresses for a
configured address family.

Implementing a loop over all IPs is left as an exercise to the reader.

Reported some time ago by kasimov.an AT gmail on bugs@, thanks!

oh boy deraadt@
OK benno@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 24-Jan-2017 jsing

Make returns consistent and remove parentheses per style(9).

Transformed with coccinelle.

Requested by and ok tb@


# 1.8 24-Jan-2017 deraadt

Complete jsing's coccinelle cleanup... by hand
ok jsing


# 1.7 24-Jan-2017 jsing

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccinelle.

Requested by deraadt@


# 1.6 13-Sep-2016 deraadt

A small amount more KNF to make this easier on our eyes. Not going further
than this.
ok florian


# 1.5 13-Sep-2016 deraadt

hoist local variable initialization directly into the definitions,
rather than doing it right afterwards.
ok florian


# 1.4 01-Sep-2016 florian

we don't have config.h


# 1.3 01-Sep-2016 deraadt

Collapse krazy abstractions for other sandbox models, using chroot and
pledge directly as needed.
ok florian


# 1.2 31-Aug-2016 benno

whitespace


# 1.1 31-Aug-2016 florian

Import Kristaps' letskencrypt and call it acme-client in tree.
OK to get it in deraadt@ (and probably beck@)

At least deraadt@, beck@ and otto@ are fine with the name and the
disagreements stopped.


# 1.11 10-May-2020 florian

remove noisy and useless debug line


Revision tags: OPENBSD_6_7_BASE
# 1.10 06-Nov-2019 florian

Give acme-client a chance to work on IPv6 only hosts by using the
AI_ADDRCONFIG flag for getaddrinfo to only return addresses for a
configured address family.

Implementing a loop over all IPs is left as an exercise to the reader.

Reported some time ago by kasimov.an AT gmail on bugs@, thanks!

oh boy deraadt@
OK benno@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 24-Jan-2017 jsing

Make returns consistent and remove parentheses per style(9).

Transformed with coccinelle.

Requested by and ok tb@


# 1.8 24-Jan-2017 deraadt

Complete jsing's coccinelle cleanup... by hand
ok jsing


# 1.7 24-Jan-2017 jsing

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccinelle.

Requested by deraadt@


# 1.6 13-Sep-2016 deraadt

A small amount more KNF to make this easier on our eyes. Not going further
than this.
ok florian


# 1.5 13-Sep-2016 deraadt

hoist local variable initialization directly into the definitions,
rather than doing it right afterwards.
ok florian


# 1.4 01-Sep-2016 florian

we don't have config.h


# 1.3 01-Sep-2016 deraadt

Collapse krazy abstractions for other sandbox models, using chroot and
pledge directly as needed.
ok florian


# 1.2 31-Aug-2016 benno

whitespace


# 1.1 31-Aug-2016 florian

Import Kristaps' letskencrypt and call it acme-client in tree.
OK to get it in deraadt@ (and probably beck@)

At least deraadt@, beck@ and otto@ are fine with the name and the
disagreements stopped.


# 1.10 06-Nov-2019 florian

Give acme-client a chance to work on IPv6 only hosts by using the
AI_ADDRCONFIG flag for getaddrinfo to only return addresses for a
configured address family.

Implementing a loop over all IPs is left as an exercise to the reader.

Reported some time ago by kasimov.an AT gmail on bugs@, thanks!

oh boy deraadt@
OK benno@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 24-Jan-2017 jsing

Make returns consistent and remove parentheses per style(9).

Transformed with coccinelle.

Requested by and ok tb@


# 1.8 24-Jan-2017 deraadt

Complete jsing's coccinelle cleanup... by hand
ok jsing


# 1.7 24-Jan-2017 jsing

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccinelle.

Requested by deraadt@


# 1.6 13-Sep-2016 deraadt

A small amount more KNF to make this easier on our eyes. Not going further
than this.
ok florian


# 1.5 13-Sep-2016 deraadt

hoist local variable initialization directly into the definitions,
rather than doing it right afterwards.
ok florian


# 1.4 01-Sep-2016 florian

we don't have config.h


# 1.3 01-Sep-2016 deraadt

Collapse krazy abstractions for other sandbox models, using chroot and
pledge directly as needed.
ok florian


# 1.2 31-Aug-2016 benno

whitespace


# 1.1 31-Aug-2016 florian

Import Kristaps' letskencrypt and call it acme-client in tree.
OK to get it in deraadt@ (and probably beck@)

At least deraadt@, beck@ and otto@ are fine with the name and the
disagreements stopped.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.9 24-Jan-2017 jsing

Make returns consistent and remove parentheses per style(9).

Transformed with coccinelle.

Requested by and ok tb@


# 1.8 24-Jan-2017 deraadt

Complete jsing's coccinelle cleanup... by hand
ok jsing


# 1.7 24-Jan-2017 jsing

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccinelle.

Requested by deraadt@


# 1.6 13-Sep-2016 deraadt

A small amount more KNF to make this easier on our eyes. Not going further
than this.
ok florian


# 1.5 13-Sep-2016 deraadt

hoist local variable initialization directly into the definitions,
rather than doing it right afterwards.
ok florian


# 1.4 01-Sep-2016 florian

we don't have config.h


# 1.3 01-Sep-2016 deraadt

Collapse krazy abstractions for other sandbox models, using chroot and
pledge directly as needed.
ok florian


# 1.2 31-Aug-2016 benno

whitespace


# 1.1 31-Aug-2016 florian

Import Kristaps' letskencrypt and call it acme-client in tree.
OK to get it in deraadt@ (and probably beck@)

At least deraadt@, beck@ and otto@ are fine with the name and the
disagreements stopped.