summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-08-14let's make this half useful to recover from crashed disks with wrong info.Marc Espie
2008-08-14simplify S definition to just srcdir, since it appears there's no specialMarc Espie
case anymore. Note that you can always override it from the command line if you need it. after discussion with deraadt@ and tedu@
2008-08-13sync synopsis/usage; fix double "usage:"; KNF.Igor Sobrado
2008-08-12basic bounds check on elf header info. avoid crashes on i.e.e truncatedOtto Moerbeek
kernels; noted by jasper@ ok miod@
2008-08-11Build apm(8) and apmd(8) on sparc64.Mark Kettenis
pointed out by deraadt@
2008-08-11Use only safe functions in signal handlers.Tobias Stoeckmann
ok millert, otto
2008-08-11more goto fail on gettimeofday errorReyk Floeter
2008-08-11better handling of HTTP POSTs or requests with Content-Length.Reyk Floeter
2008-08-11add missing 'break' to read HTTP content correctlyReyk Floeter
2008-08-08add a variable $SERVER_NAME which is "OpenBSD relayd" by default.Reyk Floeter
2008-08-08chunked encoding may include empty lines at random places, do notReyk Floeter
abort the session if we get an empty line except of the expected chunk header.
2008-08-08fix possible memleaks in chunked encoding handlerReyk Floeter
2008-08-08only dump all protocol nodes with DEBUG > 1.Reyk Floeter
2008-08-08Support HTTP responses that neither specify a Content-Length headerReyk Floeter
nor chunked encoding. We don't know the length of the HTTP body in this case, so it only works for single-pass HTTP responses without subsequent HTTP response headers in the stream. You can still enforce the Content-Length header with an "expect" rule. For example, this fixes response handling from undeadly.org (thttpd) if relayd is running as a transparent HTTP proxy.
2008-08-08Check gettimeofday() against -1; Add a missing error check in one place.Thordur I. Bjornsson
OK reyk@
2008-08-07Fix a typo, inteface -> interface.Brad Smith
From Gleydson Soares <gsoares at gmail dot com>
2008-08-05Do not advertise the default route with wrong metric of 0. Set it to 1Claudio Jeker
by default. Reminded to commit this brad@, OK deraadt@
2008-08-04Update to BIND 9.4.2-P2 and adapt our dynamic select changes. OK deraadt@Todd C. Miller
2008-08-03Don't print a warning when the random device cannot be opened ifTodd C. Miller
we have a pre-chroot random device. OK deraadt@ kettenis@
2008-08-02usage() has to exit 1; Gleydson SoaresTheo de Raadt
2008-08-01This log message is an excruiciating pain in the ass when it repeats 4000 ↵Bob Beck
times a second on a machine you need debug log on, and is actually used as a cacheing nameserver. remove just this one line of debug log to save people's sanity ok djm@
2008-07-28some cleanup; Gleydson SoaresTheo de Raadt
2008-07-28Do not use __progname in inetd as it is not portable. Instead hardcode it toClaudio Jeker
"inetd" in the few locations that print out the program name. requested and OK deraadt@
2008-07-27Use __progname instead of hand rolled version using argv[0].Claudio Jeker
Diff from Gleydson Soares gsoares at gmail dot com OK millert@
2008-07-26kill trailing whitespace;Jason McIntyre
2008-07-25Mention @bin plist element, ok espie@Ian Darwin
2008-07-25doc fix; from David HiggsJason McIntyre
2008-07-24Use memcpy() and memcmp() like everywhere else in ospfd. OK norby@Claudio Jeker
2008-07-24isinf/isnan are macros now, therefore ap_config_auto.h differ. regenMartynas Venckus
from sthen@. discussed w/ millert@. "yep" sthen@.
2008-07-24reserve a few OpenBSD MIBs that might be implemented later or to avoidReyk Floeter
conflicts wird 3rd parties.
2008-07-23Stop printing the size of BARs; the way the code calculates it is wrong.Mark Kettenis
We'll need kernel support to do it properly. ok dlg@
2008-07-23validate packet length in debug dns packet logging before printing the header.Reyk Floeter
2008-07-22Add dynamic IPv6-to-IPv4 and IPv4-to-IPv6 translation inspired byReyk Floeter
faithd(8) by doing a similar mapping of IPv4/6 addresses with relayd(8) and pf(4) redirections without the need of the faith(4) interface. The trick works in both directions, it can accept IPv6 connections and relay them to IPv4 hosts by extracting the last 4 octets from the IPv6 destination (like faithd(8)), and it can accept IPv4 connections and relay them to IPv6 hosts by prepending the 4 octets of the original IPv4 destination to a configured IPv6 prefix. An access list is not needed because the classification is done in pf.conf(5). It helps to get more faith in relayd. manpage bits ok jmc@ yes, sounds good todd@
2008-07-22more negotation -> negotiation; ok sthen@Martynas Venckus
2008-07-21fix ugly debug dump output. found with bluhm@Rainer Giedat
ok thib@, bluhm@
2008-07-21Initial stab at DHCPINFORM support. OK phessler@Todd C. Miller
2008-07-21Leave PATH alone.Antoine Jacoutot
noticed by and ok deraadt@
2008-07-19link to apache web server, not the project group. found whileMartynas Venckus
catching up w/ the old email. submitted by Pierre Riteau on tech@ a year ago. "no objection" jmc@. ok, "that's clearly correct" okan@
2008-07-19Use errx instead of fprintf, exit combo.Claudio Jeker
Diff from Gleydson Soares gsoares (at) gmail (dot) com OK henning@
2008-07-19minor wording tweaks;Jason McIntyre
2008-07-19print the host parent id if availableReyk Floeter
2008-07-19no need for using a TAILQ queue for the host children list, use aReyk Floeter
singly-linked SLIST instead. the only noticeable change is the reversed order to notify the children but it does not really matter here. also only walk through the children host list if the host itself is a potential parent.
2008-07-19If the new 'parent' keyword is specified for a host in a table,Reyk Floeter
inherit the state from another host with the specified Id; no additional check will be for the inheriting host. This helps in scenarios with lots of IP aliases that all point to the same service on the same host (like web hosting with many SSL domains). discussed with pyr, tested in different setups
2008-07-19Use the IPv6 documentation prefix 2001:db8::/32 from RFC 3849 insteadReyk Floeter
of the deprecated 3ffe::/16 6bone test address space. Deprecated or public IPv6 allocations should not be used for documentation; we have the same approach for IPv4 by using RFC 1918 private addresses. ok jmc@ todd@
2008-07-18merge host_v6 with relayd's version to use getaddrinfo instead ofReyk Floeter
inet_pton. host_v4, host_v6, and host_dns could be merged into one function using getaddrinfo but i keep it in multiple functions to keep it in sync with the other daemons using this common code.
2008-07-18merge log_host with relayd's version using getnameinfo and rename itReyk Floeter
to print_host.
2008-07-18terminate the input buffer on failure in print_host()Reyk Floeter
2008-07-17final reorder diff to use TAILQ_INSERT_TAIL instead ofReyk Floeter
TAILQ_INSERT_HEAD. now tables and relays are also matching the order in the config file. ok pyr@
2008-07-17add the hosts in order to get host ids that match the order in the config ↵Reyk Floeter
file. ok pyr@
2008-07-17give sane ids to hosts, tables, redirections, relays, etc. - startReyk Floeter
counting at 1 and do not assign an id before inheriting a real table. makes more sense in the relayctl output. ok pyr@