summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-09convert vio(4) to if_input().Martin Pelikan
ok mpi
2015-02-09after many days of coding, enable WEPPeter Hessler
2015-02-09move the init of the if_input from ether_ifattach to if_attach.David Gwynne
ok mpi@
2015-02-08enable iwm(4) in big ramdisks for easy upgradesPeter Hessler
tested with and without firmware files. OK stsp@ deraadt@
1998-10-05Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
to just be 0/1 ok miod florian
2015-02-08Fix iwm(4) attach and firmware loading process such that a reboot afterStefan Sperling
fw_update isn't required anymore. An iwm0 interface now appears if the firmware isn't installed at boot, but it has no MAC address. Firmware is now reloaded on ifconfig down/up and the MAC address is set if successful. test + ok phessler@
2015-02-08revert debug changes. reyk would like debug to remain a counter.Ted Unangst
2015-02-08flags should be flags, not counters. from martijn van durenTed Unangst
2015-02-08Use `> 0' instead of `!= 0' as a successful condition forMiod Vallat
EC_POINT_is_at_infinity() and EC_POINT_is_on_curve(), for they may return -1 should an error arise. ok doug@ jsing@
2015-02-08Move a few typedef up in this file in order to be able to use them in env_md_stMiod Vallat
and get rid of a silly FIXME comment. ok doug@ jsing@
2015-02-08Check memory allocation results in EVP_PBE_alg_add_type().Miod Vallat
ok doug@ jsing@
2015-02-08Check memory allocation results, as well as stack pushes.Miod Vallat
Also fix a memory leak in one of the error paths of SMIME_read_ASN1(), spotted by doug@ tweaks&ok doug@ jsing@
2015-02-08Rely upon enc_flags rather than the tls version, to upgrade SHA1+MD5 toMiod Vallat
SHA256 in ssl_get_algorithm2(). From OpenSSL HEAD; ok jsing@
2015-02-08Separate the two usages for cu so you can either give it -l and -s (likeNicholas Marriott
cu) or you can give it a host to look up in /etc/remote (like tip). Mixing the two was unclear and caused mixups with -l and the HOST environment variable. So usage is now: usage: cu [-l line] [-s speed | -speed] cu [host] And HOST and REMOTE are ignored for the first form. ok deraadt claudio
2015-02-08Add missing \n to DPRINTFs in iwm(4).Stefan Sperling
2015-02-08Change syslog tests from transparent framing to octet counting.Alexander Bluhm
Add tests for truncated buffer handling.
2015-02-08Implement octet counting for sending syslog over TCP and TLS streams.Alexander Bluhm
For TCP the standard recommends it, but TLS must use this framing. OK henning@
2015-02-08The error message on firmware load failure in iwn(4) changed, sync man page.Stefan Sperling
2015-02-08Sprinkle some string constant consistency on iwn(4) as well.Stefan Sperling
2015-02-08In iwm(4), convert many verbose printf do DPRINTF, sync some string constantsStefan Sperling
with iwn(4), and remove a few printf which don't appear in iwn(4).
2015-02-08Lob a KNF grenade into the ecdsa code.Joel Sing
2015-02-08Fix mfi ioctl to set drive state properly.YASUOKA Masahiko
diff from Tsubai Masanari test dlg jmatthew ok dlg
2015-02-08Delete commented out code from openssl(1) apps.Doug Hogan
From OpenSSL commits: 6f91b017bbb7140f816721141ac156d1b828a6b3 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 a2b18e657ea1a932d125154f4e13ab2258796d90 ok miod@, jsing@
2015-02-08Convert to if_input().Martin Pieuchot
2015-02-08Convert to if_input().Martin Pieuchot
2015-02-08Do not assume that addresses passed to bus_space_map(9) are relativeMartin Pieuchot
to the bus base address, that's not the case with radeondrm(9) cards on G5. From miod@
2015-02-08md_prep_disklabel should run disklabel (for fresh disks intended to beTheo de Raadt
bootable, which do contain a LIF yet). It should also be run in md_installboot for the upgrade case. Diagnosis with jsing and kettenis, buglet spotted by rpe Testing... waiting for that.
2015-02-08delete tons more castsTed Unangst
2015-02-08Convert wirless devices to if_input(), tested with iwn(4) and urtwn(4).Martin Pieuchot
ok pelikan@, reyk@, blambert@, henning@
2015-02-08Convert to if_input().Martin Pieuchot
ok pelikan@, reyk@, blambert@, henning@
2015-02-08remove ptr_t typedef. void * is good enough for csh.Ted Unangst
2015-02-08Introduce if_input() a function to pass packets dequeued from aMartin Pieuchot
recieving ring to the stack. if_input() is at the moment a drop-in replacement for ether_input_mbuf() but will let us stack pseudo-driver in a nice way in order to no longer call ether_input() recursively. ok pelikan@, reyk@, blambert@, henning@
2015-02-08delete many more ptr_t castsTed Unangst
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as wellTed Unangst
2015-02-08ANSI'fy.Masao Uebayashi
2015-02-08Fix stack trace of tail calls. From NetBSD. OK miod@Masao Uebayashi
2015-02-08it's safe to call free with nullTed Unangst
2015-02-08Add a comment that ntpd MUST NOT use AI_ADDRCONFIG in host_dns()Reyk Floeter
OK henning@
2015-02-08Use AI_ADDRCONFIG when resolv hosts on startup.Reyk Floeter
OK henning@
2015-02-08Only attach cpu-based sensors on the primary cpu, for two reasonsTheo de Raadt
- The sensor framework cannot fetch values on the right cpu - sensor_task_register() calls malloc, and calling it is inapproapriate ok guenther
2015-02-08Count dropped SYN packets on the tcpstat. They are dropped due to theYASUOKA Masahiko
listen queue (backlog) limit or the memory shortage in syn-cache. ok henning reyk claudio
2015-02-08-a for -I or -i is gone for good. So adjust manpage.Claudio Jeker
2015-02-08The multicast address printing code has been disabled for 7 years.Claudio Jeker
Nobody complained about it missing. It is time to kill it for real. OK phessler, henning, deraadt
2015-02-08Just use sysctl_rdstruct() to read out some structs. Only differenceClaudio Jeker
to current code is that you can no longer call this with a NULL oldlenp which does not make any sense. OK phessler, henning Behaviour change pointed out by miod@
2015-02-08Use the AI_ADDRCONFIG flag in tls_connect(). This tells the resolverReyk Floeter
to ignore unsupported address families - eg. don't resolv IPv6 on IPv4-only hosts. OK jsing@
2015-02-08Hilarious! We are not ready yet for large stack random biases, due toTheo de Raadt
the stack region handling in uvm.
2015-02-08De-static to make ddb hangman harder. OK phessler, henningClaudio Jeker
2015-02-08Rename some of the functions by adding a 6 so they do not conflict withClaudio Jeker
the still static functions in ip_mroute.c OK phessler, henning
2015-02-08remove the dead code inside #if(def) RED_NOTYETHenning Brauer
if we ever do sth like RED again it almost certainly won't be RED; the code isn't even in a state to be useful as documentation/hint, and even if it was it could be retrieved from the attic.