summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-10-26Fix alignment issues on sparc64. Fixes pr 5608.Moritz Jodeit
ok canacar@
2007-10-25segement -> segment; from Denis DoroshenkoJason McIntyre
plus an article fix whilst here
2007-10-25kill extraneous item macro, thus avoiding badness;Jason McIntyre
2007-10-25Add -D makro=value as well so that all routing daemons are in sync.Claudio Jeker
OK norby@
2007-10-25Support -D makro=value like bgpd and ripd. OK norby@Claudio Jeker
2007-10-25Max values are 255:31:7 not 256:32:8.Tobias Stoeckmann
OK dlg@, kettenis@
2007-10-25oops, forgot to clean up the manpage bits.Pierre-Yves Ritschard
prompted by mpf
2007-10-25sync logging with most other daemons.Pierre-Yves Ritschard
ok mcbride@, mpf@
2007-10-24Make the packet buffer u_int8_t * everywhere. This is binary data and notClaudio Jeker
a string.
2007-10-24The metric is a 8bit value ranging from 1 to INFINITY (defined as a whoppingClaudio Jeker
16). So use u_int8_t everywhere.
2007-10-24An u_int8_t is enough as prefixlen. Another lint warning gone.Claudio Jeker
2007-10-24Document -D. Stolen from bgpd.8Claudio Jeker
2007-10-24Add the 5 needed lines to support -D makro=value option. Another surprisingClaudio Jeker
finding by lint.
2007-10-24Use an ssize_t instead of int like in all other imsg handlers. Hint by lintClaudio Jeker
2007-10-24The index should be unsigned int -- another lint findingClaudio Jeker
2007-10-24ctl_rt flags should be u_int16_t -- noticed by lintClaudio Jeker
2007-10-24Garbage collect unused stuff found by lint.Claudio Jeker
2007-10-24Sync a bit more with ospfd. Do not fatal if one of the pipes is closed,Claudio Jeker
instead do a "nice" shutdown. Ignore SIGHUP in the childs even though we have no reload support (yet). Remove some redundant code and clean up some types.
2007-10-24Don't use inet_ntoa() twice in a printf like function. So instead ofClaudio Jeker
using inet_ntoa() on the netmask use mask2prefixlen().
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@