summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-28minor improvement to usage()Igor Sobrado
ok mbalmer@
2009-01-28it's -> itsIan Darwin
2009-01-28wake is a command to send wake on lan frames over an ethernet to wake on lanMarc Balmer
capable machines, remote powering them up. ok claudio, sthen, "I like this a lot" & ok dlg
2009-01-28bring loop detection support. we handle this with a qmail-like approach whichGilles Chehade
consists of checking headers for a custom header, but we also count how many hops the mail went through and use a hard limit (currently set to 100 as was recommanded by RFC) as a safe-guard. idea discussed with jacekm@, qmail approach suggested by claudio@ a long time ago
2009-01-28Remove some dead (#if 0) code.Hans-Joerg Hoexer
2009-01-28ex(1), vi(1), and view(1) have different synopses; each nex/nvi utilityIgor Sobrado
should manage the right set of options and return an appropriate usage when required. jsing@ has suggested preserving "-e" in ex(1) as an undocumented compatibility flag to avoid breaking silly scripts that may use this option with the line-oriented editor. diff sent upstream to nex/nvi maintainers. ok ("put it in!") jsing@
2009-01-28move some functions from queue.c to queue_shared.c as they are not onlyGilles Chehade
used by queue process but also by runner, while at it change the prototype of queue_open_message_file() so it takes the message id and not a batch, runner process requires the decriptor before it even starts building a batch.
2009-01-28in safe_fclose, ensure file is closed upon return, and additionallyJacek Masiulaniec
signify temp failure to the caller if ferror is true; ok gilles@
2009-01-28Implement basic routing socket filtering. It is possible to give a list --Claudio Jeker
actually a bitfield -- of routing messages a listener is interested in. This list can be changed with a setsockopt(s, AF_ROUTE, ROUTE_MSGFILTER, ...) call. OK henning@, dlg@
2009-01-28">From" escaping and \n appending is not needed for maildir; ok gilles@Jacek Masiulaniec
2009-01-28Document the return value of RB_INSERT in tree(3).Stefan Sperling
wording fixes and ok henning@
2009-01-28Remove cur_usec variable that is no longer used.Alexander Bluhm
ok blambert@
2009-01-28remove some duplicate information from the description of -g: thisJason McIntyre
information is already provided further down the page; ok sobrado
2009-01-28Don't map the full 16 MB PROM to prevent running out of kva. We're onlyMark Kettenis
interested in the first few KB. ok grange@
2009-01-28add a struct path to struct message so that we can keep track of the RCPTGilles Chehade
provided recipient even after aliases/forwards expansion, we'll need this for loop detection. message id and uid being MAXPATHLEN long is a waste, define MAX_ID_SIZE which is currently set to 64 (but can probably be further reduced) and make sure that structures and the few strlcpy's use the right define. original idea by jacekm@ a while ago
2009-01-28Document the difference between RB_FIND and RB_NFIND in tree(3).Stefan Sperling
Added text was copied from comments found in sys/tree.h. "go ahead, if something's wrong with it, jmc will fix it" mcbride@
2009-01-28since -g is always overridden by -l in ls(1), the equivalent of theJason McIntyre
-ls primary is better described as "ls -dils" than "ls -dgils";
2009-01-28Add missing braces in trunc_page() call from vmapbuf().Alexander Yurchenko
ok miod@
2009-01-28Correct dup to dupstr.aschrijver
2009-01-28a bit of enqueue cleanup, and while at it set the sender local address toGilles Chehade
::1 (fallback to 127.0.0.1) before sending the enqueue request.
2009-01-28- remove debug messagesGilles Chehade
2009-01-27Correct my timeradd() thinko in nfsrv_writegather()Bret Lambert
pointed out by bluhm@, "obvious" thib@
2009-01-27instead of relying on socket permissions to allow or disallow imsg's thatGilles Chehade
come from the external process (smtpctl/send-mail/etc...), make the socket world-writeable and request credentials with getpeereid(). discussed with pyr@ who was happy to hand me over UNP opened at the "passing credentials through a unix socket" page, but hopefully saved by dlg@ who knew about getpeereid() :-) cvs: ---------------------------------------------------------------------- cvs: eNTER lOG. lINES BEGINNING WITH `cvs:' ARE REMOVED AUTOMATICALLY cvs: cvs: cOMMITTING IN . cvs: cvs: mODIFIED fILES: cvs: CONTROL.C PARSE.Y SMTP.C SMTPD.C SMTPD.H STORE.C
2009-01-27keep namespace clean.Pierre-Yves Ritschard
discussed w/ aschrijver@
2009-01-27follow the naming convention of other files, discussed with jacekm@Gilles Chehade
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
without "talking" smtp to listeners. currently, a big part of the server side code is done (and requires a cleanup), next step is to get it usable properly from a mail user agent.
2009-01-27In IPsec acquire mode, if the flow was configured for the "any"Alexander Bluhm
network 0.0.0.0/0 or ::/0, the SA was established for the IP address in the packet instead of the network in the flow. That means the SA was not negotiated for the network 0.0.0.0 with mask 0 but for the remote IP with mask 255.255.255.255. This SA did not match the flow and did not work. To differentiate between general flows that are used to trigger specific host-to-host SAs and flows for matching network SAs, the if condition only uses the ipo->ipo_dst field now. For a flow without peer, an SA must be negotiated for each host-to-host combination. Otherwise, if a peer exists at the flow, the kernel acquires one SA for the whole network. tested by todd@, ok hshoexer@, angelos@, todd@
2009-01-27Get rid of the last traces of uvm.pager_[se]vaMiod Vallat
2009-01-27on some servers LIST defaults to LIST -a. ignore pseudo-directoriesMartynas Venckus
so that recursive transfers don't cause a loop. problem reported and tested by Jesus Sanchez. string compare inlining and looks good to millert@
2009-01-27Propagate the neighbour's interface ID, as received in hello packets,Stefan Sperling
to the RDE. ok claudio@
2009-01-27Turns out the IRQ Information is optional in IRQ Descriptor resources, soMark Kettenis
allow resources that are only 5 bytes long. Prevents dmesg spamming on the OQO.
2009-01-27rum -> urtw. ok jsg@, kevlo@Martynas Venckus
2009-01-27Simplify page-out/page-in map management; fix rare pager deadlock.Ariane van der Steldt
Ok: miod, tedu
2009-01-27syncOwain Ainsworth
2009-01-27another GeForce 9300.Owain Ainsworth
From Laurence Tratt; thanks!
2009-01-27If a packet translation was a NOP, undo separate NAT key andMarco Pfatschbacher
pretend there was no match. This prevents pf_state_insert() to fail with duplicate keys. OK henning@, mcbride@
2009-01-27unbreak SMALL_KERNEL builds by adding missing #ifndef IEEE80211_STA_ONLYDamien Bergamini
pointed out by krw@
2009-01-27handle HW VLAN tags being passed down; from BradChristian Weisgerber
2009-01-27Add space after keywords.aschrijver
2009-01-27err, actually session_set_path was moved to utils.c because it was used byGilles Chehade
the enqueue code i'm working on, but this is no longer necessary since the enqueue code uses recipient_to_path. revert part of previous commit
2009-01-27include the VLAN priority for hardware tagging, too; ok claudio@Christian Weisgerber
2009-01-27*** empty log message ***Gilles Chehade
2009-01-27Oops, fix the error handling. Found by blambert@aschrijver
2009-01-27Switch the amd64 PCI_CONF_LOCK from being a simplelock and splhigh to aOwain Ainsworth
mutex with ipl set to IPL_HIGH. While i'm here, unify the code with i386, by giving the same lock to the i386 code. This lock is mostly for MP, but could actually prevent a race where a process is doing pci_conf_{read,write}, and then an interrupt fire and also does pci_conf_{read,write}. Since this is a two stage process, the interrupt could race with the one, causing the value to the written to the wrong place, or the wrong value to be written. Tested by many. "go ahead" kettenis@.
2009-01-27A warning text in ipsecctl was used twice. Make the messages uniqueAlexander Bluhm
for easier debugging. ok grunk@, hshoexer@, todd@
2009-01-27fix printf format specification to print max len 4 for refid,Kevin Steves
which may not be null terminated; ok henning@
2009-01-27the data member of ibuf was not set to the environment in control_accept()Gilles Chehade
which caused th ev_arg member of struct event to be reset after the first call to control_dispatch_ext (causing a null deref at second call). this has been driving me nuts for at least an hour ...
2009-01-27Fix some interger overflows when accounting the used mbuf memory percentageClaudio Jeker
and while there use a better type for the plural{,es}() functions. OK henning@
2009-01-27Fix another double free in the filter parser.aschrijver
2009-01-27make the hardware/no hardware tag stripping cases consistent and don'tChristian Weisgerber
hash the VLAN priority; ok henning@