summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-28Try 10 times to obtain the routing table via sysctl(), and if itKenneth R Westerback
can't be done just abandon attempt to clean up the routing and arp tables and carry on. Code adapted from itojun's route6d.c. May address problem reported on misc@ by Marc Peters. Best we can do for now. ok claudio@
2013-02-28sets size updates; ok deraadt@Miod Vallat
2013-02-27Avoid alignment errors when processing routing messages by readingKenneth R Westerback
the messages into dynamically allocated memory rather than a char array on the stack. Revealed by armish bus error when installing latest snap. ok deraadt@
2013-02-26Some firmware revisions provide a factory-default configuration that containsMark Kettenis
duplication arcs in the hvmd. Add a workaround for this problem. ok deraadt@
2013-02-26Encoding conversion buffer size is one stream block, not one deviceAlexandre Ratchov
block. Fix crashes occuring when the client sample frequency is much larger than the device sample frequency. Found by Alexander Polakov, thanks. ok deraadt@
2013-02-26Don't try to purge one-time rules from the main ruleset.Mike Belopuhov
Reported by Wesley M.A. on misc@, ok deraadt
2013-02-26Reserve space for source and destination addresses unconditionally ratherStuart Henderson
than checking if they're zero - export_address() is always called for these. Fixes memory corruption when doing ipsecctl -ssa with md5sig. Debugging hints from deraadt@, ok kettenis@ deraadt@
2013-02-25trunk_bcast_start sent packets on all its member interfaces by copyingDavid Gwynne
the mbuf it just sent on the previous interface. this is bad because the previous interface could have modified the mbuf chain, which can make the subsequent m_copym()s panic. this copies the dance that rtsock.c does for broadcasting mbufs which copies the mbuf before transmit, except for the last interface which it handles outside the loop. tested by halex@ who verified it fixes his panic. ok claudio@ deraadt@
2013-02-25The rule of thumb for `your system runs an old PDC' left out PCXS systems.Miod Vallat
Change it to `all 7xx systems, but 712 and 2nd generation 715, run old PDC'.
2013-02-25Realistic memory amounts required for the installation (although, afterMiod Vallat
installation, the kernel may need less than this). Stress that there is no much point running with less than 32MB nowadays (unless you love being swap-bound).
2013-02-25Yeeloong can suspend nowadays.Miod Vallat
2013-02-25Many installation media gained timezone information since the last update...Miod Vallat
2013-02-25Mention where to download an ECU floppy image and when/how to use it, forMiod Vallat
people curs^Wblessed with EISA-capable alpha systems.
2013-02-25sets size updatesMiod Vallat
2013-02-24use dma memory for bl_pagesStefan Fritsch
This fixes a panic "Non dma-reachable buffer..." on amd64. While there, fix bus_dmamap_sync() offsets. OK: deraadt@, jsing@
2013-02-24Remove some anachronisms and use consistant form and markup forKenneth R Westerback
"/var/db/dhclient.leases.<IFNAME>". Tweak and ok jmc@
2013-02-24Don't log a complaint that a non-existant default route could not beKenneth R Westerback
deleted. Be happy that the goal of no default route has been achieved. Part of the cleaning up the logs prodding by deraadt@. ok guenther@. error in first version pointed out by sthen@.
2013-02-24When no acceptable offers are received within the allowed timeframe callKenneth R Westerback
state_panic() instead of state_init(). state_init() immediately issues a new DISCOVER message and neither checks dhclient.leases.IF nor daemonizes. state_panic() looks for a lease in dhclient.leases.IF, and if none are available, waits for 'retry' seconds before retarting the DISCOVER process. Most importantly it calls go_daemon() to take the process into the background, giving back the command prompt. Reported by otto@ and deraadt@. ok deraadt@.
2013-02-23'contructed' -> 'constructed'. Spotted by zinke@.Kenneth R Westerback
2013-02-23Attempt a short explanation of the resolv.conf dance. A few otherKenneth R Westerback
verbiage adjustments. Fixes from & ok jmc@.
2013-02-22Attempt a short explanation of what happens on start up and whenKenneth R Westerback
external configuration occurs on a interface with an associated dhclient. Also add INT to SIGNALS section and alphabetize the list of signals. Tweaks from & ok jmc@.
2013-02-22Allow IdenityFile=none; ok markus deraadt (and dtucker for an earlierDamien Miller
version)
2013-02-22support ProxyCommand=- (stdin/out already point to the proxy); ok djm@Markus Friedl
2013-02-22Document signals dhclient currently pays attention to.Kenneth R Westerback
Much help from jmc@, positive feedback from sthen@
2013-02-22Don't complain if IdentityFiles specified in system-wide configs are missing.Darren Tucker
ok djm, deraadt.
2013-02-22bring back 5718/5719/5720 support again. deraadt pointed out thatDavid Gwynne
the problems i had on the xserve g5 are mostly likely specific to that machine and im inclined to agree. we're going to see a lot more machines with the new chips than people with xserve g5s. this also includes fixes for ip checksum handling compared to the code i put in before. tested by various people again. sthen@ and claudio@ have agreed to babysit this. they can back it out if im not around. ok deraadt@
2013-02-21Fix a potential crash when connecting to a misbehaving smtp server.Eric Faurot
If a smtp session got bogus data from a remote server and has just issued an internal query, then defer the deletion of that session until it gets the reply. ok gilles@ deraadt@
2013-02-21go to releaseTheo de Raadt
2013-02-21do not send disconnect event to the mfa if connect event was not sent.Eric Faurot
ok gilles@
2013-02-21Use imsg_flush() to force delivery of IMSG_DELETE_ADDRESS toKenneth R Westerback
privileged process. This ensures a quicker exit of any previous copy of dhclient. Prodded by deraadt@
2013-02-20Nuke unused imsg_resolv_conf struct and declaration for non-existant ↵Kenneth R Westerback
function priv_resolv_conf().
2013-02-20s/Id/OpenBSD/ in RCS tagDamien Miller
2013-02-20Add an option to modpipe that warns if the modification offset it notDamien Miller
reached in it's stream and turn it on for t-integrity. This should catch cases where the session is not fuzzed for being too short (cf. my last "oops" commit)
2013-02-20Increase maximum text and data size limits, and double the default data sizeMiod Vallat
limit. This allows c++ memory hogs, such as pcre's pcrecpp_unittest.cc, to compile on m88k.
2013-02-19Cancel any outstanding protocol timeout when a link goes away. WhenKenneth R Westerback
the link comes back we will start from scratch with DISCOVER. Stops pointless attempts to issue packets over a disconnected interface. Noticed by deraadt@
2013-02-19Make it clear that the default implicit 'pass' rule does not create state,Stuart Henderson
make sense to deraadt@, ok/wording tweak from mikeb.
2013-02-19Introduce a new cmmu method to return the preferred cache mode bits for theMiod Vallat
kernel APR. Return write-back for every design but those involving 88410, where write through is returned. Apparently the use of writeback on single-processor kernels using 88410 (197SP, 197DP) has only been working by fat chance, and the last two years of uvm changes, as well as the switch to ELF (causing kernel rodata to move `up') exposes silent memory corruption on (88410-size) aliased addresses. (I am guilty of not using my 197DP board much after making 197LE write-back capable, as 197LE turned out to be faster and more stable, for I would have noticed this earlier). Further thought needs to happen about this. It might be possible to switch to writeback by default again as long as bus_dma maps things write-through on 88410 designs, and perhaps with a part of the kernel mapped with a write-through BATC, since BATC have precedence upon page tables. Right now I'm trying to get a stable release out of the door.
2013-02-19Introduce `option M88410', to be added to 88110 system designs making use of theMiod Vallat
#$%&#@! MC88410 chip. This will allow design-agonstic m88k-specific code to be able to tell pure 88110 kernels apart from possible 88110+88410 ones.
2013-02-19Revert rev 1.195 forcing Intel SATA controllers in compat mode into AHCI mode.Brad Smith
This does not work and causes systems to come up without seeing any hard disk(s). The Intel documentation states that the OS should not be trying to do this, only the BIOS. ok dlg@
2013-02-19When opening a /dev/ldom-* device node fails, show its path in the errorStefan Sperling
message. Tweak error message wording while here for consistency. tweaks and ok kettenis@
2013-02-19Remove m68k optimizer workaround.Brad Smith
ok miod@
2013-02-19Add a STANDARDS section to list RFC's related to the FTP protocolLawrence Teo
(matches the STANDARDS section on the ftpd(8) man page); suggested by jmc@ in a discussion about this man page with Sebastian Rother and myself. ok jmc phessler
2013-02-19oops, forgot to increase the output of the ssh command to ensure thatDamien Miller
we actually reach $offset
2013-02-19Remove bogus include. ok djmDarren Tucker
2013-02-19Add missing trailing slash on the :S modifier in the BUGS section.William Yodlowsky
ok espie
2013-02-18set the wireless interface priority and interfaces to the wlan groupJonathan Gray
for the remaining pre 802.11b wireless drivers. ok krw@ phessler@
2013-02-18crank the offset yet again; it was still fuzzing KEX one of Darren'sDamien Miller
portable test hosts at 2800
2013-02-18Report unlink() errors unless ENOENT; especially useful in case of read-onlyMiod Vallat
filesystems to get a useful error message than `File exists'. ok guenther@ todd@ beck@ phessler@ mpi@ gievanni@ deraadt@
2013-02-18Don't delete permanent arp cache entries when clearing the arpKenneth R Westerback
cache. Issue pointed out by Don Nasco. Deemed the correct thing to do by sthne@, phessler@ and chris@.
2013-02-18Fix determination of endianness with *BSD OS's.Brad Smith
ok sthen@