docs/diploma

changeset 298:0d88bf21e152

minor changes
author meillo@marmaro.de
date Sun, 18 Jan 2009 18:33:30 +0100
parents 39fffd8d1100
children 70689a77dd88
files thesis/tex/2-MarketAnalysis.tex thesis/tex/4-MasqmailsFuture.tex thesis/tex/5-Improvements.tex
diffstat 3 files changed, 14 insertions(+), 15 deletions(-) [+]
line diff
     1.1 --- a/thesis/tex/2-MarketAnalysis.tex	Sun Jan 18 13:08:32 2009 +0100
     1.2 +++ b/thesis/tex/2-MarketAnalysis.tex	Sun Jan 18 18:33:30 2009 +0100
     1.3 @@ -179,6 +179,7 @@
     1.4  
     1.5  
     1.6  \subsection{Trends for electronic mail}
     1.7 +\label{sec:email-trends}
     1.8  
     1.9  Noting remains the same, so does the email technology not. Emailing in future will probably differ from emailing today. This section tries to identify possible trends affecting the future of electronic mail.
    1.10  
     2.1 --- a/thesis/tex/4-MasqmailsFuture.tex	Sun Jan 18 13:08:32 2009 +0100
     2.2 +++ b/thesis/tex/4-MasqmailsFuture.tex	Sun Jan 18 18:33:30 2009 +0100
     2.3 @@ -220,7 +220,7 @@
     2.4  \paragraph{\RG10: Usability}
     2.5  Usability, not mentioned by \person{Hafiz} (he focuses on architecture) but by \person{Spinellis} and \person{Kan}, is a property very important from the user's point of view. Software with bad usability is rarely used, no matter how good it is. If substitutes with better usability exist, the user will switch to one of them. Here, usability includes setting up and configuring; and the term ``users'' includes administrators. Having \mta{}s on home servers and workstations requires easy and standardized configuration. The common setups should be configurable with little action by the user. Complex configuration should be possible, but focused must be the most common form of configuration: choosing one of several common setups.
     2.6  
     2.7 -<< masqmail as portable app? >>
     2.8 +%fixme: << masqmail as portable app? >>
     2.9  
    2.10  
    2.11  
    2.12 @@ -281,10 +281,7 @@
    2.13  
    2.14  
    2.15  \paragraph{\RF1: In/out channels}
    2.16 -The incoming and outgoing channels that \masqmail\ already has are the ones required for an \MTA{}s at the moment. They are depicted in figure \ref{fig:masqmail-in-out} on page \pageref{fig:masqmail-in-out}.
    2.17 -Support for other protocols seems not to be necessary at the moment, although new protocols and mailing concepts are likely to appear (see section \ref{sec:electronic-mail}).
    2.18 -Today, other protocols are not needed, so \masqmail\ is regarded to fulfill \RF1.
    2.19 -But as \masqmail\ has no support for adding further protocols, delaying the work to support them until they are widely used, appears to be the best strategy anyway.
    2.20 +The incoming and outgoing channels that \masqmail\ already has (depicted in figure \ref{fig:masqmail-channels} on page \pageref{fig:masqmail-channels}) are the ones required for an \MTA{}s at the moment. Support for other protocols seems not to be necessary at the moment, although new protocols and mailing concepts are likely to appear (see section \ref{sec:email-trends}). Today, other protocols are not needed, so \masqmail\ is regarded to fulfill \RF1. But as \masqmail\ has no support for adding further protocols, delaying the work to support them until they are widely used, appears to be the best strategy anyway.
    2.21  
    2.22  << smtp submission >> %fixme
    2.23  
    2.24 @@ -297,7 +294,7 @@
    2.25  The envelope and mail headers are generated when the mail is put into the queue. The requirements are fulfilled.
    2.26  
    2.27  \paragraph{\RF4: Aliasing}
    2.28 -Aliasing is done on delivery. All common kinds of aliases in the global aliases file are supported. \name{.forward} aliasing is not, but this is less common and seldom used.
    2.29 +Aliasing is done on delivery. All common kinds of aliases in the global aliases file are supported. So called \name{.forward} aliasing is not, but this is less common and seldom used.
    2.30  
    2.31  \paragraph{\RF5: Route management}
    2.32  Setting of the route to use is done on delivery. Headers can get rewritten a second time then. This part does provide all the functionality required.
    2.33 @@ -306,7 +303,7 @@
    2.34  Static authentication, based on \NAME{IP} addresses, can be achieved with \person{Venema}'s \NAME{TCP} \name{Wrapper} \cite{venema92}, by editing the \path{hosts.allow} and \path{hosts.deny} files. This is only relevant to authenticate host that try to submit mail into the system. Dynamic (secret-based) \SMTP\ authentication is already supported in form of \NAME{SMTP-AUTH} and \SMTP-after-\NAME{POP}, but only for outgoing connections. For incoming connections, only address-based authentication is supported.
    2.35  
    2.36  \paragraph{\RF7: Encryption}
    2.37 -Similar is the situation for encryption which is also only available for outgoing channels; here a wrapper application like \name{openssl} is needed. This creates a secure tunnel to send mail trough, but state-of-the-art is using \NAME{STARTTLS}, which is not supported. For incoming channels, no encryption is available. The only possible setup to provide encryption of incoming channels is using an application like \name{stunnel} to translate between the secure connection to the remote host and the \MTA. Unfortunately, this suffers from the problem explained in section \ref{sec:FIXME} and figure \ref{fig:stunnel}. Anyway, this would still be no \NAME{STARTTLS} support.
    2.38 +Similar is the situation for encryption which is also only available for outgoing channels; here a wrapper application like \name{openssl} is needed. This creates a secure tunnel to send mail trough, but state-of-the-art is using \NAME{STARTTLS}, which is not supported. For incoming channels, no encryption is available. The only possible setup to provide encryption of incoming channels is using an application like \name{stunnel} to translate between the secure connection to the remote host and the \MTA. Unfortunately, this suffers from the problem explained on page \pageref{fig:stunnel} in figure \ref{fig:stunnel}. Anyway, this would still be no \NAME{STARTTLS} support.
    2.39  
    2.40  \paragraph{\RF8: Spam handling}
    2.41  \masqmail\ nowadays does not provide special support for spam filtering. Spam prevention by not accepting spam during the \SMTP\ dialog is not possible at all. Spam filtering is only possible by using two \masqmail\ instances with an external spam filter inbetween. The mail flow is from the receiving \MTA\ instance, which accepts mail, to the filter application that processes and possible modifies it, to the second \MTA\ which is responsible for further delivery of the mail. This is a concept that works in general. And it is a good concept in principle to separate work with clear interfaces. But the need of two instances of the same \MTA (each for only half of the job) with doubled setup, is more a work-around. Best is to have this data flow respected in the \MTA\ design, like in \postfix. But the more important part of spam handling, for sure, is done during the \SMTP\ dialog in completely refusing unwanted mail.
    2.42 @@ -334,8 +331,6 @@
    2.43  In summary: Current reliability needs to be improved.
    2.44  %fixme: state machine
    2.45  
    2.46 -\masqmail\ uses the filesytem to store the queue, storing the queue in a databases might improve the reliability through better persistence. %fixme
    2.47 -
    2.48  \paragraph{\RG3: Robustness}
    2.49  The logging behavior of \masqmail\ is good, although it does not cover all problem situations. For example, if the queue directory is world writeable by accident (or as action of an intruder), any user can remove messages from the queue or replace them with own ones. \masqmail\ does not even write a debug message in this case. The origin of this problem, however, is \masqmail's trust in its environment.
    2.50  %todo: rule of robustness, rule of repair
    2.51 @@ -352,6 +347,7 @@
    2.52  The testability suffers from missing modularity. Testing program parts is hard to do. Nevertheless, it is done by compiling parts of the source to special test programs. %fixme: what are the names? what do they test?
    2.53  
    2.54  This kind of testing is only clean-room testing, so .... %fixme
    2.55 + % XXX
    2.56  
    2.57  \paragraph{\RG7: Performance}
    2.58  The performance---efficiency---of \masqmail\ is good enough for its target field of operation, where this is a minor goal.
     3.1 --- a/thesis/tex/5-Improvements.tex	Sun Jan 18 13:08:32 2009 +0100
     3.2 +++ b/thesis/tex/5-Improvements.tex	Sun Jan 18 18:33:30 2009 +0100
     3.3 @@ -15,7 +15,7 @@
     3.4  
     3.5  
     3.6  
     3.7 -\subsection{Encryption}
     3.8 +\subsubsection*{Encryption}
     3.9  
    3.10  Electronic mail is very weak to sniffing attacks, because all data transfer is unencrypted. This concerns the message's content, as well as the email addresses in header and envelope, but also authentication dialogs that may transfer plain text passwords (\NAME{PLAIN} and \NAME{LOGIN} are examples). Adding encryption is therefor wanted.
    3.11  
    3.12 @@ -57,7 +57,7 @@
    3.13  
    3.14  
    3.15  
    3.16 -\subsection{Authentication}
    3.17 +\subsubsection*{Authentication}
    3.18  
    3.19  Several ways to restrict access are available. The most simple one is restrictiction by the \NAME{IP} address. No extra complexity is added this way, but static \NAME{IP} addresses are mandatory. This kind of restriction may be enabled using the operating system's \path{hosts.allow} and \path{hosts.deny} files. To allow only connections to port 25 from localhost or the local network \texttt{192.168.100.0/24} insert the line ``\texttt{25: ALL}'' into \path{hosts.deny} and ``\texttt{25: 127.0.0.1, 192.168.100.}'' into \path{hosts.allow}.
    3.20  
    3.21 @@ -94,7 +94,7 @@
    3.22  
    3.23  
    3.24  
    3.25 -\subsection{Security}
    3.26 +\subsubsection*{Security}
    3.27  
    3.28  by using wrappers and interposition filters
    3.29  
    3.30 @@ -108,19 +108,19 @@
    3.31  \end{verbatim}
    3.32  
    3.33  
    3.34 -\subsection{Reliability}
    3.35 +\subsubsection*{Reliability}
    3.36  
    3.37  discuss persistence through using databases
    3.38  
    3.39  
    3.40  
    3.41 -\subsection{Spam and malware handling}
    3.42 +\subsubsection*{Spam and malware handling}
    3.43  
    3.44  discuss the MTA->scanner->MTA approach
    3.45  
    3.46  
    3.47  
    3.48 -\subsection{Bug fixes}
    3.49 +\subsubsection*{Bug fixes}
    3.50  
    3.51  already fixed bugs
    3.52  
    3.53 @@ -194,6 +194,8 @@
    3.54  %fixme: check, cite, and think about
    3.55  
    3.56  %fixme: discuss: filesystem vs. database
    3.57 +<< \masqmail\ uses the filesytem to store the queue, storing the queue in a databases might improve the reliability through better persistence. >> %fixme
    3.58 +
    3.59  
    3.60  %fixme: what about the ``rule of repair''?
    3.61