summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-04-16Static routes are flagged with F_STATIC and not with F_KERNEL.Claudio Jeker
2005-04-16Set F_STATIC flag earlier else the default route will end up as non-static.Claudio Jeker
2005-04-16Simplify return codes of aspath_asprint().Claudio Jeker
Return -1 on error 0 on success and make sure that in case of an error *ret is set to NULL.
2005-04-16Format string cleanup. OK millert, henning, claudioChad Loder
2005-04-16Be more careful with snprintf return value handling. Some of these areChad Loder
from Han Boetes (thanks), some with modifications by me. OK from and corrections from niallo@
2005-04-15snprintf() returns int, not size_t; also use the return value afterTodd C. Miller
we have checked it. Joint work with moritz@
2005-04-15typo. ok reyk@Moritz Jodeit
2005-04-15fix snprintf return value check. ok otto@ millert@Moritz Jodeit
2005-04-15Fix memory leak in case aspath_snprint() returns an error (-1).Claudio Jeker
OK henning@
2005-04-14fix off-by-ones in path truncation checks. from Han Boetes; ok deraadt@Damien Miller
2005-04-14Some format string cleanup. OK deraadtChad Loder
2005-04-14fix possible double free(), thans to Andrey MatveevReyk Floeter
2005-04-14since we chroot by default, always init fallback entropy sourceJakob Schlyter
2005-04-14Do this correctly, and silence a sign comparison warning.Chad Loder
2005-04-14Check snprintf for truncation and failure. From Han Boetes (thanks).Chad Loder
2005-04-13connect hostapd for reyk, ok theo reykHenning Brauer
2005-04-13filter_set cleanup. Plug some memleaks and fix an obvious bug in theClaudio Jeker
network case. OK henning@
2005-04-13un-hack, use event_loopexit()Reyk Floeter
ok henning@ brad@
2005-04-13a daemon, not an daemon;Jason McIntyre
2005-04-13add some missing arguments, where format stringsMoritz Jodeit
expect them and a minor comment fix. ok reyk@
2005-04-13set gid before uidReyk Floeter
2005-04-13spacingTheo de Raadt
2005-04-13tighten code verticallyTheo de Raadt
2005-04-13really abort, when privdrop fails. ok reyk@Moritz Jodeit
2005-04-13tweak to make this use similar format to ospfd.conf.5 and hostapd.conf.5;Jason McIntyre
2005-04-13tweaks; ok reyk@Jason McIntyre
2005-04-13sync usage()Jason McIntyre
2005-04-13various tweaks;Jason McIntyre
ok reyk@
2005-04-13privsep i/o functions are based on atomicio, add copyright noticeReyk Floeter
2005-04-13only fflush STDERR when we actually log to STDERR, reyk okHenning Brauer
2005-04-13missing copyrights here as wellHenning Brauer
it is more than fine to re-use our code (please do!), but do not forget our copyright!
2005-04-13do not close descriptors before exitTheo de Raadt
2005-04-13spacesTheo de Raadt
2005-04-13kill #if 0 crudHenning Brauer
2005-04-13bzero of bss not neededTheo de Raadt
2005-04-13don't lose copyright on the way... reyk okHenning Brauer
2005-04-13KNGHenning Brauer
2005-04-13whitespaceHenning Brauer
2005-04-13the ifconfig manpage is in section 8...Reyk Floeter
2005-04-13add missing commaReyk Floeter
2005-04-13KNFHenning Brauer
2005-04-13add the initial version of the OpenBSD hostapd daemonReyk Floeter
ok deraadt@
2005-04-13Show if a route is rejected or blackholed in show fib output. OK henning@Claudio Jeker
2005-04-13very unlikely overflow. but sticking to the idiom is important: thereby,Theo de Raadt
example by example, we teach people how to actually use snprintf. because it is clear (especially judging by code coming from netbsd hint hint perhaps if i say it like this they will finally learn) that people are not paying attention, and replacing one security problem with another. in the early days we replaced buffer the typical ANSI-C standardized function buffer overflows (by which I mean strcpy, strcat, and sprintf) with non-overflowing ones -- range checking varients. We knew we were fixing a major problem. The damn overflows. But we did not have time in all cases to handle the next problem we were not handling: string truncation. Now we need to (I hope not slowly) start fixing the string truncations. Anyone going to help?
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-04-12tweaks;Jason McIntyre
ok claudio@
2005-04-12Introduce a per prefix weight. The weight is used to tip prefixes with equalClaudio Jeker
long AS pathes in one or the other direction. It weights a prefix at a very late stage in the decision process. This is a nice bgpd feature to traffic engineer networks where most AS pathes are equally long. OK henning@
2005-04-12Fix some yyerror messages. Ja ja, INT_MAX is to small... OK henning@Claudio Jeker
2005-04-12set metric is an alias of set med since a long time. OK henning@Claudio Jeker
2005-04-12spellingTheo de Raadt