summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-10Work around a timing issue in the db exchange phase. The DB descriptionClaudio Jeker
packets comming from the net are looped through the RDE and may get delayed because of this. The result is that the neighbor FSM ends in state FULL instead of LOADING and so the LSDB is not correctly synchronized. Issue found by norby@ OK norby@
2005-02-10Add NAT-T here too.Hakan Olsson
2005-02-10ignore_policy should be ifdef USE_POLICY. hshoexer@ okHakan Olsson
2005-02-10Remove redundant product name strings, simplify matching slightly.Jonathan Gray
2005-02-10Cleanup the neighbor FSM. Use log_warnx() where appropriate and don'tClaudio Jeker
use the correct enum instead of 0 in the nbr_fsm_tbl.
2005-02-10dccp supportJun-ichiro itojun Hagino
2005-02-10Minor punctuation nit.Joel Knight
ok henning@
2005-02-10Nasty, fix tedu's test case. This needs to beTobias Weingartner
looked at after release again. Lots of testing. Partial ok from drah@, hshoexer@, others.
2005-02-10remove #if 0'ed code (which was experimental and should never be used)Jun-ichiro itojun Hagino
2005-02-09Fix premature ageing of self originating LSA. Still not perfect but betterClaudio Jeker
than before where it just failed to work.
2005-02-09mini KNFClaudio Jeker
2005-02-09Match D-Link DWL-610.Jonathan Gray
2005-02-09NBR_STA_ACTIVE is just ~NBR_STA_DOWN instead of some hardcoded magic.Claudio Jeker
2005-02-09Use log_warnx() in lsa_check() to report bad LSA settings.Claudio Jeker
2005-02-09Rework of self originated LSA. First of all the code to generate the LSAClaudio Jeker
is rewritten to use the dynamic buffer api introduced lately. Add missing parts in the RDE to merge these LSA originated from the OE into the LSDB with correct seq_num, etc. Add hooks to the neighbor and interface fsm so that the LSA get updated if needed. This is not perfect, still many things are missing. OK norby@
2005-02-09document [EBUSY];Jason McIntyre
from freebsd pr #73887; ok marc@
2005-02-09Fix interface fsm by inserting dummy events and actions as placeholderClaudio Jeker
for 0. Action 0 was IF_ACT_STRT and that's why if_act_start() got called multiple times. The inappropriate hack from the previous commit is no longer needed.
2005-02-09hrmz, should be right now ...Xavier Santolaria
2005-02-09Don't elect neighbors that are down and fix a stupid copy-pasto.Claudio Jeker
2005-02-09hrmz .. still missed a few ones ...Xavier Santolaria
2005-02-09ooopsie...Xavier Santolaria
2005-02-09Initialize iface->self only once. if_act_start() may be called multipleClaudio Jeker
times for a interface.
2005-02-09note that password files should only be edited using vipw(8), not by hand;Jason McIntyre
based on freebsd pr #74656; ok millert@
2005-02-09Print the interface state from the view of the neighbor in ospfctl sh nei.Claudio Jeker
The idea is to print DR, BDR or DROther dependent on the type of the neighbor. This is only done for multicast capable networks.
2005-02-09add a KEYWORD SUBSTITUTION section; ok jmc@ jfb@ Joris Vink;Xavier Santolaria
2005-02-09Prevent the ADJ_TMOUT from complaining about an unexpected event.Claudio Jeker
From norby@
2005-02-09Fix the restart DD case. In case of a timeout recheck the adjacency and goClaudio Jeker
to state NBR_STA_XSTRT and issue a new initial DB description packet or go to NBR_STA_2_WAY respectivly. OK norby@
2005-02-09When sending out hellos, copy the bdr and dr addresses into iface->self.Claudio Jeker
Without this the election process causes strange results as a router that announces itself as dr/bdr is prefered over one that doesn't.
2005-02-09If the router self is the originator of the LS update flood it outClaudio Jeker
no matter what. This solves an issue where self originated updates where not flooded because the router was the DR.
2005-02-09Once again a round of bugfixes in the db exchange process. This isClaudio Jeker
one of the worst documented parts of the RFC. The initial packet sent by the slave may have no flags set. Don't enforce that the M bit is set but instead check that the I bit and MS bit are unset. The master should only issue NBR_EVT_XCHNG_DONE if it has sent at least one packet with M bit cleared else the slave may get stuck in state Exchange. In NBR_STA_LOAD the db_tx_timer() still needs to send db descriptions out. This will be the last packet sent with the cleared M bit.
2005-02-09Add buf_seek() as buf_reserve() fails if a buf_add()/buf_reserve() isClaudio Jeker
called afterwards as it may realloc() the buffer and so the returned pointer is bogus. Needed by the upcomming originate LSA code. OK henning@
2005-02-09Print the neighbor address and not the local interface address inClaudio Jeker
ospfctl show nei.
2005-02-09need to send IMSG_NETWORK_DONE after sending networks announcement.Claudio Jeker
Similar to the fix commited by henning@ a few hours ago. OK henning@
2005-02-09cleanup and unifdef'ing, no change in object filesHenning Brauer
work by Daniel Ouellet <daniel@presscom.net>
2005-02-09missing tzset(), noticed by Chris Kuethe <chris.kuethe@gmail.com>Henning Brauer
2005-02-09in case some md5 don't match, keep the offending files around as aMarc Espie
borked package (with fixed md5). Makes it easier to locate those files and erase them later if needed... this also makes collisions explicit if user forgets and tries to install a new package later.
2005-02-09need to send IMSG_NETWORK_DONE after sending networks and associated filterHenning Brauer
sets, otherwise local netyworks get withdrawn after config reload; misbehaviour noticed by peter.galbavy@knowtion.net, claudio ok
2005-02-09Attach to the D-Link DWL-510.Ryan Thomas McBride
ok dlg@ jsg@
2005-02-08Provide reason in error message if getnameinfo fails; ok markus@Darren Tucker
2005-02-08Change default metric to 10, reflects what is stated in ospfd.conf(5).Esben Norby
ok claudio@
2005-02-08comment out AR5211/AR5212 stuff until we support it;Jason McIntyre
ok reyk@
2005-02-08- rearrange EXAMPLESJared Yanovich
- move env var stuff to ENVIRONMENT - clarify "status" description - sort & simplify commands ok jmc
2005-02-08oops, missed a prompt;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-08Some extra strict warning cleanup. From Xin Li <delphij at FreeBSDOtto Moerbeek
dot ORG> with a twist from myself. No binary change. ok djm@
2005-02-08* plug memory leaks in some paths. From Andrey MatveevPatrick Latifi
ok otto
2005-02-08Move sh.1tbl -> sh.1 and ksh.1tbl -> ksh.1Todd C. Miller
2005-02-08build w/o INET6; ok mpf@, mcbride@Markus Friedl
2005-02-08The LSA seq_num should be unsigned as it is expected by ntohl/htonl() evenClaudio Jeker
though the seq_num needs to be compared as signed number. No idea how IETF came up with such a stupid idea especially because the seq_num is not allowed to wrap. requested by henning@ OK henning@