Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-30 | Remove debug message that does not help. The problem with the initial flood | Claudio Jeker | |
of the Link LSA is still not solved though. | |||
2008-12-30 | Correctly encode the IPv6 prefix. Only (prefixlen + 31)/32 * 4 bytes are | Claudio Jeker | |
attached to the LSA (saves 8 to 12 bytes per prefix and makes our life more interesting or complex). | |||
2008-12-30 | lsa_get_prefix() needs to use something else then struct lsa_prefix to | Claudio Jeker | |
store the prefix to because the onwire format has the prefix compressed and so struct lsa_prefix will no longer carry the prefix in it. Use rt_prefix instead which is the expanded and host-byte-order version of the former. | |||
2008-12-30 | Correctly compute the options for the net LSA as pre RFC options is set to | Claudio Jeker | |
the or-ed result of all active neighbors. freaky... Discussed with stsp@ | |||
2008-12-30 | First try at originating Link (type-8) LSA. Code is wrong and the initial | Claudio Jeker | |
LSA is lost in lsa_flood. Put this in because it goes in the right direction and ospf6d is work in progress. Add necessary framework so that we can print Link LSA in ospf6ctl. Diff mostly from stsp@ ospf6ctl part by myself | |||
2008-12-28 | a few documentation updates for opsf6(8) and ospf6ctl(8): remove an | Igor Sobrado | |
existing (but undocumented) flag from the usage of ospf6d; documentation tweaks; while here, synchronize synopsis and usage. ok claudio@ | |||
2008-12-28 | Initial bits for originating net lsa again from Stefan Sperling with some | Claudio Jeker | |
changes by myself. | |||
2008-12-28 | Part of lsa_self() works at least everything with us as adv_rtr should be | Claudio Jeker | |
killed. From Stefan Sperling | |||
2008-12-28 | area_ospf_options() should not return network byte order options. Instead | Claudio Jeker | |
the callers should take care of getting the byte order right. While there remove the opts[123] from the hello_hdr and use LSA_24_* to handle this nasty fields instead. Now router LSA have the correct flags set. | |||
2008-12-28 | First shot at originating router LSA, still a lot of XXX but seems to | Claudio Jeker | |
work for IF_TYPE_BROADCAST networks. Initial diff by Stefan Sperling, some additional work by myself | |||
2008-12-28 | No need to byteswap req_hdr.type as lsa_find() will do that for us. | Claudio Jeker | |
From Stefan Sperling | |||
2008-12-28 | Sync up the flags with the new and shiny RFC5340 while there introduce | Claudio Jeker | |
some macros to handle the 24bit insaneness. rfc5340 syncup by Stefan Sperling, the insanity is mine | |||
2008-12-28 | Send the interface index in the correct byte order and add iface_id to | Claudio Jeker | |
struct nbr to identify the neighbors correclty. From Stefan Sperling stsp (at) stsp.name | |||
2008-12-28 | Correctly sync the FSM by issuing the NBR_EVT_NEG_DONE event before sending | Claudio Jeker | |
possible database desciption files to the RDE. NBR_EVT_NEG_DONE sends an imsg to the RDE to bring the RDE in the correct state for the database exchange when doing this the wrong way the RDE will issue errors. From ospfd (rev. 1.23 of database.c) via Stefan Sperling | |||
2008-10-17 | bring in the findeol() fix from pfctl. list of affected parsers by sthen | Henning Brauer | |
2008-10-03 | Unify code between the various flavors of imsg buffer.c. | Eric Faurot | |
Use unsigned int for msg_iovlen. ok henning@ claudio@ | |||
2008-06-10 | one more trafic -> traffic; | Jason McIntyre | |
2008-05-13 | Unmangle previous commit. spotted by markus@ (wow !) | Pierre-Yves Ritschard | |
2008-05-12 | Error out with usage line if additional arguments are given after the | Pierre-Yves Ritschard | |
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@ | |||
2008-05-09 | Henning forgot ospf6d. Add priority to ospf6d as well. | Claudio Jeker | |
2008-03-24 | msg_controllen has to be CMSG_SPACE so that the kernel can account for | Theo de Raadt | |
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis | |||
2008-03-15 | Repair more msg_controllen dealing with structures or arrays of | Theo de Raadt | |
descriptors; ok hshoexer, also looked at by kettenis and henning | |||
2008-03-13 | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | Theo de Raadt | |
an extensive discussion with otto, kettenis, millert, and hshoexer | |||
2008-02-26 | Have 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-02-11 | Correct the output of several error and debug messages. | Esben Norby | |
2008-01-31 | use a hyphen for "interface-specific" as a compound term. this is | Jason 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-31 | do not leak confd on malloc failure in control_accept() | Henning Brauer | |
found by Igor Zinovik <zinovik@cs.karelia.ru> | |||
2007-12-13 | Monster commit of stuff I did mostly last month. What it does: | Claudio Jeker | |
* removes kif and uses iface for everything interface related. This removes unneeded data redundancy which makes the code more complex. * adds the link local prefix to struct iface and attaches a list with the other prefixes to the struct iface. This is needed to generate the link LSA. * disconnects struct iface from struct area (the backpointer is gone) this will make the reload code a bit easier. norby@ agrees with the direction we're heading with this | |||
2007-11-27 | Make lsa_find() find link local LSA by passing the interface instead of the | Claudio Jeker | |
area as lookup point. Additionally make lsa_dump or actually the code around it pass all LSA to ospf6ctl. The rde_spf.c are not final. | |||
2007-11-27 | Monster diff to bring us a bit on track again. | Claudio Jeker | |
a) implement all (or at least most) lsa_check() cases. b) classify the LSA scope correctly and add a per interface lsa_tree for the link local stuff. c) implement a function to parse a prefix. There is still a lot missing currently link local LSA are added to the interface tree but nothing can access them (lsa_find() and a few friends need some changes). OK norby@ | |||
2007-11-24 | lsa_self() is completely busted at the moment, so just ignore it. | Claudio Jeker | |
Currently ospf6d is unable to announce a thing so there is no need to cleanup. | |||
2007-11-24 | Print the neighbor ID instead of the neighbor address in if_act_elect(). | Claudio Jeker | |
Neighbors are identified by ID in OSPF v3 and trying to print a IPv6 addr as AF_INET was wrong anyway. | |||
2007-11-12 | Remove space/tab compression function from lgetc() and replace | Marco 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-25 | segement -> segment; from Denis Doroshenko | Jason McIntyre | |
plus an article fix whilst here | |||
2007-10-25 | Support -D makro=value like bgpd and ripd. OK norby@ | Claudio Jeker | |
2007-10-20 | Sync parse.y with recent enhancements in hoststated. | Pierre-Yves Ritschard | |
Fix behavior when running -n. henning@ | |||
2007-10-17 | From ripd: Add missing RTM_VERSION checks. | Claudio Jeker | |
2007-10-17 | lsa_snap() should work so enable it. | Claudio Jeker | |
2007-10-16 | Make struct lsa_rtr a better match of the reality. Still not happy because | Claudio Jeker | |
some people had the great idea to make the OSPF options 24bits. Still undecided if a u_int32_t should be used or 4 u_int8_t both is gross. | |||
2007-10-16 | There is not auth code so there is no need for struct crypt. | Claudio Jeker | |
2007-10-16 | Oups, unbreak there were some LINK_TYPE_STUB_NET left in the code. | Claudio Jeker | |
2007-10-16 | Router LSA link type 3 is now reserved. There are no stub networks anymore. | Claudio Jeker | |
2007-10-16 | remove log_debug() packet sending is now solid so no need to fill the log | Claudio Jeker | |
with it. | |||
2007-10-16 | Big round of lsa type cleanup. Moving from u_int8_t to u_int16_t made a lot | Claudio Jeker | |
of ntohs() necessary. Nota bene the lsa type is cached in the vertex node in host byte order. Additionally the defines are in host byte order so sprinkle some ntohs() over rde_lsdb.c. | |||
2007-10-16 | Enable the IMSG_DD related code. This code starts to work. | Claudio Jeker | |
2007-10-16 | correctly send lsreq, there is no need to change the byte-order of the lsa type. | Claudio Jeker | |
2007-10-16 | Allow '=' to end a number in all lexers. | Marco Pfatschbacher | |
Requested and OK deraadt@ | |||
2007-10-16 | Make ospf6d(8) not throw up on Router LSAs. | Esben Norby | |
Initial step towards actually storing real LSAs. ok claudio@ | |||
2007-10-16 | In OSPFv3 the LSA type is a 16 bit value, furthermore it uses different | Esben Norby | |
values than the v2 counterpart. Change to u_int16_t and define new LSA types. ok claudio@ | |||
2007-10-16 | Fix the neighbor election process. | Esben Norby | |
ok claudio@ |