summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-12-05- smtpctl utility to control the smtpd, don't expect too much yet as it isGilles Chehade
just an empty clone of relayctl with the glue needed to have it exchange imsg with smtpd correctly. code mostly by pyr@, reviewed by chl@ and I a while ago.
2008-12-05- last part of the new queue code: the runner process (unprivileged andGilles Chehade
chrooted) is now in charge of doing the scheduling of deliveries, and the dispatching of messages to MDA and MTA. queue process only does inserts/updates/removals from the queue and can no longer be so busy that it delays answers to imsg from smtp server.
2008-12-05add ethertype and tcpdump support for VLAN stacking (QinQ) withStuart Henderson
type number 0x88a8 specified by 802.1ad. from reyk on misc@. "ok, go for it" dlg
2008-12-04- in session_read(), set EV_WRITE if we are going to send a "transactionGilles Chehade
failed" error. found by Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-12-04Declare printf-style functions with __attribute__((format(printf,x,x)))Chad Loder
and fix some of the errors caught by this. Part of a general push to make yyerror() -Wformat clean throughout the tree.
2008-12-04cosmetic changes:Reyk Floeter
- log table changes in sync_table() if "log updates" is enabled. before we only logged these changes in debug mode when running relayd in foreground. - type in a log message
2008-12-04- allow smtpd to build againGilles Chehade
2008-12-04move smtpd build to smtpd subdir so we can traverse to newaliases and makemapTodd T. Fries
ok gilles@
2008-12-04some basic cleanup;Jason McIntyre
2008-12-04- when in state S_DATACONTENT, do not disable EV_READ if the last line weGilles Chehade
read is empty, instead return and only disable EV_READ when we read "."
2008-12-04- when doing the session timeout lookup, do not remove the last sessionGilles Chehade
that timed out twice.
2008-12-04- fix event masking for DATA and make DATA look more like MAIL and RCPTGilles Chehade
with regard to communication with queue process (one state before sending imsg, another state when imsg has returned). this fixes an issue that I observed when clients send DATA and content without even looking at server replies.
2008-12-04obvious 'missing space' typo in message, ok gilles@ krw@Ian Darwin
2008-12-03- smtpd's db maps are incompatible with sendmail's and needs a distinctGilles Chehade
makemap utility, this is needed for virtual users support amongst other things. links to smtpd's aliases.c and only provides a frontent to parse map descriptions. contains code from pyr@, chl@ and I. Should have also been imported with smtpd.
2008-12-03smtpd's aliases db is incompatible with sendmail's and requires a distinctGilles Chehade
newaliases utility. newaliases links to the aliases.c file from smtpd and only provides a frontend to parse aliases file. contains code from pyr@, chl@ and I, it should have been imported with smtpd.
2008-12-03clarify GPIO device specification. with input from jmc; ok mbalmer@ jmc@Kevin Steves
2008-12-03delete unused prototype, from lint; ok mbalmer@Kevin Steves
2008-12-03- these were used to debug the previous queue scheduler, they are no longerGilles Chehade
needed and aren't referenced anywhere any longer
2008-12-03- remove log_debug() that's no longer neededGilles Chehade
2008-12-03- fix event masking issues in smtp process which could lead to a fatal() ifGilles Chehade
queue process did not answer fast enough to an imsg. spotted by Jacek Masiulaniec <jacekm@dobremiasto.net> - queue layout was mostly to bootstrap the project, it does not behave good under load, it does complex things to stay in a recoverable state and it probably didnt do it too well. New queue code is simpler, smaller and allows for atomic submissions (a mail can never be in a state where it needs to be recovered). It still needs some work but works better than previous code, no regression.
2008-12-03there is no longer a default GPIO device; ok mbalmer@ jmc@Kevin Steves
2008-12-03Some more ambigous -> ambiguous pointed out by mbalmer (there areStuart Henderson
others, these are the ones from code unlikely to be re-merged with upstream sources).
2008-12-03typo; from Anathae TownsendJason McIntyre
2008-12-02correct spelling (ambigous -> ambiguous)Stuart Henderson
2008-12-02Initial support for neighbor expiry.Michele Marchetto
When a nbr goes down delete it from the lists of downstream dependent neighbors. OK norby@
2008-12-02tweak previous;Jason McIntyre
2008-12-01bzero local variable; ok uweTheo de Raadt
2008-12-01there is zero reason for this parse.y to look different from the others; ok uweTheo de Raadt
2008-12-01- in mxsort, fix type of loop counter, it will never be < 0 if it isGilles Chehade
unsigned and when running out of luck it will cause the lookup process to crash.
2008-12-01introduce btd(8) and btctl(8), tweak bt.conf(5)Todd T. Fries
feedback from uwe@ and jmc@
2008-12-01introduce bt.conf(5), ok uwe@Todd T. Fries
2008-11-30Fix output.Marc Balmer
2008-11-29revert my last change -Reyk Floeter
the xauth vendor id is a hash of "draft-ietf-ipsra-isakmp-xauth-06.txt" and defined in the document "draft-ietf-ipsec-isakmp-xauth-06.txt".
2008-11-29fix typo in 'draft-ietf-ipsec-isakmp-xauth-06.txt'Reyk Floeter
ok hshoexer@
2008-11-29Allow the words "on", "off", or "toggle" to be used instead of theMarc Balmer
numerical values when writing to a pin; fix an error message.
2008-11-28Add support for escaped characters to the search filter parsing function.aschrijver
2008-11-27Ugly workaround to bring up interfaces which were down when we found themUwe Stuehler
2008-11-26Attempt to reconnect for about 10 seconds while btd is starting upUwe Stuehler
2008-11-26SDP works, but it needs to be redone (and non-blocking)Uwe Stuehler
With this in bt.conf, the HID driver should work: # Enable all interfaces. interface * "OpenBSD BT" # Attach a keyboard and/or mouse, or a mobile phone emulating such things. attach 00:02:76:08:1c:37 type hid pin "0000" Then start btd and run btctl -f bt.conf.
2008-11-26Device attach and detach (does not work because SDP is not implemented yet)Uwe Stuehler
2008-11-26Reorder variables, add my copyright.Marc Balmer
2008-11-26Use the new gpio(4) semantics and change the command line syntax to aMarc Balmer
more readable and straightforward format. Note that there is no longer a default GPIO device, but it has to be sepcified on the command line always (and as Theo mentioned, newfs also does not default to /dev/sd0a...) You must do a 'make includesi' in /usr/src before building this command or before your next system build. ok uwe@
2008-11-26Implement config reloading (still only work in progress)Uwe Stuehler
2008-11-26pin_len -> pin_sizeUwe Stuehler
2008-11-25- more prototype moving to smtpd.hGilles Chehade
2008-11-25- move prototype to smtpd.hGilles Chehade
2008-11-25- move prototypes to smtpd.hGilles Chehade
2008-11-25- plug memory leakGilles Chehade
2008-11-25- recent change in parse.y caused htons() to be called twice on the portGilles Chehade
provided to "relay via" rules, once in parse.y once in lka.c, fix. - rename struct address to struct relayhost, introduce struct mxhost which not only holds the sockaddr_storage, but also additionnal flags we want forwarded to the mta process. - propagate the change
2008-11-25Get rid of dependencies on ports libraries (among other things)Uwe Stuehler