OpenBSD CVS

CVS log for src/sbin/unwind/Attic/captiveportal.c


[BACK] Up to [local] / src / sbin / unwind

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13, Wed Nov 27 17:09:12 2019 UTC (4 years, 6 months ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED

Nuke http captive portal detection; something better is coming.
OK otto

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 14 14:51:31 2019 UTC (5 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.11: +2 -63 lines
Diff to previous 1.11 (colored)

Move common config passing code into a function.
OK pamela

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 10 14:10:38 2019 UTC (5 years ago) by florian
Branch: MAIN
Changes since 1.10: +8 -1 lines
Diff to previous 1.10 (colored)

    Implement DNS block lists. If unwind is queried for a domain
    in the block list it answers with rcode REFUSED.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 15 16:48:37 2019 UTC (5 years, 2 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

Correctly interlock config reloads imsgs.
Only accept a new config reload if it's not currently running and
on accept a config reload end if one is currently running.
OK pamela

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 4 08:58:43 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

According to RFC 7230 Section 3.2 header field names are
case-insensitive.

Pointed out by "Wolf" ( wolf at wolfsden.cz ) for acme-client, thanks!

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 1 08:02:25 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Due to the way we build libunbound inside of unwind .o files collide in
the obj directory. Previously this was solved by keeping the libunbound
file name (to be able to keep in sync with upstream) and prefixing
the source filename of colliding .o files in unwind with uw_.

However, these files are shared through out our tree (namely parse.y,
log.c and log.h) and we try to keep them in sync.

Move files back to their original name and instead symlink colliding source
files in libunbound to unique filenames by prefixing them with the directory
they live in:
obj/sldns_parse.c -> /usr/src/sbin/unwind/libunbound/sldns/parse.c
obj/util_log.c -> /usr/src/sbin/unwind/libunbound/util/log.c

Idea to use symlinks deraadt@ via jsg@
OK benno

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 18 16:52:18 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

fix typo

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 18 07:50:14 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.5: +14 -20 lines
Diff to previous 1.5 (colored)

Introduce IMSG_DATA_SIZE() macro to to replace reoccuring math on
imsg.hdr.len and shorten code.
Input & OK pamela

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 17 14:51:03 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.4: +10 -2 lines
Diff to previous 1.4 (colored)

Pass verbosity changes to captive portal process.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 17 14:49:15 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.3: +72 -70 lines
Diff to previous 1.3 (colored)

 s/unwind_/uw_/ to save screen real estate; fix style(9) issues while here

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 8 08:21:05 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.2: +1 -5 lines
Diff to previous 1.2 (colored)

Oops, unbreak captive portal detection.
The captive portal process needs to receive sockets from the main
process to speak http to.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 7 17:20:35 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Rewrite trust anchor handling.

Do not use the libunbound's auto trust anchor file feature since it
then the resolver process needs rpath, wpath, and cpath pledges and
permission on the trust anchor file.

Instead configure the trust anchor as resource record strings. The
parent process opens the file, passes a filedescriptor to the frontend
process to parse the file and then passes trust anchors to the
resolver process to (re-) configure the resolver contexts.

The resolver process periodically probes for new trust anchors (DNSKEY
records of the root zone) and passes those to the frontend process.
This in turn requests a file descripter for writing from the parent
process. Once the trust anchors have been written the parent process
renames the tmp file to the final location.

Also provide a built in trust anchor for boot strapping purposes if no
file is found on disk. That way we can get rid of unbound-anchor in
unwind's rc.d script.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 3 12:02:30 2019 UTC (5 years, 3 months ago) by florian
Branch: MAIN

Captive portal detection for unwind(8).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.