Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-21 | do not allow whitespace in macro names, i.e. "this is" = "a variable". | Sebastian Benoit | |
change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@ | |||
2016-06-06 | add format attributes to the proper functions and then fix the | Sebastian Benoit | |
warning in rde.c ok stsp@ | |||
2016-02-18 | Fix format string of a warning. | Alexander Bluhm | |
from markus@; OK claudio@ | |||
2016-02-02 | Remove setproctitle() for the parent process. Because rc.d(8) uses process | Stuart Henderson | |
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@ | |||
2015-12-05 | Pledge ospfd SE ("stdio inet mcast") and RDE ("stdio") move some code | Claudio Jeker | |
around to make it possible. Parent can't be pledged at the moment because of carp ioctl (carp demote). Putting it in so that people can test. OK benno@ | |||
2015-12-03 | imsg_read will return EAGAIN in some cases so prep code for it. | Claudio Jeker | |
This is in the way for ospfd pledge so in it goes. OK benno@ | |||
2015-11-22 | Improve ABR support especially for self-originated stub networks. | Claudio Jeker | |
This seems to solve the last issues people reported when using ospfd in multiple areas. OK sthen@ prodding by deraadt@ | |||
2015-10-26 | Kernel got fixed we no longer need to check if rtm_pid is 0 to filter out | Claudio Jeker | |
route messages that are not from us. | |||
2015-10-24 | Filter our RTM_GET messages which are not from us. | Claudio Jeker | |
2015-09-27 | As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. | Stefan Sperling | |
And some ifmedia64 fixes. "move forward" deraadt@ | |||
2015-07-27 | use file system path (.Pa) semantic markup macros where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2015-07-20 | Fix a segfault at startup when if_change() ist called before | Sebastian Benoit | |
imsg_init() exposed by the second part of this diff which makes carp(4) interfaces be recognized to be in "backup" mode on start-up. Problem analyzed and fix provided by Johan Ymerson, thanks! ok claudio@, mpi@ | |||
2015-07-19 | revert previous | Sebastian Benoit | |
Properly handle carp(4) interfaces in "backup" mode on start-up. Problem analyzed and fix provided by Johan Ymerson, thanks! ok claudio@, benno@ it breaks on systems without carp because iev_ospfe is not initiallized at the time kif_init() is called in main. | |||
2015-07-18 | Properly handle carp(4) interfaces in "backup" mode on start-up. | Martin Pieuchot | |
Problem analyzed and fix provided by Johan Ymerson, thanks! ok claudio@, benno@ | |||
2015-07-17 | Do similar handling of connected routes and filtering of llinfo and broadcast. | Claudio Jeker | |
With this the ospfd fib and the kernel routing table are better in sync. | |||
2015-05-05 | use the sizeof the struct not the sizeof a pointer to the struct | Jonathan Gray | |
ok claudio@ | |||
2015-03-14 | When removing interfaces in the RDE we also need to remove all the RDE | Claudio Jeker | |
neighbors that are part of that interface or we open us up to use after free situations like the one found by sthen@. Diff makes sense sthen@ | |||
2015-03-13 | Make sure that the debug messages include the neighbor ID so we hava a chance | Claudio Jeker | |
to know which neighbor caused the problems. While there make sure that all messages log roughly in the same way. | |||
2015-03-11 | tweak wording; "a value different to 1" -> "...other than 1", from Sevan Janiyan | Stuart Henderson | |
2015-02-11 | Use sizeof(u_short) in the first check since there are RT messages that | Claudio Jeker | |
are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@ | |||
2015-02-10 | Forgot the EAGAIN or EINTR check on read. | Claudio Jeker | |
2015-02-10 | Convert ospfd over to SOCK_CLOEXEC | SOCK_NONBLOCK and make the route | Claudio Jeker | |
socket non-blocking. Introduce the same trigger for partial rt msgs. | |||
2015-01-28 | When comparing the LSA with the Ack, also check the age field. This | Alexander Bluhm | |
ensures that a LSA withdrawal is not acked by a previous update. From Florian Riehm; OK claudio@ | |||
2015-01-22 | remove a stupid -Wstrict-prototype warning by making the hash function | Ted Unangst | |
static. noticed by florian riehm | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-12-18 | simple to use siphash here. ok deraadt | Ted Unangst | |
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
2014-11-18 | Nuke more obvious #include duplications. | Kenneth R Westerback | |
ok deraadt@ millert@ tedu@ | |||
2014-11-03 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK deraadt@ claudio@ | |||
2014-11-02 | Add gcc format attributes to parse.y for ospf{6,}d. | Doug Hogan | |
Fix a few yyerror() lines that are missing arguments. ok claudio@ sthen@ | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-07-20 | Fixed typo in error message. | Tobias Stoeckmann | |
okay deraadt@ | |||
2014-07-12 | Close connections when msgbuf_write() returns 0. | Kenneth R Westerback | |
ok claudio@ | |||
2014-07-11 | Close the control fd when it has reported EOF. | Kenneth R Westerback | |
ok henning@ | |||
2014-06-23 | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | Philip Guenther | |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | |||
2014-01-22 | relax the cfg file secrecy check slightly to allow group readability | Henning Brauer | |
default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian | |||
2013-11-25 | use u_char for buffers in yylex, for ctype calls | Sebastian Benoit | |
found by millert@, ok deraadt@ | |||
2013-11-13 | from claudio | Sebastian Benoit | |
"Let msgbuf_write return -1 with errno EAGAIN. The users then must check if this was the case and readd the event or poll again. The current handling in the imsg code is wrong for sure." ok gilles, benno | |||
2013-10-30 | another simple %i to %d conversion for obviousness | Theo de Raadt | |
2013-08-14 | Enforce that the ls_id and the adv_rtr field in a type 1 router LSA are | Claudio Jeker | |
the same. This will drop updates trying to attack the OSPF LSDB. For ospfd such bad router LSA were never a problem since the LSA lookup always includes the ls_id and adv_rtr -- so the bad packets would have never been picked up by the SPF calculation. OK bluhm@ benno@ | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-06-01 | Minor cleanup, do not set values to 0 twice. | Claudio Jeker | |
2013-03-22 | whitespace tweak; gratuitous difference with ospf6d | Stuart Henderson | |
2013-03-22 | reinstate code to announce routes to backup carp interfaces. this was removed | Stuart Henderson | |
in a cleanup in r1.83, but we do still want to announce these (with a high metric), so that a specific route to the relevant network is maintained during failover. ok florian@ claudio@ | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2013-03-06 | sync yyerror() with version in bgpd so that it logs to syslog when daemonized. | Stuart Henderson | |
ok florian@ | |||
2013-03-06 | When dumping config, just print "passive" for passive interfaces rather | Stuart Henderson | |
than showing hello timers/keys. ok florian@ | |||
2013-01-17 | improve snapshot handling: | Markus Friedl | |
- don't start a new snapshot if we are already in NBR_STA_SNAP - ignore IMSG_DB_SNAPSHOT and IMSG_DB_END unless we are in NBR_STA_SNAP - add new IMSG_LS_SNAP message so we can distinguish it from IMSG_LS_UPD. this way we can ignore them if we are not in NBR_STA_SNAP ok claudio@ | |||
2013-01-17 | do not send IMSG_LS_UPD if we have no links; ok claudio | Markus Friedl | |
2013-01-17 | ignore the nbr_adj_timer if we are not forming adjacencies; ok claudio | Markus Friedl | |