summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2013-05-18gabage->garbage in log string;Jason McIntyre
from Henning Petersen, netbsd pr 47823
2013-05-16poll(2) might have slept for an arbitrary amount of time. We shouldGerhard Roth
update 'cur_time' after poll(2) returns. ok otto
2013-05-15If execing an /etc/apm/* program fails, log the failure and error message.Philip Guenther
ok tedu@ kettenis@
2013-05-15update to 1.2.9; several bugfixes and security fix for CVE-2013-2070Robert Nagy
2013-05-14Don't bother printing vm_swrss of a process, the current uvm accountingMiod Vallat
logic never sets this value.
2013-05-13specialfiles ARE file while destated, so they set lastfile, which isMarc Espie
useful for size and digest. BUT samples should never alias specialfiles, so error out right away.
2013-05-11change mrt rib dump ReopenTimerInterval from time_t to int. IntervallsSebastian Benoit
don't need to scale to 64 bits in this universe. ok claudio@ & florian@
2013-05-09Simplify code, no binary change.Claudio Jeker
2013-05-08fix previous;Jason McIntyre
2013-05-08To enable smtpd you should comment a crontab entry tooGiovanni Bechis
ok gilles@
2013-05-08Replace use of strncpy with memcpy. Previous code used strncpy on dataBrad Smith
that is not null-terminated. From Stephane A. Sezer ok bluhm@
2013-05-08Reduce size of some unused arrays.Brad Smith
From Stephane A. Sezer ok bluhm@
2013-05-08Minor style cleanups.Brad Smith
From Stephane A. Sezer ok bluhm@
2013-05-08Fix a comparison when building a packet with DNS search lists.Brad Smith
From Stephane A. Sezer ok bluhm@
2013-05-08Correctly compute packet size when including DNS search lists.Brad Smith
From Stephane A. Sezer ok bluhm@
2013-05-08tweak hvmd_init_guest() to check if everything was OK in md_read(),Gleydson Soares
otherwise print out an error string and exit. OK jasper@ kettenis@
2013-05-07- Add a simple check to prevent that the client-provided hex HTTP chunk sizeReyk Floeter
turns our signed input variable into a negative number. This prevents that a chunked HTTP connection could break its own state machine and turn into a stalled state. The bug doesn't harm other connections or relayd itself. - Use a 64bit variable to allow theoretical large chunks. - Fix a comment. ok tedu@
2013-05-07alloc the size of the struct not the size of a pointer to itJonathan Gray
ok reyk@
2013-05-07fix some leaks in error pathsJonathan Gray
ok claudio@
2013-05-07getpwnam doesnt set errno on failure, so use errx, not err, to say itDavid Gwynne
failed.
2013-05-05typo in log message. ok sthen@Darren Tucker
2013-05-04Add crypto.c to provide smtpd with a way to encrypt envelopes and messagesGilles Chehade
using aes-256-gcm before they hit the queue. not "plugged" yet. lots of comments from mikeb, tedu and djm.
2013-05-04fix a use after freeJonathan Gray
ok sthen@ jung@ fgsch@
2013-04-30point people at pkg_checkMarc Espie
ok jmc@
2013-04-30- replace TIMEVAL_* function/macros with macros from sys/time.hFlorian Obser
- replace insque(3) with SLIST from queue(3) - with that, rewrite rtadvd_check_timer() logic to avoid timeval {0x7fffffff, 0x7fffffff} test/ok sthen@
2013-04-30move variables to type time_t; fix format stringsFlorian Obser
test/ok sthen@
2013-04-30remove params after API change.Eric Faurot
2013-04-30Remove unused function argument variables 'len' and 'auth' fromMarcus Glocker
ntp_sendmsg(). They have been removed from the function body in the past but not from the argument list. From Maxime Villard
2013-04-30ignore SIGPIPE so we don't fall over if an ldap connection breaksJonathan Matthew
ok dlg@
2013-04-29add -h to usage();Jason McIntyre
2013-04-29implement -h from libexec/identd, which hides usernames/uids.David Gwynne
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
ok otto
2013-04-27time_t 64bit fixes for relayd and relayctl:Sebastian Benoit
- fix statistics - set INT_MAX limit on session timeouts - make sure we dont use to large session timeouts in pf redirects and openssl tested with old and new time_t ok florian@
2013-04-26fix typo in comment; OK yasuoka@Gleydson Soares
2013-04-24pretty-print bigger ino_t variablesTheo de Raadt
2013-04-24kill srandom(); ok claudioTheo de Raadt
2013-04-23support src/libexec/identd's -e option in src/usr.sbin/identd, ok dlg@Stuart Henderson
2013-04-23handle large ino_tTheo de Raadt
2013-04-23handle large ino_tTheo de Raadt
2013-04-23sizeof(&foo) isnt as good as sizeof(foo).David Gwynne
found by sthen@
2013-04-23use stat to see if ~/.noident is there to avoid reimplementing a securityDavid Gwynne
issue from 1988 when using open. pointed out by deraadt@
2013-04-23i copied too much from the tftpd manpage. identd doesnt take a directoryDavid Gwynne
argument.
2013-04-23fix usage to reflect the currently accepted getopt things.David Gwynne
2013-04-23i forgot to add -n and -N to the synopsisDavid Gwynne
2013-04-23remove support for specifying which port you want to run on. there's noDavid Gwynne
point. well argued by deraadt@
2013-04-23add support for returning uids instead of usernames via -n, like libexecDavid Gwynne
identd.
2013-04-23add support for -N as per libexec/identd. this lets users putDavid Gwynne
.noident in their homedir to have this identd return HIDDEN-USER instead of their username.
2013-04-22prepare for more time bits; ok millert@ deraadt@Otto Moerbeek
2013-04-22When sync'ing, look for lease by hwaddr and then ipaddr. Not hwaddrKenneth R Westerback
twice. Simplify logic. Fixes loops while sync'ing for sthen@. Spotted by & fixed tested by sthen@.
2013-04-22handle ENOBUFS on the SEQPACKET socketpair between the child and the parentDavid Gwynne
procs. if this happens it would mean the parent has a backlog of work cos of slow username resolutions. in that situation the child should tell the client theres an error, but not die. this factors out a bit of code to handle generating errors for the client and closing the socket. reviewed by jmatthew@