summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-12-14Set initial session limit so that IMSG_SMTP_ENQUEUE can be satisfied evenJacek Masiulaniec
in absence of all other real listening sockets. Spotted by todd@
2009-12-14could write one word too far, found by parfait; ok millertTheo de Raadt
2009-12-14wrote one byte too far, found by parfait; ok beck millertTheo de Raadt
2009-12-14Control maximum number of bounce sessions similarly to how the mta and mdaJacek Masiulaniec
are now controlled.
2009-12-14Clear S_MESSAGE_PERMFAILURE when creating the bounce message. Makes theJacek Masiulaniec
bounce mails visible in mailq output.
2009-12-14since some packages in updatesets don't need updates, be explicit about it.Marc Espie
This is more complex and simpler at the same time...
2009-12-14addr2sa() will return NULL for AID_UNSPEC and pfkey_send() may end up withClaudio Jeker
one of the src/dst addrs as AID_UNSPEC. So we need to check for NULL before copying. Fixes a crash seen with tcp-md5 enabled peers.
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.