summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-09Try additional addresses when connecting to a port forward destinationDamien Miller
whose DNS name resolves to more than one address. The previous behaviour was to try the first address and give up. Reported by stig AT venaas.com in bz#343 great feedback and ok markus@
2008-05-09should check for null pointers; from henning@Markus Friedl
2008-05-09IP_RECVDSTPORT, allows you to get the destination port of UDP datagramsMarkus Friedl
for pf(4) diverted packets; based on patch by Scot Loach; ok beck@
2008-05-09Add SO_BINDANY socket option from BSD/OS.Markus Friedl
The option allows a socket to be bound to addresses which are not local to the machine. In order to receive packets for these addresses SO_BINDANY needs to be combined with matching outgoing pf(4) divert rules, see pf.conf(5). ok beck@
2008-05-09divert packets to local socket without modifying the ip header;Markus Friedl
makes transparent proxies much easier; ok beck@, feedback claudio@
2008-05-09syncTheo de Raadt
2008-05-09import tcpbench, a small TCP benchmarking tool that can also sampleDamien Miller
relevant kernel variables via kvm(3) ok dlg@ deraadt@
2008-05-09A little bit of magic to make arp lookups work in MPLS as they should.Claudio Jeker
No need to preload the arp table anymore. hai norby@
2008-05-09Oops. When detaching tape drives look for devices using 'stopen' notKenneth R Westerback
devices using 'sdopen'. PR#5810 from Jozef Hatala. ok beck@
2008-05-08regenMark Kettenis
2008-05-08Add the Freescale vendor ID and some devices from the MPC8349E family.Mark Kettenis
2008-05-08add missing header for exitCharles Longeau
ok damien@
2008-05-08retire vn_default_error() and replace all instancesThordur I. Bjornsson
with eopnotsupp() instead; ok blambert@
2008-05-08Due to the recent changes, it is no longer necessary to disable -fregmoveMiod Vallat
anymore.
2008-05-08Retire types(5) man page. It was hopelessly out of date and neverTodd C. Miller
provided any information not present in the actual man pager. Now that types are also present in inttypes.h and stdint.h this file is even less relevant. OK deraadt@ miod@
2008-05-08documentation tweaks.Igor Sobrado
2008-05-08do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok kjc@
2008-05-08regenMiod Vallat
2008-05-08Add support for yet another exotic Microsoft Mouse, this time theMiod Vallat
``Microsoft Notebook Optical Mouse 3000 Model 1049''. From FreeBSD.
2008-05-08This one was not supposed to go in. Revert.Xavier Santolaria
2008-05-08Sync supported machines list.Xavier Santolaria
2008-05-08Insert pad blocks after sub-messages to keep the structures aligned toTheo de Raadt
16 byte boundaries for maximum portability (somewhat similar to CMSG's) ok beck
2008-05-08KNFJoel Sing
2008-05-08Fix alignment - sizeof(long) does not always match the address size of theJoel Sing
ELF image being loaded. ok miod@
2008-05-08Add support for Microsoft Wireless Intellimouse, from FreeBSD. Not only doesMiod Vallat
this device bends the uhid specs backwards, it is also completely unusable for left-handed people due to its shape. Tested on actual hardware thanks to a donation from Maxim Belooussov.
2008-05-08sort SEE ALSO;Jason McIntyre
2008-05-08backout shit committed on accidentHenning Brauer
2008-05-08Use new channel status confirmation callback system to properly dealDamien Miller
with "important" channel requests that fail, in particular command exec, shell and subsystem requests. Previously we would optimistically assume that the requests would always succeed, which could cause hangs if they did not (e.g. when the server runs out of fds) or were unimplemented by the server (bz #1384) Also, properly report failing multiplex channel requests via the mux client stderr (subject to LogLevel in the mux master) - better than silently failing. most bits ok markus@ (as part of a larger diff)
2008-05-08Make the maximum number of sessions run-time controllable viaDamien Miller
a sshd_config MaxSessions knob. This is useful for disabling login/shell/subsystem access while leaving port-forwarding working (MaxSessions 0), disabling connection multiplexing (MaxSessions 1) or simply increasing the number of allows multiplexed sessions. Because some bozos are sure to configure MaxSessions in excess of the number of available file descriptors in sshd (which, at peak, might be as many as 9*MaxSessions), audit sshd to ensure that it doesn't leak fds on error paths, and make it fail gracefully on out-of-fd conditions - sending channel errors instead of than exiting with fatal(). bz#1090; MaxSessions config bits and manpage from junyer AT gmail.com ok markus@
2008-05-08Implement a channel success/failure status confirmation callbackDamien Miller
mechanism. Each channel maintains a queue of callbacks, which will be drained in order (RFC4253 guarantees confirm messages are not reordered within an channel). Also includes a abandonment callback to clean up if a channel is closed without sending confirmation messages. This probably shouldn't happen in compliant implementations, but it could be abused to leak memory. ok markus@ (as part of a larger diff)
2008-05-08timer_due is not needed any moreHenning Brauer
2008-05-08Add license and OpenBSD RCS Tag to the file, spotted by Dries Schellekens.Pierre-Yves Ritschard
2008-05-08KNFHenning Brauer
2008-05-08make "to any" optional in binat, or well, the implied default.Theo de Raadt
requested by reyk, ok reyk mpf
2008-05-08reorder elements in pf_state_peer to avoid wasting memory. cvs blameTheo de Raadt
shows that 3 developers screwed this up. look carefully at this diff and learn how to avoid wasting memory. on a 64 bit architecture, each of these was using 40 bytes instead of 32. ok henning
2008-05-08take advanatge of the timewheelin timer_nextduein - we just need to lookHenning Brauer
at the first one
2008-05-08we can stopin timer_set if new timeout equals the oldone.Henning Brauer
matters for stuff like the HoldTimer that gets reset often
2008-05-08take advantage of the timewheel: instead of checking each an everyHenning Brauer
timer, just get the first off the queue and check wether it is due
2008-05-08in timer_set, when figuring out the right position for the timer,Henning Brauer
wemust stop walking the list once werun into a stopped timer, or eventually all stopped timers will queue up at the very front (instead of at the tail)
2008-05-08Loosen grammer to permit any number of newlines within most kinds of { }Theo de Raadt
blocks, as requested by reyk; ok reyk mpf henning
2008-05-08this should really only be in one file.Bob Beck
2008-05-08Sync netstat show.c with route show.c to gain mpls support and to show theClaudio Jeker
routing priority. hai norby@
2008-05-08make -f mpls work. OK norby@Claudio Jeker
2008-05-08spaceClaudio Jeker
2008-05-08avoid extra malloc/copy/free when receiving data over the net;Markus Friedl
~10% speedup for localhost-scp; ok djm@
2008-05-08change timer internals so that we use a timewheel (tailq, sorted by expiryHenning Brauer
so that the timer that will expire first is always the first element, and so on). will make the checking a bit faster and moreelegant and more conveniant. ok claudio
2008-05-08Fix fallout from the route priority thing.Esben Norby
Don't display out label interface in the second column. ok claudio@
2008-05-08Don't display the outlabel and interface for POP operations.Esben Norby
ok claudio@
2008-05-08don't break dhcpd when not using synch mechanisms..Bob Beck
2008-05-08make sure we always send back something on IMSG_CTL_SHOW_NEIGHBORHenning Brauer
namely, the "no such neighbor" case was missing. problem spotted by martin,ok claudio