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
master
29 files
Makefile
Let relayd make use of libagentx. No functional change intended.
5 years ago
agentx_control.c
relayd(8): change agentx_getsock to return void
3 years ago
ca.c
Add missing #include <openssl/err.h>
3 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
Delete obsolete /* ARGSUSED */ lint comments.
3 years ago
hce.c
Check tls_config_new() for NULL return
3 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
proc_ispeer() is not used anywhere anymore so remove it everywhere.
3 years ago
relay.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
relay_http.c
{en,de}queing -> {en,de}queuing; from paul tagliamonte
3 years ago
relay_udp.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
relayd.8
use file system path (.Pa) semantic markup macros where appropriate.
10 years ago
relayd.c
always call va_end. ok tb
3 years ago
relayd.conf.5
man pages: add missing commas between subordinate and main clauses
4 years ago
relayd.h
relayd(8): change agentx_getsock to return void
3 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