summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-13As per NetBSD move HAYAKAWA Koichi's licenses to two clause.Jonathan Gray
2010-01-13Cookie or done is set on entry to scsi_xs_sync(). Take panic() outKenneth R Westerback
until we figure out why.
2010-01-13cleanup npppd code. delete IIJ local ifdef switches and fix warnings.YASUOKA Masahiko
ok @dlg
2010-01-13cleanup pipex code. ok henning@YASUOKA Masahiko
2010-01-13we don't need broadcast for the classful network AND broadcast for theHenning Brauer
subnet of the classful network. at least, not since 1992. ok mpf dlg bob
2010-01-13Don't whack conflicting BARs if they are enabled.Mark Kettenis
Makes the IBM eServer x336 work. Tested by sthen@ and naddy@.
2010-01-13Remove a few more settings of ITSDONE in drivers. Only a coupleKenneth R Westerback
more to go. Should be a no-op.
2010-01-13replace static on functions with Static so openbsd can define it awayDavid Gwynne
to nothing. this lets us see functions in ddb, while not hurting the ability to share the code with other projects. idea borrowed from the usb stack. ok yasuoka@
2010-01-13Add VPNv4 to the understood address families in bgpctl.Claudio Jeker
OK henning@, reyk@
2010-01-13Add support for BGP MPLS VPN aka RFC 4364. This is only the RDE part soClaudio Jeker
that it is possible to use OpenBGPD as a route-reflector for VPNv4. Some clean up of the BGP MP code so that multiple protocols are easier supported. kroute/kernel support not yet done but comming. OK henning@, reyk@
2010-01-13Remove special bridge code in in_arpinput() this is no longer needed sinceClaudio Jeker
we now correctly broadcast packets to all local ports. OK deraadt@
2010-01-13Preliminary rdomain support in bridge(4). Make sure that m->m_pkthdr.rdomainClaudio Jeker
is set whenever we changing the rcvif. It is still not possible to pass traffic between two vether but works now form outside. OK deraadt@
2010-01-13Move tokens before productions into more consistant placesTheo de Raadt
ok mcbride
2010-01-13repair a double-free suggested by parfait; ok mcbrideTheo de Raadt
2010-01-13when checking an xs for errors, first check if the device the xs is forDavid Gwynne
is dying. if so, return ENXIO. this should make detach of devices during scsi attaches less dangerous. idea (and the first version of this diff) ok deraadt@ ok krw@
2010-01-13don't append a space after inserting a completion of a directory (i.e.Damien Miller
a path ending in '/') for a slightly better user experience; ok dtucker@
2010-01-13avoid run-time failures when specifying hostkeys via a relativeDamien Miller
path by prepending the cwd in these cases; bz#1290; ok dtucker@
2010-01-13scsi_xs_sync uses the xs cookie and done pointers, so users of scsi_xs_syncDavid Gwynne
cannot. panic if theyre set before scsi_xs_sync is called. question raised by and ok krw@
2010-01-13syncTheo de Raadt
2010-01-13Oops. Restore decrement of xs->retries I optimized away. Not everythingKenneth R Westerback
is dlg@'s fault. ok dlg@
2010-01-13make ifa_ifwithaddr use the shiny new ifaddr RB tree instead of traversingHenning Brauer
the list of all interfaces and traversing the list of all addresses on each interface. if bugs show up with addressing this is the #1 backout candidate, something i missed might fuck with ifaddrs behind our back, although i looked & tested hard. 10x to naddy for inet6 testing. ok theo ryan dlg
2010-01-13maintain a global RB tree of all local addresses in the system. thisHenning Brauer
includes AF_LINK addresses (aka mac addresses in the ethernet case). for inet this also includes the broadcast addresses. depends on ifinit() called earlier so we have a chance to pool_init before autoconf assigns the AF_LINK addresses, the v6 fix, and the ifa_add/del abstraction i just committed. this is a change in semantics, it is now illegal to change the actual address in an ifaddr struct because then the RB tree becomes unbalanced. nothing using this tree yet. ok theo ryan dlg
2010-01-13instead of fiddling with the per-interface address lists directly inHenning Brauer
many places create a proper API (ifa_add / ifa_del) and use it. ok theo ryan dlg
2010-01-13adding an empty ifaddr struct to the per-interface ifaddr list andHenning Brauer
somewhen later eventually filling the address in is NOT nice. set address first, then insert. ok dlg theo ryan
2010-01-13Remove extern reference to pf_pabuf which uses a structJonathan Gray
which no longer exists. Makes gcc4 kernels compile again. ok henning@
2010-01-13Fix SCSIDEBUG compiles.Kenneth R Westerback
Pointed out and original diff by jcs@.
2010-01-13fix some leaks found by parfaitJonathan Gray
ok mcbride@ henning@
2010-01-13support '-h' (human-readable units) for sftp's ls command, just likeDamien Miller
ls(1); ok dtucker@
2010-01-13let's admit it's not 1992 any more. CIDR is around for a long time, evenHenning Brauer
that router vendor doesn't default to classful routing any more, and there really is no point in having a classful netmask and a subnetmask to split it. we still do classful guesses on the netmask if it isn't supplied by userland, but that's about it. i decided to keep ia_netmask and kill ia_subnetmask which makes this diff bigish, the classful ia_netmask wasn't really used all that much. the real changes are in in.c, the rest is mostly s/ia_subnetmask/ia_netmask. ok claudio dlg ryan
2010-01-13Make HostBased authentication work with a ProxyCommand. bz #1569, patchDarren Tucker
from imorgan at nas nasa gov, ok djm@
2010-01-13Ignore and log any Protocol 1 keys where the claimed size is not equal toDarren Tucker
the actual size. Noted by Derek Martin, ok djm@
2010-01-13Update regress output files to -current behaviourRyan Thomas McBride
- non-pool translation/routing specification - leftover bits from nat-to/rdr-to/binat-to
2010-01-13pfr.rule.*.addr.type must be initialized to PF_ADDR_NONE for things thatClaudio Jeker
are not used. bzero() of the rule structure is not enough. Found with dlg@, OK mcbride@
2010-01-13pfr.rule.*.addr.type must be initialized to PF_ADDR_NONE for things thatClaudio Jeker
are not used. bzero() of the rule structure is not enough. Find with dlg@, OK mcbride@
2010-01-13In some cases the netmask gets set to a full 128 bit mask even if noRyan Thomas McBride
address family is selected; don't print the v6 mask if it's a v4 address.
2010-01-13Allow /netmask notation in redir spec, fix the rest of the regressRyan Thomas McBride
tests for illegal conditions in translation/routing.
2010-01-13Remove random component of auto-generated table names in loaded rules.Ryan Thomas McBride
2010-01-13typo in panic messagejoshua stein
2010-01-13Change M_WAITOK --> M_WAITOK | M_CANFAILCharles Longeau
With input from oga@ While there, remove dead assignment and newly created unused variable (found by LLVM/Clang Static Analyzer) ok oga@ krw@
2010-01-13Fix a couple of typos/mispellings in commentsDarren Tucker
2010-01-13match the 'use 127.0.0.1/8 instead of 127.0.0.1 for clarity' change in netstartTodd T. Fries
sure henning@
2010-01-12factor m_pulldown out of the message handlers up into pfsync_input nowDavid Gwynne
that it knows how big the messages are. rework the message handlers to use the pfsync_subheader.len value to iterate over the message regions. deprecate the EOF subheader since trying to pulldown a 0 byte buffer is fail. ok mcbride@ sperreault@
2010-01-12bring sd.c r1.180 over to the other drivers now using the antisemaphore,David Gwynne
ie, dont clear the WAITING flag when restarting the xxstart loops.
2010-01-12Add input and user protocol hook to handle GRE packets by pipex.YASUOKA Masahiko
ok @dlg
2010-01-12when generating rdr rules, ensure the nat address is PF_ADDR_NONE to avoidDavid Gwynne
confusing pf.
2010-01-12Update to ncurses 5.7, with local changes reapplied.Nicholas Marriott
This is around eight years worth of changes (previously we were around ncurses 5.2), too many to list - many bug fixes and also a few new functions. A major bump for libcurses, libpanel, libform and libmenu. ok deraadt
2010-01-12save errno wrapping in a signal handlerTheo de Raadt
2010-01-12check for bogus clock ticks sent by the device; helps trackingAlexandre Ratchov
bugs in device drivers.
2010-01-12When attaching a new stream, if the "extra" latency is zero, thenAlexandre Ratchov
don't trigger a zero-length clock tick. Fixes duplicate start ticks seen by full-duplex clients.
2010-01-12Fix for a legacy free PC, where the keyboard controller doesn't behave.Dale Rahn
Clues on how to fix it from miod. ok miod@, Sure deraadt@