#
4cf3f6fd |
| 07-Nov-2023 |
claudio <claudio@openbsd.org> |
iface->auth_key is not a real C string so use strnlen() to define the maximum.
This fixes the use of 8 char passwords with auth simple. Reported by Laurent CARON (lcaron at unix-scripts info) OK tb@
|
#
a50d52cb |
| 03-Jul-2023 |
claudio <claudio@openbsd.org> |
Use ibuf_data() instead of directly accessing ibuf->buf. OK tb@
|
#
43e70bb4 |
| 20-Jun-2023 |
claudio <claudio@openbsd.org> |
Update ospfd to use new ibuf api.
This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with ibuf_add_zero().
Update ospfd to use new ibuf api.
This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with ibuf_add_zero().
OK tb@
show more ...
|
#
0511e932 |
| 05-May-2015 |
jsg <jsg@openbsd.org> |
use the sizeof the struct not the sizeof a pointer to the struct ok claudio@
|
#
d63b6815 |
| 02-Sep-2010 |
sobrado <sobrado@openbsd.org> |
remove trailing spaces and tabs from source code; no binary changes (verified by both sthen@ and me).
ok sthen@; "just commit it" claudio@
|
#
e39620e5 |
| 26-May-2010 |
nicm <nicm@openbsd.org> |
Rename some imsg bits to make namespace collisions less likely buf to ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
ok henning gilles claudio jacekm deraadt
|
#
7b4c0c10 |
| 06-Jun-2009 |
eric <eric@openbsd.org> |
sync ospfctl/ospfd with the common imsg code, making it lib ready as well.
"looks ok" claudio@
|
#
d13e54e1 |
| 05-Jun-2009 |
pyr <pyr@openbsd.org> |
make ospfd's imsg lib ready as well. ok claudio@
|
#
48f6984a |
| 04-Mar-2009 |
claudio <claudio@openbsd.org> |
Introduce and use buf_size(buf) instead of buf->wpos -- at least in the non buf/imsg specific code. buf_close() will no force a truncation of the buffer to the wpos but actually add code in imsg.c to
Introduce and use buf_size(buf) instead of buf->wpos -- at least in the non buf/imsg specific code. buf_close() will no force a truncation of the buffer to the wpos but actually add code in imsg.c to detect and report such silly behaviour. Makes the buf API a bit more sane.
show more ...
|
#
171085cb |
| 24-Jul-2008 |
claudio <claudio@openbsd.org> |
Use memcpy() and memcmp() like everywhere else in ospfd. OK norby@
|
#
e6a2be05 |
| 11-Feb-2008 |
norby <norby@openbsd.org> |
log_debug error messages report incorrect function names
from Igor Zinovik
|
#
d9643bb1 |
| 01-Feb-2007 |
claudio <claudio@openbsd.org> |
whitespace cleanup, no binary change.
|
#
96c7fd34 |
| 01-Feb-2007 |
claudio <claudio@openbsd.org> |
Implement md_list_send() function to send auth crypt keys to the OSPF engine. Needed for reload support. OK norby@ pyr@
|
#
76b51f83 |
| 24-Apr-2006 |
claudio <claudio@openbsd.org> |
Fix parser to match current behaviour and make auth-type et al. part of the global and per area defaults. With this it is now possible to define one set of auth-md keys and use them in every defined
Fix parser to match current behaviour and make auth-type et al. part of the global and per area defaults. With this it is now possible to define one set of auth-md keys and use them in every defined interface. OK norby@
show more ...
|
#
aeb9d7c6 |
| 08-Mar-2006 |
claudio <claudio@openbsd.org> |
Spaces and other minor cleanup.
|
#
e712b025 |
| 02-Feb-2006 |
norby <norby@openbsd.org> |
zap md_list_empty, found by lint.
ok claudio@
|
#
655c49e1 |
| 12-Nov-2005 |
deraadt <deraadt@openbsd.org> |
spacing mostly
|
#
ae61edb2 |
| 19-Oct-2005 |
stevesk <stevesk@openbsd.org> |
small cleanups while reading; ok claudio@
|
#
0491ce75 |
| 05-Apr-2005 |
claudio <claudio@openbsd.org> |
Use the dynamic buffer API for packet generation and sending. OK norby@
|
#
2ac453d1 |
| 04-Apr-2005 |
claudio <claudio@openbsd.org> |
On auth crypt verify not only the main key is allowed but all configured keys. This makes changing keys a piece of cake -- if ospfd would support reloads. Found and patch from Jason Ackley.
|
#
03431b74 |
| 31-Mar-2005 |
norby <norby@openbsd.org> |
Add support for crypt authentication (MD5).
ok and input claudio@
|
#
367f601b |
| 28-Jan-2005 |
norby <norby@openbsd.org> |
Change my email address to the OpenBSD one since Ericsson has nothing to do with this software, just happend to be my only valid email address at the time.
|
#
204df0f8 |
| 28-Jan-2005 |
claudio <claudio@openbsd.org> |
Welcome ospfd started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped h
Welcome ospfd started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped him cleanup, debug and extend his work. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. status: The basic protocol works for broadcast networks and the LS database is synchronized and updated. It is not possible to be DR or BDR on a network and other interface types like point-to-point are not yet supported. The shortest path tree is not calculated and so no routing information is exchanged with the kernel FIB.
Not yet connected to the builds. OK henning@
show more ...
|