tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
relayd
/
at
trash-bin2
29 files
Makefile
Let relayd make use of libagentx. No functional change intended.
5 years ago
agentx_control.c
Make "relayctl reload" when agentx enabling is toggled in relayd.conf work consistently.
4 years ago
ca.c
catch poll() returning EINTR. ok millert@ claudio@
4 years ago
carp.c
fix fd leaks in error paths ok reyk@
9 years ago
check_icmp.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago
check_script.c
Use the F_CHECK_SENT and F_CHECK_DONE flags to determine whether a previous attempt at running a check script has finished yet, so we can avoid building up a backlog of check requests.
5 years ago
check_tcp.c
check_send_expect() does some nasty ibuf magic to allow fn_match() to work with a buffer that is not a real string. The wpos is decremented in the wrong spot and would affect both binary and non binary checks. Simplify this code by using strndup. OK rob@ benno@
4 years ago
check_tls.c
Add support for binary protocol health checking. Feedback and guidance from benno@ and reky@. Man page tweaks from jmc@.
6 years ago
config.c
fix use after free ok tb@
4 years ago
control.c
Move TAILQ initialization to files where they are used.
5 years ago
hce.c
Use the F_CHECK_SENT and F_CHECK_DONE flags to determine whether a previous attempt at running a check script has finished yet, so we can avoid building up a backlog of check requests.
5 years ago
http.h
Responses to HEAD requests must not have a message body (even though they have a Content-Length header). HTTP RFC 7231 section 4.3.2. found by niklas@, claudio@ agrees.
5 years ago
log.c
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
9 years ago
name2id.c
Clean up the relayd headers with help of include-what-you-use and some manual review. Based on common practice, relayd.h now includes the necessary headers for itself.
11 years ago
parse.y
Don't declare variables as "unsigned char *" that are passed to functions that take "char *" arguments. Where such chars are assigned to int or passed to ctype functions, explicitly cast them to unsigned char.
4 years ago
pfe.c
Rewrite the agentx code of relayd. This new framework should allow us to add new objects easier if so desired and should handle a lot more corner-cases.
5 years ago
pfe_filter.c
use __func__ in log messages. fix some whitespace while here. From Hiltjo Posthuma hiltjo -AT codemadness -DOT- org, thanks! ok florian, claudio
9 years ago
pfe_route.c
use __func__ in log messages. fix some whitespace while here. From Hiltjo Posthuma hiltjo -AT codemadness -DOT- org, thanks! ok florian, claudio
9 years ago
proc.c
relayd(8): don't create sockets between CAs and RELAYs.
4 years ago
relay.c
Responses to HEAD requests must not have a message body (even though they have a Content-Length header). HTTP RFC 7231 section 4.3.2. found by niklas@, claudio@ agrees.
5 years ago
relay_http.c
do not duplicate "Connection: close" headers and only add it if its not a websockets response. Reported by Marcus MERIGHI and Jonathon Fletcher, this fix is by Jonathon, Thanks! ok claudio@
4 years ago
relay_udp.c
replace the current log options
7 years ago
relayd.8
use file system path (.Pa) semantic markup macros where appropriate.
10 years ago
relayd.c
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
4 years ago
relayd.conf.5
man pages: add missing commas between subordinate and main clauses
4 years ago
relayd.h
The output of server_root_strip() is a string. Use the correct format "%s". Same for the output of relay_expand_http(). with and ok claudio@ Found by Cedric Tessier, thanks!
4 years ago
shuffle.c
Clean up the relayd headers with help of include-what-you-use and some manual review. Based on common practice, relayd.h now includes the necessary headers for itself.
11 years ago
ssl.c
relayd/ssl.c: Remove a workaround that uses a copy of the old certificate instead of using it directly because BIO_new_mem_buf() used to take an non-const buffer. This was changed in 2018, so we can now remove an XXX and simplify the code.
4 years ago
util.c
Add support for binary protocol health checking. Feedback and guidance from benno@ and reky@. Man page tweaks from jmc@.
6 years ago