summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2003-02-04add old nslookup(1) manpage, needs more workJakob Schlyter
2003-02-04enable bind now; some diffs from jakob, some from meTheo de Raadt
2003-02-03typos;Jason McIntyre
ipsecadm(8): examples ho@ help and ok markus@
2003-02-03remove sparc64 workaround, fixed in latest propolice patchesJakob Schlyter
2003-02-03typos and minor KNF; from andrushock, thanks!Henning Brauer
2003-02-02adjust after pfctl change; parse_rules doesn't take opts seperately any moreHenning Brauer
2003-02-02We don't need to include bsd.man.mk explicitly, bsd.lib.mk pullsTodd C. Miller
it in if it is needed. We do need a fake maninstall target ifdef NOMAN though. This prevents dhcp-options.5 from being installed if NOMAN is set.
2003-02-02I've been guaranteed that guaranteed is better than guarenteed.Miod Vallat
2003-02-01typos;Jason McIntyre
chat(8): removed reference to uucico(8) ok deraadt@
2003-01-31typos;Jason McIntyre
eeprom(8): added .Ar to fields, removed references to sun3 sshd(8): help and ok markus@ help and ok millert@
2003-01-30when an interface is no longer valid, remove it from the protocol listTed Unangst
ok deraadt@ millert@
2003-01-29typos;Jason McIntyre
many tweaks by millert@ (thanks) thanks mpech@ for help with adduser(8) ok millert@