History log of /openbsd/usr.sbin/ripd/control.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 7b5b21db 19-Jan-2021 claudio <claudio@openbsd.org>

Apply same cleanup to the control code as in ospfd.
Internalize control_state and ctl_conns.


# e0f3cc49 04-Nov-2018 remi <remi@openbsd.org>

Pledge ripe and rde.
Use unveil to remove file system access for the parent proc.

Also remove control_cleanup as discussed on tech@. It allows to fully remove
fs access (ripd does not support reload

Pledge ripe and rde.
Use unveil to remove file system access for the parent proc.

Also remove control_cleanup as discussed on tech@. It allows to fully remove
fs access (ripd does not support reload). It's not an issue for ripd and
ripctrl if an unused socket file is lying around.

reads OK for claudio@ and mestre@

show more ...


# 7df7ca81 17-Jan-2017 krw <krw@openbsd.org>

Nuke some whitespace that keeps poking me in the eye as I try to
steal code.


# c39b7208 08-Jan-2017 krw <krw@openbsd.org>

Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with
TAILQ_FOREACH().

No intentional functional change.

ok reyk@


# 3dabc796 02-Aug-2016 jca <jca@openbsd.org>

Allow specifying an alternate socket path.

This allows one to run multiple ripd instances, for example to serve
multiple rdomains. Diff from Nima GHOTBI, ok claudio@ florian@ benno@


# 79e8bbf6 05-Dec-2015 claudio <claudio@openbsd.org>

EAGAIN handling for imsg_read. OK henning@ benno@


# 33229c10 09-Feb-2015 claudio <claudio@openbsd.org>

More session_socket_blockmode() removal. While there make the main UDP
socket non-blocking by default.


# 9a232962 11-Jul-2014 krw <krw@openbsd.org>

Close the control fd when it has reported EOF.

ok henning@


# d700cfd0 19-Nov-2013 benno <benno@openbsd.org>

handle msgbuf_write() returning EAGAIN

"looks right" deraadt and sthen.


# 62e3c252 11-Mar-2013 deraadt <deraadt@openbsd.org>

handle ECONNABORTED errors from accept(). In many code blocks they can be
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are.
ok's from various maintainers of these directori

handle ECONNABORTED errors from accept(). In many code blocks they can be
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are.
ok's from various maintainers of these directories...

show more ...


# bee0886a 11-Apr-2012 deraadt <deraadt@openbsd.org>

delete excessive evtimer_pending; ok claudio


# e215f40d 10-Apr-2012 deraadt <deraadt@openbsd.org>

Handle file descriptor exhaustion in the accept() case.
ok claudio


# 88d8283a 14-May-2010 claudio <claudio@openbsd.org>

Use calloc() instead of malloc() to allocate the connection structure. This
way the memory is zeroed. This is equivalent to the relayd commit by reyk.
OK reyk, jsg


# 96eac1ed 21-Feb-2010 michele <michele@openbsd.org>

Kill double declaration of control_imsg_relay().

From Christiano F. Haesbaert.

ok claudio@


# 307aca1b 08-Dec-2009 jsg <jsg@openbsd.org>

porcesses -> processes


# e7464dff 02-Dec-2009 mk <mk@openbsd.org>

log_warn() consistency.

`OK' claudio


# dce97bdd 02-Nov-2009 claudio <claudio@openbsd.org>

Another routing daemon that gets IMSG_CTL_LOG_VERBOSE to allow toggeling of
log_debug(). ok michele, henning, sthen


# f7ce36da 06-Jun-2009 eric <eric@openbsd.org>

make ripctl/ripd imsg-in-a-lib ready too.

ok pyr@


# e78453ed 31-May-2009 jacekm <jacekm@openbsd.org>

Remove redundant imsg_event_add calls; ok claudio@


# bd6053ef 31-May-2009 claudio <claudio@openbsd.org>

Better EV_READ and EV_WRITE handling in the libevent callbacks. Again mostly
the same ospfd diff applied with some fuzz.


# bca0e58e 25-Feb-2009 claudio <claudio@openbsd.org>

Fix an invalid pointer dereference in control_close(). If control_connbyfd()
fails -- which should never happen -- the function does not return and is
accession the NULL set control pointer later on.

Fix an invalid pointer dereference in control_close(). If control_connbyfd()
fails -- which should never happen -- the function does not return and is
accession the NULL set control pointer later on.
Found by Matthew Haub. OK deraadt@

show more ...


# ac50b3da 31-Jan-2008 henning <henning@openbsd.org>

do not leak confd on malloc failure in control_accept()
found by Igor Zinovik <zinovik@cs.karelia.ru>


# 4acb39a0 24-Oct-2007 claudio <claudio@openbsd.org>

Use an ssize_t instead of int like in all other imsg handlers. Hint by lint


# b443a7c9 17-Oct-2007 claudio <claudio@openbsd.org>

Remove redundant code.


12