summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-28first steps towards better mta code. currently mta uses struct batch toGilles Chehade
store a lot of its session related code, but this is just not right and this commit starts making mta code aware of struct session. This will ease the implementation of ssl sessions in mta. while at it, make mta autodetect port to use if it isn't provided in a rule but can be derived from a parameter (i.e: "relay via ssmtp ...").
2009-01-28remove undocumented support for "-e" in ex(1).Igor Sobrado
millert@ says that neither 4.4BSD nor Solaris ex(1) accept this flag, so it is safe to reject it too. ok jsing@
2009-01-28We have proper multicast support now.Mark Kettenis
2009-01-28Implement proper multicast support.Mark Kettenis
2009-01-28typo, ok bluhm@ hshoexer@Alexander von Gernler
2009-01-28Re-add "Category" category to sendbug template. Without it, reportsRay Lai
were categorized as "pending" and the report was never acked. Reported by RD Thrush and bernd@, OK miod
2009-01-28Make bus_mem_add_mapping() return ENOMEM if we fail to allocate kva insteadMark Kettenis
of panicing.
2009-01-28cleanup; ok gilles@Jacek Masiulaniec
2009-01-28when pausing listeners, do not simply disable their events as newGilles Chehade
clients would still be able to connect. instead, at pause time we close and remove the listeners, and at resume time we request the parent to reconfigure all listeners. discussed with pyr@
2009-01-28Remove unneeded include; fixes build problems with some ports thatMark Kettenis
#include <math.h> and expect the C99 macros in that file to be available in the global namespace. This include was removed upstream some time after the libstdc++ we use was released. ok naddy@
2009-01-28Block Ack agreements are unidirectional.Damien Bergamini
Maintain state for both originator and recipient roles separately. Do not allocate receive reordering buffer in addba_request(). Test the "initiator" bit in incoming DELBA frames and set it appropriately in outgoing DELBA frames. Separate callbacks for Tx/Rx too. no binary change since all this is #ifdef'ed out.
2009-01-28reuse recipient_to_path; ok gilles@Jacek Masiulaniec
2009-01-28Allow to specify ike and flow explicitly without peer. The anyAlexander Bluhm
keyword as argument for the peer parameter will do that. An ike without peer creates the peer-default config. A flow without peer acquires a host-to-host SA. tested by grunk@, todd@, ok grunk@, hshoexer@, todd@
2009-01-28cleaning up my tree: trivial KNF and a comment fix.Hans-Joerg Hoexer
2009-01-28relayhost flags were not properly copied to the relayhost array of theGilles Chehade
batch we're handing over to mta. this prevented mta from knowing if a session has to be established over ssl or not.
2009-01-28enable -d for the export command.Pierre-Yves Ritschard
ok joris@
2009-01-28If the rom contains a monitor table, look for an entry matching ourMiod Vallat
display resolution, and if one is found, pick the built-in font it points to, instead of the first font from the list. If the index is wrong and the font list is shorter, revert to the previous behaviour of using the first ROM font. This fixes the font discrepency on my B132L (INTERNAL_EG_1280) where PDC would use the 10x20 font, which is third in the list, and OpenBSD would use the 8x16 font instead. Tested on byte- and word- roms, gsc and pci cards.
2009-01-28Print the right header for Intra-Area-Prefix LSAs when showing the database.Stefan Sperling
2009-01-28Make races between queue and runner impossible by implementing the policy:Jacek Masiulaniec
1) queue never reads /queue. 2) queue writes to /queue only at message injection time. 3) runner does all reading, and all writing apart from 2). ok gilles@
2009-01-28Make the -A a bit more readable by adding a newline between the route andClaudio Jeker
mk list.
2009-01-28In ieee80211_find_node(), roll our own RB_FIND() based on the key (macaddr)Damien Bergamini
instead of resorting to horrid hacks/casts. Restore the ieee80211_node structure back to its original state.
2009-01-28use claudios new rtsocket filters to restrict which messages on the routeDavid Gwynne
socket dhclient will get. ja ja claudio@
2009-01-28Be a little more tolerant about matching ROMs. Makes todd@'s quad hme(4) getMark Kettenis
proper MAC addresses even if you plug it into an i386 machine. ok miod@
2009-01-28Use extern for variable declarations in .h files so that we don't end up withClaudio Jeker
multiple common warnings when linking a kernel with NATM. Put the real variable into natm_pcb.c which seems to be a good place for the pcb list. OK kettenis@
2009-01-28if recipient was provided as a username, append the local hostname, thisGilles Chehade
unbreaks: $ echo foo | mail gilles send-mail: invalid recipient address.
2009-01-28Add wake to the build. ok claudio.Marc Balmer
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@