summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd
AgeCommit message (Collapse)Author
2008-11-21Introduce support for flash updates.Michele Marchetto
They spread routing changes immediately as they happen avoiding wait until the next report interval. OK norby@
2008-10-21Code cleanup. No functional change.Michele Marchetto
OK norby@
2008-10-17bring in findeol() fix from pfctlHenning Brauer
2008-10-03Unify code between the various flavors of imsg buffer.c.Eric Faurot
Use unsigned int for msg_iovlen. ok henning@ claudio@
2008-07-02Prevent dvmrpd from using illegal ifindex's.Esben Norby
Report and fix from Matthew Dempsky.
2008-05-12Error out with usage line if additional arguments are given after thePierre-Yves Ritschard
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
2008-04-28tweak previous;Jason McIntyre
2008-04-28Improve the dvmrpd(8) manpage.Esben Norby
2008-02-27Unbreak parser by initializing topfile correctly.Marco Pfatschbacher
I got fooled by patch(1). Sorry.
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@
2008-01-31use a hyphen for "interface-specific" as a compound term. this isJason McIntyre
not a hard and fast rule (actually it's a form i abuse) but hostname.if.5 currently uses two conflicting forms and this keeps it consistent;
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
found by Igor Zinovik <zinovik@cs.karelia.ru>
2007-11-12Remove space/tab compression function from lgetc() and replaceMarco Pfatschbacher
it with a simple filter in the yylex() loop. The compression in lgetc() didn't happen for quoted strings, thus creating a regression when tabs were used in variables. Some testing by todd@ and pyr@ OK deraadt@
2007-10-20Sync parse.y with recent enhancements in hoststated.Pierre-Yves Ritschard
Fix behavior when running -n. henning@
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas.
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others
2007-09-12spacingTheo de Raadt
2007-09-11macro argument unused, using local instead; spotted by mpfTheo de Raadt
2007-09-11extend lex to spot numbers in the stream, without impacting the parsingTheo de Raadt
of ip addresses and such. this change is being pushed into all the pfctl derived parsers, starting with the easy ones; ok claudio michele
2007-09-11The same dance as in all other routing daemons. baudrate is 64bit plusClaudio Jeker
initialize iface->baudrate when the interface is created. An additional gimmick don't set the ictl->baudrate twice when building the control message.
2007-09-11baudrate 64bit, two more questionable marked for norbyHenning Brauer
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-10spacingMichele Marchetto
2007-03-27Correctly handle connected routes in srt_check_route()Michele Marchetto
OK norby@
2007-03-26Route report packets with metric greater than infinity are legal, so don'tMichele Marchetto
drop them. Small typo. OK norby@
2007-03-21Added code to parse unicast routes learned from route report packets.Michele Marchetto
Now we are able to select correctly designated forwarders and downstream dependent routers per interface. Tested and OK norby@
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-13er,, no, we don't compile everything with -gHenning Brauer
2007-02-28double word: a aDavid Krause
2007-01-29Introduce new checks against the received metric to update or delete the route.Michele Marchetto
OK norby@
2007-01-24Ignore SIGPIPE in the parent and RDE as well.Esben Norby
ok claudio@
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2007-01-08how did you use one with an old license??Theo de Raadt
2006-12-03introduce rde_check_route that selects which routes must be accepted and ↵Michele Marchetto
which discarded. Still not complete, just a step forward. ok norby@ henning@
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-11-10In report packet parsing, interpret 0.0.0.0/8 as 0.0.0.0/0.Michele Marchetto
OK norby@ henning@
2006-11-10introduce reference count for struct route_report so it can be shared andMichele Marchetto
freed correctly. OK norby@ henning@
2006-10-25strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-10-25remove unused debug crap, that years ago accidently hit the tree withHenning Brauer
bgpd (2004 :)), and spread ;(
2006-09-26Simplify and make ISO chksum work on big endian machines.Esben Norby
Found by me and corrected by claudio@ during the r2k6. ok claudio@
2006-08-31knock out the cpp/,4 stuff here too; from henning (thanks)Jason McIntyre
2006-06-17make dvmrpd(8) behave correctly on sparc64 when generating and parsingEsben Norby
route reports. help from claudio@
2006-06-17make dvmrpd(8) capable of fetching interfaces correctly on sparc64.Esben Norby
2006-06-02allow igmp to work properly on p2p interfaces.Esben Norby
2006-06-02simplify netid_len calculation, inspired by stuff from bgpd.Esben Norby
2006-06-01More kroute.c cleanup and start using the routing socket to track interfaceClaudio Jeker
states.
2006-06-01small tweaks;Jason McIntyre