summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2003-02-21remove bind4; ok deraadt@Jakob Schlyter
2003-02-21remove bad xref to dnssec-keygen(8)Jakob Schlyter
2003-02-20add printing of ipcomp, and while in the neighborhood, make ah/esp actuallyJason Wright
check the length of the data
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
The at(1) code is now more tightly integrated into the cron codebase.
2003-02-20If there is no cron.allow or cron.deny file, only the superuser may runTodd C. Miller
the crontab command; for POSIX compliance. Create an empty cron.deny file to allow any user to run crontab: install -c -o root -g crontab -m 660 /dev/null /var/cron/cron.deny
2003-02-20cron.{allow,deny}, not at.{allow,deny}; noticed by Dries SchellekensTodd C. Miller
2003-02-19Mention that /etc/crontab must be mode 0600 if it exists.Todd C. Miller
2003-02-19Move contents of /var/at into /var/cron since at is now intergrated intoTodd C. Miller
cron. When ISC cron 5.0 is out the integration will be even tighter. Also rename /var/cron/{allow,deny} -> /var/cron/cron.{allow,deny} for consistency with POSIX and at.{allow,deny} and install an empty cron.deny file (as we do at.deny) since crontab will require this in the near future for POSIX compliance. After a "make build" you can update your system as follows: # mv /var/at/* /var/cron # mv /var/cron/jobs /var/cron/atjobs # mv /var/cron.allow /var/cron/cron.allow # mv /var/cron.deny /var/cron/cron.deny # rm -rf /var/at # kill `cat /var/run/cron.pid` ; cron
2003-02-19style; David KrauseJakob Schlyter
2003-02-19copyrights added;Jason McIntyre
these are all Matthias Drochner, except: gsckbd(4): miod@ + Drochner wsdisplay(4): Harris + Drochner
2003-02-19sync to pfctl; BAD HENNING BAD BAD BAD NO COOKIETheo de Raadt
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2003-02-18sync manpage with actual implementation; david krause and myselfJakob Schlyter
2003-02-18copyrights added;Jason McIntyre
*installboot*: all Paul Kranenburg pppctl(8): Brian Somers rpc.bootparamd(8): public domain
2003-02-18copyrights added;Jason McIntyre
bootpef(8), pppd(8): Carnegie Mellon map-mbone(8), mrinfo(8): Xerox pdisk(8): Apple awk(1): Lucent sectok(3): University of Michigan
2003-02-18copyrights added;Jason McIntyre
these are all Regents of the University of California
2003-02-18correct a typo from earlier todayTodd C. Miller
2003-02-18Use the SUN_LEN macro to set sun_len correctlyTodd C. Miller
2003-02-17Add a -n flag and version string; from vixieTodd C. Miller
2003-02-17copyrights added;Jason McIntyre
des_crypt(3): Eric Young aac(4): Michael Smith, BSDi, Niklas Hallqvist; ok niklas@ bktr(4): Amancio Hasty, Roger Hardiman getopt(1): Henry Spencer (public domain) pcnfds(8): Sun
2003-02-17typos;Jason McIntyre
2003-02-17Add hyphens to boundary ID to make it not pure base64. This means thatChad Loder
the boundary could never ever be accidentally matched inside base64 data. Based on conversation with markus@, deraadt@, henning@. OK deraadt@, henning@
2003-02-16Don't leak the inode numbers of served files via theChad Loder
ETag (entity tag) header value. Instead of including the file modification date, inode, file size, etc. directly in the ETag header, return a SHA1 hash of these values instead. This SHA1 hash is initialized with a pseudorandom secret, so that it's harder to brute force inode numbers. This initialization secret is saved in a file called "etag-state" in the httpd chroot logs/ directory, so that the ETag header values are consistent across httpd restarts (if the secret were different each time httpd started, ETags would change unnecessarily and thereby cause caches to refresh unnecessarily). An additional change is introduced: we add the dev number to the hash when (and only when) we add the inode number to the hash. Before: HTTP/1.1 200 OK Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7-beta3 ETag: "b10d3-1e59-3e49cbe4" In this case, we can tell the inode number of index.html is is b10d3 hex. After: HTTP/1.1 200 OK Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7-beta3 ETag: "3f3b3cb2ce2e278087960b3be6a6e9844166e371" Idea and solution by deraadt@. OK deraadt@, henning@. Any bugs are my fault :)
2003-02-16My last commit uses base64 for the multipart MIME boundary id. SinceChad Loder
the base64 alphabet includes the characters '/', '+', and '=', it may violate section 4 of RFC 1341, which says that these kinds of characters must be quoted in order to be used as a header parameter. Pointed out by Wouter Clarie (rimshot AT pandora DOT be). My solution is not to quote the parameter (I'm afraid that will break simple browsers) but to replace special characters with alphabetic characters so that the resulting string is entirely alphanumeric. We don't want to use hex here, the alphabet is too small. "not too ugly for me" deraadt@, "a bit ugly but good enough" henning@, "that might be better than quoting" wouter
2003-02-16strlcpyTheo de Raadt
2003-02-15Don't leak httpd child PIDs via multipart MIME boundary separators.Chad Loder
Instead, generate a random MIME boundary separator that is also much longer, which makes it less likely to occur in the data. Before: HTTP/1.1 206 Partial Content Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7-beta3 Content-Type: multipart/byteranges; boundary=3e4e7d648e6 where the first 6 hex digits of the boundary is the request time and the last 4 hex digits of the boundary (48e6) is the PID of the httpd process that served the request. After: HTTP/1.1 206 Partial Content Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7-beta3 Content-Type: multipart/byteranges; boundary=lqmQDSxeaFSosnx+R46M94slY7G5BKGVPIhCc4ffoW852Vz0RbOaLJfMCAHHTfvR The boundary now consists of 48 pseudorandom bytes encoded into 64 base64 characters. This is in accordance with RFC 1341 section 7.2.1. Based on conversations with deraadt@. OK deraadt@
2003-02-15and the copyright goes here tooTheo de Raadt
2003-02-15bye byeTheo de Raadt
2003-02-15oops; i forgot to delete the block he said i could deleteTheo de Raadt
2003-02-15copyright blob from geoff.arnold@sun.comTheo de Raadt
2003-02-14typos;Jason McIntyre
tftpd(8): tweak and ok millert@ tokenadm(8): tweak and ok millert@
2003-02-13We have /bsd, not /kernel. Talked over with drahn@ some time ago.Todd C. Miller
2003-02-13Fix loop invariants in rmremote(). Reported by Arne Woerner in PRTodd C. Miller
3084; different fix used. Hopefully this makes the code in question easier to read. deraadt@ henric@ OK
2003-02-13typos;Jason McIntyre
setextattr(8): example markus@ spamd(8): someone else found some of these on bugs/misc, but for the life of me i can't find out who pf.conf(5): from openbsd@davidkrause.com raidctl(8): from ian@darwinsys.com
2003-02-13This files are not used anymore since librpcsvc is fixed. -mojMats O Jansson
2003-02-13This fixes the problem with ypxfr switching key and value on map transfer.Mats O Jansson
This will make librpcsvc follow the real protocol and not the incorrect specification in yp.x. The changes in yp.x is from FreeBSD. A make build is the simplest way to get things working but the following five step is an alternative 1) make depend && make && make install in lib/librpcsvc 2) make includes in lib/librpcsvc 3) make depend && make && make install in lib/libc 4) make depend && make && make install in usr.sbin/ypserv/ypserv 5) make depend && make && make install in usr.sbin/ypserv/ypxfr -moj ok niklas@ ho@
2003-02-11adjust after pfctl changesHenning Brauer
2003-02-11More -G/-U deletion + style(9) while millert@ is here.Mike Pechkin
Make sence. millert@ ok
2003-02-11Show DF on IP fragmentsCedric Berger
ok henric@
2003-02-11typos;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
2003-02-11Fix bug 3088 in a different way. Reported by bob at cemetery dot homeunixMats O Jansson
dot org. -moj ok deraadt@
2003-02-10indentTheo de Raadt
2003-02-10jakob promised bind9 would not break the tree. But noooo... another damnTheo de Raadt
workaround in the tree
2003-02-09typos;Jason McIntyre
2003-02-08Make the -u and -g options more like the -U and -G options. My intentionTodd C. Miller
was to avoid needless incompatibilities with NetBSD's command line options but this ended up causing too much confusion on the part of the user. The -u option now also sets the group and group vector based on passwd(5) and group(5) unless an alternate group list is specified via the -g option. The -U and -G options have been removed. The resulting code is much simpler and the behavior of chroot(8) seems to better match users' expectations; OK deraadt@
2003-02-08typo; krauseHenning Brauer
2003-02-07typos;Jason McIntyre
2003-02-05typos; isakmpd(8) ok niklas@, mailwrapper(8) help kjell@Jason McIntyre
2003-02-04pay attention, jakobTheo de Raadt
2003-02-04ISC BIND version 9.3.0. ok deraadt@Jakob Schlyter