summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2004-03-20make pfctl -s osfp work and remove -o option from manpage; ok deraadt@David Krause
pointed out by David Hill <davidh at wmis dot net>
2004-03-19Fix bad indentation that creates the illusion that there's a bug here. tedu@,Aaron Campbell
deraadt@ ok
2004-03-19Add missing bits to make already present privsep code work. Enable privsep.Hans-Joerg Hoexer
ok ho@ deraadt@ markus@
2004-03-18Allow the state of a carp interface to be changed explicitly.Ryan Thomas McBride
ok markus@
2004-03-18Starting with Prism firmware version 1.6.3, HostAP supports anTodd C. Miller
enhanced security mode whereby the SSID can be hidden from snoopers. Ok deraadt@
2004-03-18typo;Jason McIntyre
ok grange@
2004-03-17For consistency and to avoid a rare memory leak, the result fromHakan Olsson
ike_auth_get_key() should always be released after use. Found and ok hshoexer@.
2004-03-16Do not signal mountd when just showing mounts. Fixes PR 3695, althoughOtto Moerbeek
mountd may still act on out of date mount info. ok cedric@ millert@ deraadt@
2004-03-16errno is not specified to be int, but something from errno.h. ok millert@Ted Unangst
2004-03-15Properly check succes of chroot().Hans-Joerg Hoexer
ok ho@
2004-03-15Remove unused code.Hans-Joerg Hoexer
ok ho@
2004-03-15cast %llu arguments to unsigned long long, from Max Laier,Daniel Hartmeier
ok henning@ cedric@
2004-03-15some small knfTheo de Raadt
2004-03-14fd and mem leak, most of patch from Patrick LatifiTed Unangst
2004-03-14#include fixes, from Max Laier, ok beck@ henning@Daniel Hartmeier
2004-03-14Check return code of chdir() after chroot(); noted by Joris Vink, slight modOtto Moerbeek
from avsm@. ok avsm@ hshoexer@ henning@
2004-03-11Fix a memleak.Hans-Joerg Hoexer
ok ho@
2004-03-11Fix byte ordering problems with network info read from /etc/gatewaysOtto Moerbeek
or -P and -F options. Based on NetBSD. Resolves PR 3704. ok deraadt@
2004-03-10Fix payload handling flaws found by cloder@. Based on initial patch byHans-Joerg Hoexer
cloder@. Testing by markus@ cloder@ hshoexer@. ok ho@
2004-03-10Actually use SRCS+= so that we don't have a wrapped line.Ryan Thomas McBride
2004-03-10plug 3 memory leaks; 2 from andrushock, 1 by meHenning Brauer
ok pb deraadt
2004-03-10Plug up memory leak.Hans-Joerg Hoexer
ok ho@
2004-03-10Reduce some noise on receipt of an invalid spi.Hans-Joerg Hoexer
ok ho@
2004-03-10Fix for PR2429, from Clemens Wittinger.Hakan Olsson
2004-03-09Plug memleaks, found by cloder@.Hans-Joerg Hoexer
ok ho@
2004-03-08Prevent user from specifying an interface name longer than IFNAMSIZ.Ryan Thomas McBride
ok millert@
2004-03-08Prevent user from specifying an interface name longer than IFNAMSIZ.Ryan Thomas McBride
ok millert@
2004-03-08plug 124 memory leaksHenning Brauer
ok mcbride@ pb@ dhartmei@
2004-03-06from 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@
2004-03-05remove even more gooTheo de Raadt
2004-03-04one missed kbd typeMichael Shalayeff
2004-03-03cleanups, use err(). from Mathias () enloco.net pr3679Ted Unangst
2004-03-03no newline in errx, bad cedric; spotted by teduTheo de Raadt
2004-03-0264-bits datatype fixes for strto(u)l conversions.Thierry Deval
From Daniel Lucq, through and OK by henning@
2004-03-02more pruning; henning okTheo de Raadt
2004-03-02document net.inet.tcp.reasslimitMarkus Friedl
2004-03-02use daemon(3) instead of homebrown gunkHenning Brauer
2004-03-02zap unused and empty functions and some glorious very much needed commentsHenning Brauer
that explain us that "if (foo > 255) { error() } " ensures that foo is not bigger than 255
2004-03-02zap interface flagsHenning Brauer
2004-03-02use arc4random(), markus okHenning Brauer
2004-03-02we deal with one interface at a time, so remove the interface list gunk.Henning Brauer
2004-03-02if our interface vanishes (pcmcia and such), exit.Henning Brauer
fixes PR3648, test & ok pb
2004-03-02remove dummy_interfaces and fallback_interface gunkHenning Brauer
2004-03-02our interface discovery is so quiet now (nonexistant) that we don't need aHenning Brauer
quiet_interface_discovery flag any more
2004-03-02mixing memcpy and bcopy in the same function is highly confusingHenning Brauer
2004-03-02since we're dealing with one interface and not quite a few ones we can giveHenning Brauer
this one onterface as parameter to discove_interfaces and get rid of quite some of the multiple-interface-discover logic
2004-03-02do not record all these interfaces we don't care aboutHenning Brauer
2004-03-02bad openlog call; andrushock@korovino.netTheo de Raadt
2004-03-02oops, committed wrong version. thanks pedro.Ted Unangst
2004-03-01rewrite featuring IP6 support from Pedro Martelletto <pbastos@rdc.puc-rio.br>Ted Unangst
ok deraadt@