summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2014-07-09Don't assign garbage in kv_extend().Reyk Floeter
Found by clang.
2014-07-09tweak previous;Jason McIntyre
2014-07-09The "tag" keyword in redirections has been renamed to "pftag".Reyk Floeter
2014-07-09Replace the protocol directives for HTTP with a new generic filteringReyk Floeter
language. The grammar is inspired by pf and allows to write versatile last-matching filter rules in protocol sections starting with the "pass", "block" or "match" keywords. This work was started almost two years ago and replaces large parts of relayd(8)'s HTTP and filtering code. The initial version reimplements and extends HTTP filtering, but will be improved to support generic TCP and other protocols later. With some testing, feedback, and help from benno@ and andre@. OK benno@
2014-07-09Fix classless-{ms-,}static-routes to comply RFC 3442. Number ofYASUOKA Masahiko
octets should be changed by corresponding to the prefix length. And 0 should be allowed for the prefix length. Also fix white spaces. Based on diff from Yuuichi Someya. ok krw
2014-07-09add a "no-dsn" listener option to disable DSN extension.Eric Faurot
2014-07-09config parser improvements:Eric Faurot
- fail if the same option is specified multiple times on a listener - prompt for queue encryption key after config parsing, not during. - add ip addresses to localnames table - prepare for filters
2014-07-09various fixes in experimental ldap backend and add support for mailaddr service.Eric Faurot
2014-07-08update filter configuration parsing (not plugged yet)Eric Faurot
2014-07-08send correct imsg when enabling profiling at runtimeEric Faurot
2014-07-08partially revert bogus commitEric Faurot
2014-07-08get rid of mfa leftoversEric Faurot
2014-07-08Fix a double free bug in parsing the config. It had occurred when aYASUOKA Masahiko
syntax error exists in radius {authentication,accounting}-server configuration. No need to free curr_radconf because it is a part of auth_conf. Pointed out Vladimir Seleznev
2014-07-08Fix npppd not to access freed memory when it is exiting.YASUOKA Masahiko
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
don't need to be married. ok guenther miod beck jsing kettenis
2014-07-08Cleanup of getopt argument: -p is not supported anymore.Tobias Stoeckmann
ok deraadt@, dlg@
2014-07-08don't really bother cleaning up the callback, it will go away soon enoughMarc Espie
2014-07-08in case we say("Some parameter #1 blabla there") but weMarc Espie
forget the parameter, display a decent error message instead of the usual warning...
2014-07-08Prettify the list of "required by" package names by sorting it.Vadim Zhukov
okay espie@
2014-07-08various queue improvements:Eric Faurot
- add a "close" hook to the backend API. - improve the sync() pattern in queue_fs: only sync at commit time and not for every envelope creation - various fixes to the experimental external queue API.
2014-07-08remove dead code. these imsgs are handled in pony.c.Eric Faurot
2014-07-08make the filter API move forward (still not plugged).Eric Faurot
2014-07-08zap trailing tabEric Faurot
2014-07-08Update the table API: lookup functions can take an optional parametersEric Faurot
dictionnary (currently not set). While there, add a helper for forking external backends, and remove unused table functions. ok gilles@
2014-07-08make sure to clear the WAIT flag when cancelling the connector timeout.Eric Faurot
2014-07-08fatalx(errorstr) -> fatalx("%s", errorstr)Eric Faurot
add missing include and remove redundant debug trace while here.
2014-07-08Change fatal/fatalx to use a format string. Expand in a static bufferEric Faurot
to cope with low-memory situations. ok gilles@ chl@
2014-07-08Stop using uvm_extern.h to fetch uvm_param.h; so define local versionsTheo de Raadt
of trunc_page and such. Horrid namespace violations, prepare for your coming doom... ok kettenis
2014-07-08no need to send a stat update message when {inc,dec}rementing by 0.Eric Faurot
2014-07-08There really isn't a strict "heap" anymore, so just call everything likeTheo de Raadt
that an anon. Useful change since BRKSIZ will soon leave the namespace. ok kettenis
2014-07-08fix typos.Igor Sobrado
ok jmc@
2014-07-08cleaner callback handlingMarc Espie
- store it inside location, so that belayed archives open can get it - wipe it out when the sizer goes away... to be done slightly better probably ?
2014-07-08improve indentation.Igor Sobrado
ok jmc@
2014-07-07sometimes, the callback happens when the archive isn't opened...Marc Espie
fix it quickly, to be fixed better later.
2014-07-07don't throw strange warnings during pkg_delete...Marc Espie
2014-07-07display saved size for now, to be disabled once I'm satisfied this is veryMarc Espie
good :)
2014-07-07record how many bytes we saved for statistics purposes.Marc Espie
exit the loop thru the same end code every time for consistency.
2014-07-07restore progressmeter for big files.Marc Espie
somehow, one extra level of indirection to archive, make it all go away by adding a new method set_callback
2014-07-07Allow to enable profiling at runtime and fix timings output.Eric Faurot
ok gilles@
2014-07-04malloc+memset -> callocPhilip Guenther
from Benjamin Baier (programmer (at) netzbasis.de)
2014-07-04malloc+memset -> callocPhilip Guenther
from Benjamin Baier (programmer (at) netzbasis.de)
2014-07-04malloc+memset -> callocPhilip Guenther
from Benjamin Baier (programmer (at) netzbasis.de)
2014-07-04It makes much more sense to do the loop checking on incoming mails ratherEric Faurot
than on outgoing mails... ok gilles@
2014-07-04always attempt to use tls for relaying to the primary server whenEric Faurot
acting as a backup mx. reported by otto@. ok gilles@
2014-07-04Tcpdump did not show the OSPF router id of hello packets if it wasAlexander Bluhm
equal to the source ip address. This is confusing and inconsistent with IPv6. So always print the rtrid. OK stsp@
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads. tweaks kettenis@ feedback and ok matthew@
2014-07-02Warnings. I haz them.Miod Vallat
2014-07-01Fix snprintf() return value tests. ok gilles@Matthieu Herrb
2014-07-01activate "out-of-order" archives based on historyMarc Espie
things to watch out for: - correct handling of multiple files with the same sha - cwd handling. This is already destated, so we can call set_destdir on each entry's cwd, instead of relying on @cwd being in the "right" location as that's no longer the case...
2014-07-01turn out-of-order extraction back on.Marc Espie
- separate extraction into extract/tie methods, with slightly overlapping code - early exit when we only have tied entries - mark location as early_exit in that case, since we're gonna close the archive early