summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-10-23add missing header to avoid warningCharles Longeau
"commit!" dlg@
2007-10-22variable does not need init; ok dlgTheo de Raadt
2007-10-22we don't need mmap/munmap in relay_load_certificates anymore...Reyk Floeter
just use read() and make the function a little bit nicer. ok pyr@
2007-10-22last one left behind.Pierre-Yves Ritschard
all daemons synced. ok reyk@
2007-10-22load certificates text at parse time. then load them in relay processes.Pierre-Yves Ritschard
this separation will ease reload a bit more. ok reyk@ who spotted a stupid mistake again...
2007-10-22add missing .Ed;Jason McIntyre
2007-10-22add support for the include directive to the configuration file parser,Reyk Floeter
based on the existing hostapd/pfctl code. ok pyr@
2007-10-22add RCS idJasper Lievisse Adriaanse
"free commit!" dlg@
2007-10-22do not check the file secrecy of hoststated.conf, there is no need toReyk Floeter
enforce the file ownership and permissions to root:wheel 0400 because we have nothing to hide. ok pyr@
2007-10-22various improvements;Jason McIntyre
2007-10-22"link it to the build" deraadt@David Gwynne
2007-10-22only build program on pci architecturesTheo de Raadt
2007-10-22lint says __progname is not constTheo de Raadt
2007-10-22dmesg prints bus/dev/func locations in decimal, and the command line paramDavid Gwynne
to pcidump takes decimals, so print the locations as decimals too. less confusing, but maybe a bit uglier. ugliness can be fixed later though.
2007-10-22infromation -> informationDavid Gwynne
from paul de weerd
2007-10-22i wrote most of the code this year, so fix copyright.David Gwynne
2007-10-22put pcidump in the tree, a little tool for reading the pci configurationDavid Gwynne
spaces. requested by kettenis@ ok kettenis@ deraadt@ marco@ and lots of others
2007-10-21Being able to set the decision weight of prefixes is a nice feature, butMichael Knudsen
when it's not really documented in what way it influences the decision process, people like myself will screw it up and assume that it gets added to the prefix path lenth, and thus that smaller weight wins. .. which is not the case. Document the actual behaviour. ok claudio, the general change agreed by henning. proofraed by jmc.
2007-10-21Take even more care to ensure the max message size is atKenneth R Westerback
least as large as the minimum IP MTU. ok canacar@ henning@ millert@
2007-10-21sync with other daemons.Pierre-Yves Ritschard
ok mcbride@
2007-10-21Last bit of (planned) tidy up in cons_options(). Join some lines,Kenneth R Westerback
delete some blank lines, add some other blank lines, move expressions so calculations done only once. Eliminate extraneous ++'s. No functional change.
2007-10-21Tidy up, make usual case exit faster, eliminate variable. No functionalKenneth R Westerback
change. ok beck@
2007-10-20ntpd and bgpd's turn to behave like the others.Pierre-Yves Ritschard
ok henning@
2007-10-20forgot about ospfd in last commit.Pierre-Yves Ritschard
ok hennin@ too.
2007-10-20Sync parse.y with recent enhancements in hoststated.Pierre-Yves Ritschard
Fix behavior when running -n. henning@
2007-10-19missing break; spotted by robert, marco did not read the diff well enough or ↵Theo de Raadt
try it
2007-10-19print system error when fopen fails.Pierre-Yves Ritschard
2007-10-19don't fill the logs; spotted by deraadt@ ok henning@Otto Moerbeek
2007-10-19Make sure bufix is updated after copying options into the first overflowKenneth R Westerback
buffer. Actually use the second overflow buffer now that bufix is correct and the test for remaining options will work correctly. ok beck@
2007-10-19Be a bit more paranoid and initialize all valid options buffers withKenneth R Westerback
DHO_PAD (a.k.a. 0). Eliminate manual DHO_PAD'ing after DHO_END is put into the buffer. ok beck@
2007-10-19Fix obvious typos and write DHO_PAD and DHO_END into correct options overflowKenneth R Westerback
buffer. Spotted by canacar@ and others. ok beck@
2007-10-19Correct the value returned by cons_options in the case where overload buffersKenneth R Westerback
are used. It should reflect the end of the main options buffer rather than the start of the options copied into it. ok beck@
2007-10-19Ensure that main_buffer_size is set to a value less than or equal toKenneth R Westerback
the size of the outgoing packet's options field. Spotted by canacar@. ok beck@
2007-10-19Do log initialisation correctly, like bgpd does.Pierre-Yves Ritschard
This removes the double warn/log_warn madness i introduced yesterday. This also keeps messages on stderr at startup and when running with -n.
2007-10-19Move relays from static TAILQs to allocated ones.Pierre-Yves Ritschard
This syncs it with other hoststated entities and will make reload easier. This is step 1 out of 7 for reload.
2007-10-19Add the ability to schedule an immediate check through hoststatectl.Pierre-Yves Ritschard
Especially useful when interval is rather long. I was supposed to commit this before 4.2.
2007-10-19keep log_warn messages to be informed when a failure occurs during a reload.Pierre-Yves Ritschard
2007-10-18unbreak treeTheo de Raadt
2007-10-18extra arg to warn slipped through.Pierre-Yves Ritschard
2007-10-18repair file security warnings; ok pyrTheo de Raadt
2007-10-18spacingTheo de Raadt
2007-10-18Massive cleanup in the authentication code. the simple auth_key and the cryptClaudio Jeker
keys are not strings so a) use u_int8_t instead of char and b) uses memcpy to copy the full MAX_SIMPLE_AUTH_LEN resp. MD5_DIGEST_LENGTH bytes around. The parser needs some special code to ensure that the string is not to long and if it is shorter then the buffer the rest needs to be zero padded. Avoid to use strncpy() instead use a bzero(); memcpy() combo. with and OK deraadt@
2007-10-18Add missing bits for auth crypt and cleanup a bit. OK deraadt@Claudio Jeker
2007-10-17From ripd: Add missing RTM_VERSION checks.Claudio Jeker
2007-10-17From ripd: Add missing RTM_VERSION checksClaudio Jeker
2007-10-17wrong type for digest; ok claudioTheo de Raadt
2007-10-17Add missing RTM_VERSION checks.Claudio Jeker
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-17Remove redundant code.Claudio Jeker