summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-12-14Impose sessions limit on the delivery sessions (mta and mda).Jacek Masiulaniec
2009-12-14Fix buffer overflow possibility, noticed by parfait:Bob Beck
Buffer overflow (CWE 120): In memcpy of msg.msg with length 'size' Array size is 2048 bytes, size <= 2080 at line 317 of /usr/src/usr.sbin/afs/src/arlad/nnpfs.c in function 'nnpf s_send_message_wakeup_data'. tesing by todd@ and jj@ and me
2009-12-14when removing sets, remove cant markers as wellMarc Espie
2009-12-14Do non-blocking I/O when delivering locally over a pipe.Jacek Masiulaniec
2009-12-14combined updates show the packages that can't be updatedMarc Espie
2009-12-14fuss about install msgs: new method state->ntogo, use it to annotate moreMarc Espie
messages with global progress information. Also, when not finding a suitable update, report it if set is not a simple update. Helps in figuring out cases like gstreamer...
2009-12-14off by one the other way roundMarc Espie
2009-12-14temporary fix for kept packages until we move them awayMarc Espie
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
possibility for fd-starvation fatal when under heavy load.
2009-12-13typoJacek Masiulaniec
2009-12-13repair typeTheo de Raadt
2009-12-13okay, so old libs are not 'kept', keep track of updates correctly insteadMarc Espie
2009-12-13clean up code, no functional changeMarc Espie
2009-12-13simplify set printingMarc Espie
2009-12-13copy correctly sized object, found by parfait; ok jsgTheo de Raadt
2009-12-13force gzip to write package even if things don't compress.Marc Espie
2009-12-12update will ask about conflicts, so we need that in updateinfo...Marc Espie
2009-12-12autovivifiedMarc Espie
2009-12-12fix the fam->libgamin issue. Look for update candidates in self beforeMarc Espie
asking the repository. This solves this kind of conflicts. also, register packages we keep, this makes for simpler scenarios (todo: split updateset into further categories)
2009-12-12have pkg_add recheck there are no internal conflicts in an updateset.Marc Espie
provides a different failure for the fam/gamin update (better one actually, since we go further...)
2009-12-12When acting as a client do content reads from the disk progressivelyJacek Masiulaniec
as the remote accepts more data instead of doing one big read into the memory in the beginning of session.
2009-12-12remove *everything* from to_update, including hintsMarc Espie
2009-12-12Simplify client_* api, mainly by making fatal conditions result in immediateJacek Masiulaniec
fatals instead of passing the error up (kills ~300 lines). Implement sending of the QUIT command which replaces crude close(2). tested by gilles@, todd@
2009-12-12Don't qualify empty sender address with the domain, eg. in sendmail -f "<>".Jacek Masiulaniec
2009-12-12tie conflict lists to packing lists and use themMarc Espie
2009-12-12do the same dance with older packages: build before list, and use it whenMarc Espie
deleting.
2009-12-11plug memory leak; found by parfait, ok beckTheo de Raadt
2009-12-11two memory leaks; spotted by parfait; ok beckTheo de Raadt
2009-12-11incorrect array size calculation, spotted by parfait; ok beckTheo de Raadt
2009-12-11record internal updateset dependencies for new packages, and respect themMarc Espie
while installing (need doing something similar for old packages)
2009-12-11NSIG is 1 beyond the last signal, so <= is an incorrect check.Theo de Raadt
found by parfait, ok guenther
2009-12-11Buffer overflow when padding the password buffer to a 16 byte boundary.Owain Ainsworth
found by parfait. Miod again pointed out my mistakes (ppp obviously doesn't sit well with me). ok miod@
2009-12-11Fix two identical buffer overruns.Owain Ainsworth
found by parfait, my stupid mistake pointed out by miod, who also oked this.
2009-12-11More changes to avoid truncating 64 bit pointers to 32 bits and sign-extendingMiod Vallat
them; allows userland with stack beyond 2GB to run.
2009-12-10Now that the old SysV SHM size limits global variables are gone, removeMark Kettenis
support for setting them from config(8).
2009-12-10Length of the host address in the FEC TLV must be encoded in numberMichele Marchetto
of octets. ok claudio@
2009-12-10Fix a case when 2yz status would not override existing 4yz one.Jacek Masiulaniec
Reported by jsing@
2009-12-10Fix few read overruns found by parfait.Jacek Masiulaniec
Nudge by deraadt@
2009-12-10plug memory leak, spotted by parfait; ok krwTheo de Raadt
2009-12-09parsecommunity() always works on a struct filter_community. So pass aClaudio Jeker
pointer to the struct instead of two int pointers.
2009-12-09Enable parsing of the optional Transport Address TLV in the helloMichele Marchetto
message. ok claudio@
2009-12-09parsecommunity() does not allow to set unknown well-known communities.Claudio Jeker
So there is no need to check that again. Switch a USHRT_MAX to COMMUNITY_WELLKNOWN to make the compare clearer, the values are the same.
2009-12-08Fix overflow bug found by Holger Mikolon, thanks.Dale Rahn
committed slightly different fix.
2009-12-08Must byte-swap extended community data before printing since it is inClaudio Jeker
network byte order. Found and tested by Pete Vickers.
2009-12-08porcesses -> processesJonathan Gray
2009-12-08Split out some code into own function to make the code a bit nicer.Claudio Jeker
OK henning@ upon his request
2009-12-08Big AID change part 2 bgpctl part. Cope with the changes in bgpd, more toClaudio Jeker
follow. OK henning
2009-12-08Big AID change part two. This changes the mp capability into an array ofClaudio Jeker
flags. This makes a lot of code much easier since the comparison is now trivial. Additionally calculate the negotiated capabilities for a session in the SE and pass that and only that to the RDE. This makes the decisions in the RDE a lot easier. OK henning@
2009-12-07Avoid dereferencing a null pointer when logging a DNS lookup failure.Joel Sing
ok gilles@
2009-12-07don't use $set->print, consistent messages.Marc Espie