#
d93ca237 |
| 19-Jan-2021 |
claudio <claudio@openbsd.org> |
Do the same control cleanup as in other daemons. Move ctl_conns exclusivly into control.c
|
#
b0e92afd |
| 22-Jun-2020 |
mestre <mestre@openbsd.org> |
On my previous commit I made the wrong assumption that the control socket was being unlink(2)ed from the main proc so I removed "cpath" from the pledge(2) on the ldpe proc but actually the socket was
On my previous commit I made the wrong assumption that the control socket was being unlink(2)ed from the main proc so I removed "cpath" from the pledge(2) on the ldpe proc but actually the socket was unlink(2)ed from here, this means the daemon would crash on exit due to pledge(2) not having "cpath" permissions anymore. Finish the job by just not deleting the socket at all during control_cleanup(), which keeps the control program still working without issues but more importantly prevents the crash during exit, sorry about that.
Crash reported by wlund at iki.fi
OK deraadt@ claudio@ remi@
show more ...
|
#
dcaf1165 |
| 03-Mar-2017 |
renato <renato@openbsd.org> |
Allow to specify an alternate control socket.
This is required to run multiple instances of ldpd.
OK claudio@
|
#
5411bbb6 |
| 23-May-2016 |
renato <renato@openbsd.org> |
Remove superfluous includes.
|
#
c28a25a1 |
| 23-May-2016 |
renato <renato@openbsd.org> |
Make functions and variables static whenever possible.
The benefits of this include: * clean up of the ldpd global namespace; * improved readability; * more hints to the compiler/linker to generate
Make functions and variables static whenever possible.
The benefits of this include: * clean up of the ldpd global namespace; * improved readability; * more hints to the compiler/linker to generate more efficient code.
Whenever possible, move global static variables to a smaller scope (function).
All extern variables are now declared in header files to avoid unnecessary duplication.
This patch also cleans up the indentation of all function prototypes and global variables.
show more ...
|
#
19fce358 |
| 23-May-2016 |
renato <renato@openbsd.org> |
Assorted fixes and small cleanup.
Nothing really interesting here.
|
#
3de94509 |
| 23-May-2016 |
renato <renato@openbsd.org> |
Fix mess caused by my commit script.
I screwed up everything... trying to fix now.
|
#
4dda87d0 |
| 12-Apr-2012 |
claudio <claudio@openbsd.org> |
accept pacing ldpd way. Since this daemon has multiple listening fds we add them all to a accept queue that does the pacing with the accept_pause() and accept_unpause() calls. With and OK deraadt@
|
#
e4a14963 |
| 15-Apr-2010 |
claudio <claudio@openbsd.org> |
Instead of having three ways of setting fds non-blocking use session_socket_blockmode() everywhere. Additionally make two fatal() distinguishable. OK michele@
|
#
cb77742a |
| 06-Jun-2009 |
pyr <pyr@openbsd.org> |
make ldpd imsg-in-a-lib ready too.
|
#
ab0c2486 |
| 01-Jun-2009 |
michele <michele@openbsd.org> |
Welcome ldpd, the Label Distribution Protocol daemon. Built using the imsg/three process framework, its main aim is to redistribute MPLS labels between peers.
Right now it has some really basic func
Welcome ldpd, the Label Distribution Protocol daemon. Built using the imsg/three process framework, its main aim is to redistribute MPLS labels between peers.
Right now it has some really basic functionalities, the basic protocol works and peers are able to exchange labels and insert them in the kernel. It still does not react to changes of topology.
Not yet connected to the builds.
ok claudio@ deraadt@
show more ...
|