summaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted
AgeCommit message (Collapse)Author
2024-02-08Feed more generated files to the clean target; joint work with naddy@Miod Vallat
2023-09-06use ansi function declsJonathan Gray
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
any parts of his diff not taken are noted on tech
2022-05-06Relax the limitation of what is an acceptable unicast IP.Claudio Jeker
Remove the IN_BADCLASS() check which filters out the experimental IPv4 address space. Now there are no more experiments in IPv4 and so there is less reason for these network daemons to deny such an IP. Everything still disallows multicast IPs (224/4) and loopback (127/8) a few also disallow 0/8 but this is not consistent. In any case using 240/4 in production is a really bad idea but it is not up to this software to prevent you from being a fool. OK deraadt@ tb@
2020-12-30getifaddrs() can return entries where ifa_addr is NULL. Check for thisSebastian Benoit
before accessing anything in ifa_addr. ok claudio@
2020-02-10briefly mention /etc/examples/ in the FILES section of all theIngo Schwarze
manual pages that document the corresponding configuration files; OK jmc@, and general direction discussed with many
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-10-07delete #ifdef SYSV code, along with a beautiful #define bcopy memcpyTheo de Raadt
2017-01-21The POSIX APIs that that sockaddrs all ignore the s*_len field in thePhilip Guenther
incoming socket, so userspace doesn't need to set it unless it has its own reasons for tracking the size along with the sockaddr. ok phessler@ deraadt@ florian@
2017-01-21Having a 'case 256:' in a switch (<uchar>) {} is bad on principleKenneth R Westerback
and makes gcc unhappy. In-line the single use #define, eliminate the 256: case and remove a now unneeded local variable. ok guenther@
2017-01-21Accommodate gcc's suggestion that assignments used as truth valuesKenneth R Westerback
should be enclosed in parentheses. ok deraadt@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2016-12-25Add some {}'s to eliminate "ambiguous else" warnings from gcc.Kenneth R Westerback
ok tb@ millert@
2015-12-19Remove NULL-check before free().mmcc
2015-11-12use symbolics for flags to openTheo de Raadt
from Ricardo Mestre
2015-11-12daemon() equivelant should open /dev/null; ok millertTheo de Raadt
2015-10-28pid removal; from jan staryJason McIntyre
2015-10-26remove libutil from dpadd tooTed Unangst
2015-10-26remove util.h include and -lutil after pidfile removalJoerg Jung
ok deraadt
2015-10-26stop using pidfile()Theo de Raadt
ok benno jung jca
2015-08-21since stdlib.h is in scope, don't cast.... you know the drill.Theo de Raadt
no sneakiness detected by krw
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo 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-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-11-03Add gcc format attributes to more warn/error functions in parse.y files.Doug Hogan
Fix a few missing or incorrect format characters. ok claudio@
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
ok millert@
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-08-27c99 no longer allows implicit ints. make the declaration explicit.Daniel Dickman
ok henning@
2014-07-11missing prototypesFlorian Obser
OK tedu@ but don't ask him questions about mrouted, ever
2013-04-21use arc4random_uniform(); ok djmTheo de Raadt
plus some other markings about signal races...
2013-04-21deregister. no binary change.Ted Unangst
2013-04-21as in dvmrpd:Theo de Raadt
the DVMRP protocol generation number can work beyond 2038 because it is unsigned. Cast it specifically, with a comment, to make this more clear.
2013-04-21convert select to poll, since the select code had descriptor limitsTheo de Raadt
ok tedu
2013-01-17some simple macro fixes;Jason McIntyre
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2011-09-21fix missing err.h includesJonathan Gray
2010-11-05- fix possible use of uninitialized variable.Jasper Lievisse Adriaanse
ok claudio@
2010-04-05Another incorrect comment introduction. \." != .\"Theo de Raadt
2010-01-06clean up this page a little; ok norbyJason McIntyre
2010-01-03Neither .Pp nor unqualified text are allowed at the top level of .Bl;Ingo Schwarze
instead, .It is required. Thus, move .Pp and text before the .Bl, and remove the .Pp altogether where it is not needed. Syntax errors found by mandoc(1), also required to fix the mandoc build; feedback and ok jmc@, and sobrado@ also supports the direction.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-01"Ethernet" is a family of networking technologies developed at Xerox PARC,Igor Sobrado
not a generic name. we must use the right capitalization for this term. ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-18tidy up synopsis and usage; from Igor SobradoJason McIntyre
2007-02-06fix some dodgy displays;Jason McIntyre
2005-11-09whever -> whenever in commentsMartin Reindl
ok jmc@
2005-06-16use getopt() for argument list parsingRobert Nagy
ok millert@ otto@
2005-06-15remove SNMP code from mrouted(8) because it is broken and it isRobert Nagy
higly unlike that anyone will use this. ok otto@ millert@ henning@
2004-08-01ansi cleanup; khalek@linuxgamers.netTheo de Raadt
2004-04-03.br workaround no longer necessary;Jason McIntyre
.Pp removal;
2004-01-16sync with raw socket API change. reported by Esben Norby, tested by teduJun-ichiro itojun Hagino