summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-02-16place ro data into .rodata and not .text (now that it's handled special. 10x ↵Michael Shalayeff
to dale); espie@ ok
2003-02-16KNFJason Wright
2003-02-16import texinfo 4.8 into the tree.Theo de Raadt
(okay theo, kettenis)
2003-02-16a few missing man pages converted from info documents; work done by jmcTheo de Raadt
2003-02-16fix permitrootlogin forced-commands-only for privsep; bux #387; ok provos@Markus Friedl
2003-02-16Forgot to document -o, somehow.Marc Espie
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-16syncTheo de Raadt
2003-02-16split kex into client and server code, no need to linkMarkus Friedl
server code into the client; ok provos@
2003-02-16typoTheo de Raadt
2003-02-16dhclient-script fits; fix from krwTheo de Raadt
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-16unneeded {}Henning Brauer
2003-02-16throw a syntax error if the portunary operator in varset is no '='Henning Brauer
extif>"whatever" should not be the same as extif="whatever" but a syntax error.
2003-02-16Synch cxxfilt man page with reality and arrange for it to get built andMarc Espie
installed. Noticed by jmc@
2003-02-16Simple fbtab entries for console loginMiod Vallat
2003-02-16cosmeticsHenning Brauer
2003-02-16Fix format string bug. I believe this grep is currently not used (inChad Loder
favor of the GNU version), but it gets fixed anyways. ok mickey@
2003-02-16Correct format string bug introduced in r1.7. ok mickey@Chad Loder
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-16teach people about strlcpy, not strcpyTheo de Raadt
2003-02-16strlcpyTheo de Raadt
2003-02-16Mentions all the layouts from pckbd(4), and warn that br and jp layouts areMiod Vallat
missing some keys at the moment.
2003-02-16RegenMiod Vallat
2003-02-16Although some hppa models, such as the 715, will require specific keyboards,Miod Vallat
some others, like the 712, will run with a regular ps/2 keyboard from your average computer shop, and the hardware will convert the scancodes so that they match the braindead gsc usage. Thus, it makes no point carrying a specific set of keyboard layouts for gsckbd, when in fact it's (almost) the same as for pckbd, with scancodes shuffled. So, add a simple scheme to build gsckbd tables from the pckbd tables. This brings all the international layouts from pckbd, but jp and br have extra keys for which I don't know the scancodes, so the generated gsckbd layouts are incomplete.
2003-02-15Document hilid(4) and hil locators.Miod Vallat
2003-02-15Doh, wsmouse attaches at hilms, not hil...Miod Vallat
2003-02-15A simple and crude driver to play with the hil so-called ``ID module''Miod Vallat
devices. The ID module only purpose is to provide a small, unique, bitstring, which was used for some copy-protection or licensing scheme under HP-UX. Right now this driver is useless, as it provides no way to communicate this information to userland, and only displays it while attaching, as such: hilid0 at hil0 code 2: ID module hilid0: security code 10 04 b4 41 ac 77 14 0f 41 00 00 00 00 00 00 00 hilid1 at hil0 code 3: ID module hilid1: security code 10 04 b4 41 e3 b8 13 0f 41 00 00 00 00 00 00 00 Too bad it's not even good enough to feed the kernel random generator...
2003-02-15Provide a "code" locator for hil devices. This will let people ask theirMiod Vallat
kernels to attach hilkbd0 (console keyboard) or hilms0 (main mouse) to a specific device in the loop, by using UKC or compiling a new kernel. Using this and the previous console changes, it is now possible on a loop with multiple keyboards, to choose which keyboard will be the console keyboard.
2003-02-15Rework the console management on hppa:Miod Vallat
- only attach a keyboard as a console if it matches the PDC keyboard path - on hil, as there can be multiple keyboards on the loop, attach only the first hilkbd device configured as console keyboard. Right now this means the one with the lowest hil code, which was the existing behaviour so far. - do not try to switch to the wscons consdev structure early at all in wscons_machdep, but rather wait for the console to be completely configured (i.e. both wskbd and wsdisplay are attached) to switch. With feedback and help from mickey@
2003-02-15kill the remaining typedefs (These are about the last trace of InvertexJason Wright
save for the copyright message).
2003-02-15- Better type usage in the various hil code: prefer u_int8_t to u_char, butMiod Vallat
do not stick to u_int8_t when native word size can do the job better. - Allow send_hildev_cmd() to return the command response buffer to its caller, rather than forcing it to look at the guts of its parent device softc... this will be needed shortly.
2003-02-15skeleton support for LZS compressionJason Wright
2003-02-15After relocation is completed, remove write protection from GOT/PLT in ld.so.Dale Rahn
2003-02-15Paranoia about mprotect, mprotect page aligned regions for got and plt.Dale Rahn
2003-02-15No more traces of the word in the hppa notes.Miod Vallat
Until upgrades are available. Oops, I said it!
2003-02-15Put back upgrade texts.Miod Vallat
2003-02-15Make bsd.rd an install/upgrade set.Kenneth R Westerback
Suggestion by Nick Holland out of comments by deraadt@ and miod@. ok deraadt@ millert@
2003-02-15Disable sti1, yes, but correctly...Miod Vallat
2003-02-15s/LSZ/LZS (consistent with linux and isakmpd *.cst)Jason Wright
2003-02-15CRD_F_COMP isn't so special that it needs 4 bits for a binary flagJason Wright
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-15Increase xfer rates buffer from 8 to 12 bytes. This allows 802.11gTodd C. Miller
stations such as the airport extreme to associate. Tested by Ben Lovett.
2003-02-15quick explanation of autoconf changes.Marc Espie
2003-02-15rip_output: make sure a full ip header is passed for INP_HDRINCL; ok deraadt@Markus Friedl
2003-02-15and the copyright goes here tooTheo de Raadt
2003-02-15bye byeTheo de Raadt
2003-02-15Now that we are 3.3-beta re-enable upgrade on sparc. ok deraadt@.Kenneth R Westerback
Remove another dated comment about 3.1 to 3.2 upgrade.
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