summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-10-17From ripd: Add missing RTM_VERSION checks.Claudio Jeker
2007-10-17From ripd: Add missing RTM_VERSION checksClaudio Jeker
2007-10-17wrong type for digest; ok claudioTheo de Raadt
2007-10-17Add missing RTM_VERSION checks.Claudio Jeker
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-17Remove redundant code.Claudio Jeker
2007-10-17fix getopt handling; ok marcoTheo de Raadt
2007-10-17lsa_snap() should work so enable it.Claudio Jeker
2007-10-16Fix show database router output.Claudio Jeker
2007-10-16Make struct lsa_rtr a better match of the reality. Still not happy becauseClaudio 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-16There is not auth code so there is no need for struct crypt.Claudio Jeker
2007-10-16Make ospf6ctl compile again and especially make ospf6ctl show database workClaudio Jeker
and so stuff starts to show up in the database: Link ID Adv Router Age Seq# Checksum 0.0.0.1 255.1.1.1 3 0x8000028e 0xc7b3 0.0.0.0 255.1.1.1 3 0x8000027f 0xade8
2007-10-16Oups, unbreak there were some LINK_TYPE_STUB_NET left in the code.Claudio Jeker
2007-10-16Router LSA link type 3 is now reserved. There are no stub networks anymore.Claudio Jeker
2007-10-16remove log_debug() packet sending is now solid so no need to fill the logClaudio Jeker
with it.
2007-10-16Use v->type insead of v->lsa->hdr.type. Idea came while looking at ospf6d.Claudio Jeker
OK norby@
2007-10-16Big round of lsa type cleanup. Moving from u_int8_t to u_int16_t made a lotClaudio 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-16Enable the IMSG_DD related code. This code starts to work.Claudio Jeker
2007-10-16correctly send lsreq, there is no need to change the byte-order of the lsa type.Claudio Jeker
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16Make ospf6d(8) not throw up on Router LSAs.Esben Norby
Initial step towards actually storing real LSAs. ok claudio@
2007-10-16Change LSA type to 16 bit and use the new defines recently comitted toEsben Norby
ospf6d(8). ok claudio@
2007-10-16In OSPFv3 the LSA type is a 16 bit value, furthermore it uses differentEsben Norby
values than the v2 counterpart. Change to u_int16_t and define new LSA types. ok claudio@
2007-10-16Fix the neighbor election process.Esben Norby
ok claudio@
2007-10-16Adapt to the changes in ospf6d. Fix more IPv6 addressing and probably breakClaudio Jeker
some currently not working commands but show interface and show neighbor should work. OK norby@
2007-10-16First step at making kroute IPv6 aware. This resulted in many additionalClaudio Jeker
changes -- some are so hairy that I left them out for later by commenting out larger blocks of code (just grep for XXX if you like to help). Get it in early so that we can work on. OK norby@
2007-10-16Fix the output from "show neighbor".Esben Norby
It is not possible to fit the address of the neighbor(s) in the short list, so we loose it... It is still possible to see the IP address of the neighbor in the output of "show neighbor detail". ok claudio@
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-15Allow ntpd to report the status of peers and sensors to syslog. ThisOtto Moerbeek
happens when a SIGINFO is received, or when the majority of peers or sensors is bad. The latter with a maximum of once per 24 hour. ok henning@ ckuethe@ mbalmer@
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-14do not fallthroughTheo de Raadt
2007-10-14Switch log_sockaddr() to take a void * so it is not necessary to cast theClaudio Jeker
sockaddr_in6 or sockaddr_in to a sockaddr.
2007-10-14Missing spaceClaudio Jeker
2007-10-14'expresion' -> 'expression'. Reported by Jung on tech@.Kenneth R Westerback
2007-10-14'syncronize' -> 'synchronize'. From Diego Casati.Kenneth R Westerback
2007-10-14please lintTheo de Raadt
2007-10-13should not be in the treeTheo de Raadt
2007-10-13avoid errno trashing in signal handlerTheo de Raadt
2007-10-13superceed -> supersede; from Tamas TEVESZJason McIntyre
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-13From ospfd: Funny typo, it is fib not fip so adjust function name.Claudio Jeker
2007-10-13Funny typo, it is fib not fip so adjust function name.Claudio Jeker
2007-10-12Silence some lint(1) warningsBret Lambert
ok pyr@
2007-10-12Sanitize the output of "show interface detail".Esben Norby
2007-10-12Properly format the output of "show interface".Esben Norby
In order to make room for the longer IPv6 addresses in the output, the two collumns nc and ac must go. Neighbor and Adjacent Neighbor Count is still avalable in "show interface detail". ok claudio@
2007-10-12Controller for the recently imported ospf6d(8) daemon.Esben Norby
Currently simple stuff like show interface works. Not yet connected to the builds. ok claudio@
2007-10-11There is no need to support interface em0:<IP> anymore. Remove most of theClaudio Jeker
code the rest will be reused somehow.
2007-10-11No need to store the interface mask. An interface represents a link and isClaudio Jeker
only addressed via its link local address. All networks on top of it are handled separately via type 8 Link-LSA.
2007-10-11OSPFv3 runs on links not on networks so there is no need for a mask in theClaudio Jeker
hello protocol. Kill no longer needed code.