summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-03-12tab at EOLClaudio Jeker
2004-03-12Document "show rib" interface. OK jmc@ henning@Claudio Jeker
2004-03-12Update man page to reflect reality. Added filtering section and some newClaudio Jeker
statements. OK jmc@ henning@
2004-03-12fix the "wait for child processes to terminate" code, and move it down a bitHenning Brauer
millert ok
2004-03-12Rewrite community_match() for loop. yaya henning@Claudio Jeker
2004-03-12Check payload size more carefully when printing ike messages. Identified byHans-Joerg Hoexer
cloder@. ok ho@ otto@ cloder@
2004-03-11There is no cnumber token in the parser so don't define a type for it.Claudio Jeker
2004-03-11Plugging memory leaks is OK but don't break intended behaviour. So this timeClaudio Jeker
do it correctly.
2004-03-11repair pkg_add -, by making sure `-' is a special object.Marc Espie
2004-03-11fix leak, found by Patrick Latifi <pat@eyeo.org>Bob Beck
ok millert@, dhartmei@
2004-03-11open O_RDONLY when listingBob Beck
ok millert@, dharmei@
2004-03-11Remove sync() calls that immediately precede databse close(). SinceTodd C. Miller
close() calls sync() itself the standalone sync() is a no-op. OK beck@
2004-03-11yes, the keyword table has to be sorted ;-)Henning Brauer
2004-03-11KNFHenning Brauer
2004-03-11Add basic support for communities. Currently it is only possible to filterClaudio Jeker
on communities, e.g match from any community 24640:* set localpref 666 OK henning@
2004-03-11Use aspath_asprint() instead of this malloc, aspath_snprint() mess. OK henning@Claudio Jeker
2004-03-11Ensure that aspath_snprint() returns a zero terminated string also if theClaudio Jeker
aspath is "". Found, OK and tsc tsc tsc henning@
2004-03-11typoHenning Brauer
2004-03-11Plug another memory leak. OK henning@Claudio Jeker
2004-03-11check for malloc failure...Henning Brauer
2004-03-11Shutdown the RDE cleanly on exit. Plug some memleaks. OK henning@Claudio Jeker
2004-03-11Free unneeded mrt lists in SE and on exit. OK henning@Claudio Jeker
2004-03-11fflush(stderr) in vlog if in debug mode, from discussion with and ok claudioHenning Brauer
2004-03-11Type in Makefile. CLFAGS != CFLAGS and we don't want -Wredundant-decls theClaudio Jeker
standard include files are full of redundant declarations. OK henning@
2004-03-10pass a pointer to the network list as well to session_main so we can free()Henning Brauer
the members after fork
2004-03-10while walking the peer list on shutdown free the peer structsHenning Brauer
2004-03-10pass a pointer to the filter rule list to session_main() so we can free()Henning Brauer
the list entries and the head there after forking
2004-03-10when we exit try to write out what is left in the msg buffers for the imsgHenning Brauer
pipes and clear buffers afterwards
2004-03-10free peer list on exit, claudio okHenning Brauer
2004-03-10remove unused functionHenning Brauer
2004-03-10on shutdown, explicitely clear the knexthop, kroute and kif tables, claudio okHenning Brauer
2004-03-10in kif_kr_insert and _remove, don't whine when we do not find an interfaceHenning Brauer
whom's index is 0. this means no interface and our faked route that protects the loopback network uses ifindex 0. claudio ok
2004-03-10remove an ugly hack from the time when we had no RTM_IFANNOUNCE messages:Henning Brauer
if kif_find() did not find a matchnit re-fetched the complete table from the kernel and retried. this is obsolete now, claudio ok
2004-03-10oupsHenning Brauer
2004-03-10implement framework to announce capabilities in the open messages we send.Henning Brauer
this includes handling "unsupported optional parameter" notifications from the peer and retrying without capability announcement. claudio ok
2004-03-10Help it cope with symlinks. Mostly from rd@thrush.com.Marc Espie
okay pvalchev@
2004-03-10spacingTheo de Raadt
2004-03-10Plug memory leak on SIGHUP. From Patrick Latifi.Ryan Thomas McBride
2004-03-09type, Marek BlaszkowskiTed Unangst
2004-03-09Clarify -unencrypted. Closes PR 3705.Tom Cosgrove
ok otto@, nick@, millert@
2004-03-09When a new prefix is filtered it is necessary to remove the old prefix.Claudio Jeker
This is done by a recursive call that does the withdraw. OK henning@
2004-03-09Be more clear about where the source file is coming from and what willOtto Moerbeek
happen to it. ok millert@ cedric@
2004-03-08Slightly optimize and make both routines one instruction shorter.Miod Vallat
2004-03-08mem leaks in error pathes, mostly from Patrick LatifiHenning Brauer
2004-03-08typo in format strin (ugh!) and few missing free()s, partitially fromHenning Brauer
Patrick Latifi
2004-03-07A few useful features:Marc Espie
- pkg_add -A arch, to make believe we are extracting on a given arch (matches pkg_create). - pkg_add -P cdrom/-P ftp, to enforce extracting only cdrom'able packages or ftp'able packages. Helps a lot for checking cdrom lists. - dependency look-up will look through local directory listings to solve dependencies, so that non-default dependencies will work more seemlessly. (doing the same thing for distant repository will happen after 3.5, but this requires more apparatus: caching package lists, and killing/restoring existing connections, plus more error handling). okay pval
2004-03-07plug 18 memory leaks, ryan okHenning Brauer
2004-03-07Document -v in ifstated.8 and usage() and use __progname in usage().Ryan Thomas McBride
Fix from merith at redmoon dot openbsd dot de, with slightly modified wording.
2004-03-07Don't try to dereference null configuration.Ryan Thomas McBride
Fix from merith at redmoon dot openbsd dot de.
2004-03-06pull a fix from bgpd:Henning Brauer
plug a memory leak in the lexer. the issue is this code fragement from yylex(): . token = lookup(buf); . yylval.v.string = strdup(buf); . if (yylval.v.string == NULL) . err(1, "yylex: strdup"); . return (token); lookup() tries to match buf against a list of keywords, and returns the associated token if it has a match, or the token STRING otherwise. STRING is the only token that needs (and free()s) yylval.v.string. however, we assigned memory for it with the strdup in yylex for each and every token. the fix is obviously only setting yylval.v.string when lookup() returns STRING. Patrick Latifi noticed that something was leaking with token handling, analysis and fix by me. ok deraadt@ also err instead of errx after strdup failure