docs/diploma

changeset 126:27ddf2506157

outsourced floats; minor stuff
author meillo@marmaro.de
date Tue, 09 Dec 2008 16:04:02 +0100
parents aa1fb227e68e
children af2008ba7a65
files thesis/input/comm-classification.tex thesis/input/comm-lifecycle.tex thesis/input/email-swot.tex thesis/input/mta-comparison.tex thesis/tex/2-MarketAnalysis.tex thesis/tex/3-MailTransferAgents.tex
diffstat 6 files changed, 137 insertions(+), 111 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/input/comm-classification.tex	Tue Dec 09 16:04:02 2008 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +\karnaughmap{2}{}{
     1.5 +  {\parbox{\kvunitlength}{asynchronous\\(messages)}}
     1.6 +  {written}
     1.7 +  {\parbox{\kvunitlength}{synchronous\\(dialog)}}
     1.8 +  {recorded}
     1.9 +}{
    1.10 +	{\parbox{0.8\kvunitlength}{email\\\NAME{SMS}}}
    1.11 +	{\parbox{0.8\kvunitlength}{voice mail\\video messages}}
    1.12 +	{\parbox{0.8\kvunitlength}{\NAME{IM}\\chat}}
    1.13 +	{\parbox{0.8\kvunitlength}{VoIP\\video conferencing}}
    1.14 +}{}
    1.15 +
    1.16 +
    1.17 +
    1.18 +%\begin{verbatim}
    1.19 +% ---------------------------------------------------
    1.20 +%             |                  |                  |
    1.21 +% messages    |  email           | voicemail        |
    1.22 +% asynchron   |  SMS             | video messages   |
    1.23 +%             |                  |                  |
    1.24 +% ---------------------------------------------------
    1.25 +%             |                  |                  |
    1.26 +% dialog      |  IM              | VoIP             |
    1.27 +% synchron    |  chat            | video conference |
    1.28 +%             |                  |                  |
    1.29 +% ---------------------------------------------------
    1.30 +%             |                  |                  |
    1.31 +%             | written          | recorded         |
    1.32 +%             |                  |                  |
    1.33 +%\end{verbatim}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/thesis/input/comm-lifecycle.tex	Tue Dec 09 16:04:02 2008 +0100
     2.3 @@ -0,0 +1,20 @@
     2.4 +\begin{verbatim}
     2.5 +|            |             |          |    *******  |          |
     2.6 +|            |             |          |*#**       **|  telefax |
     2.7 +|            |             |      ***** email       ***#**     |
     2.8 +|            |             |    **    |             |     *****|
     2.9 +|            |             |*#**      |             |          |
    2.10 +|            |           *** IM       |             |          |
    2.11 +|            |         **  |          |             |          |
    2.12 +|            |      *#*    |          |             |          |
    2.13 +|            |    ** VoIP  |          |             |          |
    2.14 +|            |  **         |          |             |          |
    2.15 +|        voice *           |          |             |          |
    2.16 +| video  mail**            |          |             |          |
    2.17 +| mess.   #**|             |          |             |          |
    2.18 +|    #****   |             |          |             |          |
    2.19 +|****        |             |          |             |          |
    2.20 +----------------------------------------------------------------
    2.21 +|            |             |          |             |          |
    2.22 +| introduct. | growth      | mature   | saturation  | decline  |
    2.23 +\end{verbatim}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/thesis/input/email-swot.tex	Tue Dec 09 16:04:02 2008 +0100
     3.3 @@ -0,0 +1,17 @@
     3.4 +\begin{verbatim}
     3.5 + ----------------------------------------------------
     3.6 +             |                   |                  |
     3.7 + strength    | standard          |                  |
     3.8 + of email    | modular,extensible|                  |
     3.9 +             |                   |                  |
    3.10 + ----------------------------------------------------
    3.11 +             | big data transfer |                  |
    3.12 + weaknesses  | too big for phone |                  |
    3.13 + of email    |                   | spam             |
    3.14 +             |                   |                  |
    3.15 + ----------------------------------------------------
    3.16 +             |                   |                  |
    3.17 +             | opportunities of  | threats of       |
    3.18 +             | market            | market           |
    3.19 +             |                   |                  |
    3.20 +\end{verbatim}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/thesis/input/mta-comparison.tex	Tue Dec 09 16:04:02 2008 +0100
     4.3 @@ -0,0 +1,15 @@
     4.4 +\begin{tabular}[hbt]{| p{0.13\textwidth} || p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} |}
     4.5 +	\hline
     4.6 +	                 & sendmail & exim & qmail & postfix & masqmail \\
     4.7 +	\hline
     4.8 +	version regarded &  &  &  &  &  \\
     4.9 +	\hline \hline
    4.10 +	First release & 1983 & 1995 & 1996 & 1999 & 1999 \\
    4.11 +	\hline
    4.12 +	Lines of code (with sloccount on debian packages)& 93k & 54k & 18k & 92k & 14k \\
    4.13 +	\hline
    4.14 +	Architecture & monolithic & monolithic & modular & modular & monolithic \\
    4.15 +	\hline
    4.16 +	Design goals & flexibility & general, flexible \& extensive facilities for checking & security & performance and security & for non-permanent Internet connection \\
    4.17 +	\hline
    4.18 +\end{tabular}
     5.1 --- a/thesis/tex/2-MarketAnalysis.tex	Sun Dec 07 17:29:29 2008 +0100
     5.2 +++ b/thesis/tex/2-MarketAnalysis.tex	Tue Dec 09 16:04:02 2008 +0100
     5.3 @@ -32,47 +32,13 @@
     5.4  
     5.5  
     5.6  
     5.7 -%\begin{figure}
     5.8 -%	\begin{center}
     5.9 -%\begin{verbatim}
    5.10 -% ---------------------------------------------------
    5.11 -%             |                  |                  |
    5.12 -% messages    |  email           | voicemail        |
    5.13 -% asynchron   |  SMS             | video messages   |
    5.14 -%             |                  |                  |
    5.15 -% ---------------------------------------------------
    5.16 -%             |                  |                  |
    5.17 -% dialog      |  IM              | VoIP             |
    5.18 -% synchron    |  chat            | video conference |
    5.19 -%             |                  |                  |
    5.20 -% ---------------------------------------------------
    5.21 -%             |                  |                  |
    5.22 -%             | written          | recorded         |
    5.23 -%             |                  |                  |
    5.24 -%\end{verbatim}
    5.25 -%	\end{center}
    5.26 -%	\caption{Classification of electronic communication}
    5.27 -%	\label{fig:comm-classification}
    5.28 -%\end{figure}
    5.29 -
    5.30 -
    5.31  \input{kvmacros}
    5.32  \kvunitlength=3cm
    5.33  \kvnoindex
    5.34  
    5.35 -\begin{figure}
    5.36 +\begin{figure} %fixme: table or figure?
    5.37  	\begin{center}
    5.38 -\karnaughmap{2}{}{
    5.39 -  {\parbox{\kvunitlength}{asynchronous\\(messages)}}
    5.40 -  {written}
    5.41 -  {\parbox{\kvunitlength}{synchronous\\(dialog)}}
    5.42 -  {recorded}
    5.43 -}{
    5.44 -	{\parbox{0.8\kvunitlength}{email\\\NAME{SMS}}}
    5.45 -	{\parbox{0.8\kvunitlength}{voice mail\\video messages}}
    5.46 -	{\parbox{0.8\kvunitlength}{\NAME{IM}\\chat}}
    5.47 -	{\parbox{0.8\kvunitlength}{VoIP\\video conferencing}}
    5.48 -}{}
    5.49 +		\input{input/comm-classification.tex}
    5.50  	\end{center}
    5.51  	\caption{Classification of electronic communication}
    5.52  	\label{fig:comm-classification}
    5.53 @@ -90,26 +56,7 @@
    5.54  
    5.55  \begin{figure}
    5.56  	\begin{center}
    5.57 -		\begin{verbatim}
    5.58 -|            |             |          |    *******  |          |
    5.59 -|            |             |          |*#**       **|  telefax |
    5.60 -|            |             |      ***** email       ***#**     |
    5.61 -|            |             |    **    |             |     *****|
    5.62 -|            |             |*#**      |             |          |
    5.63 -|            |           *** IM       |             |          |
    5.64 -|            |         **  |          |             |          |
    5.65 -|            |      *#*    |          |             |          |
    5.66 -|            |    ** VoIP  |          |             |          |
    5.67 -|            |  **         |          |             |          |
    5.68 -|        voice *           |          |             |          |
    5.69 -| video  mail**            |          |             |          |
    5.70 -| mess.   #**|             |          |             |          |
    5.71 -|    #****   |             |          |             |          |
    5.72 -|****        |             |          |             |          |
    5.73 -----------------------------------------------------------------
    5.74 -|            |             |          |             |          |
    5.75 -| introduct. | growth      | mature   | saturation  | decline  |
    5.76 -		\end{verbatim}
    5.77 +		\input{input/comm-lifecycle.tex}
    5.78  	\end{center}
    5.79  	\caption{Life cycle of electronic communication technologies}
    5.80  	\label{fig:comm-lifecycle}
    5.81 @@ -183,6 +130,11 @@
    5.82  
    5.83  The market's main threat is \emph{spam}, also named \name{junk mail} or \name{unsolicited commercial email} (\NAME{UCE}). Panda Security and Commtouch state in their \name{Email Threats Trend Report} for the second Quarter of 2008: ``Spam levels throughout the second quarter averaged 77\%, ranging from a low of 64\% to a peak of 94\% of all email [...]''\cite[page 4]{panda:email-threats}. The report sees the main reason in the bot nets consisting of zombie computers: ``Spam and malware levels remain high for yet another quarter, powered by the brawny yet agile networks of zombie \NAME{IP}s.''\cite[page 1]{panda:email-threats} This is supported by IronPort Systems: ``More than 80 percent of spam now comes from a `zombie'---an infected \NAME{PC}, typically in a consumer broadband network, that has been hijacked by spammers.''\cite{ironport:zombie-computers}. Positive for \MTA{}s is, that they are not the main source for spam, but it is only a small delight. Spam is a general weakness of the email system, because it can not prevent it.
    5.84  
    5.85 +\begin{quote}
    5.86 +Since receivers pay the bulk of the costs for spam (including most obviously their time to delete all that incoming spam), spam use will continue to rise until effective technical and legal countermeasures are deployed, or until people can no longer use email.
    5.87 +\url{http://www.dwheeler.com/guarded-email/guarded-email.html}
    5.88 +\end{quote}
    5.89 +
    5.90  Opportunities of the market are large data transfers, coming from multimedia content, which becomes popular. If email is used as basis for unified messaging, lots of voice and video mail will need to be transferred. Email is weak related to that kind of data: the data needs to be encoded to \NAME{ASCII} and and stresses mail servers a lot.
    5.91  
    5.92  The use of various hardware to access mail is another opportunity of the market. The software and infrastructure needed to transfer mail within this network might be a weakness of the email system. %fixme: think about that
    5.93 @@ -196,23 +148,7 @@
    5.94  
    5.95  \begin{figure}
    5.96  	\begin{center}
    5.97 -		\begin{verbatim}
    5.98 - ---------------------------------------------------
    5.99 -             |                  |                  |
   5.100 - strength    | standard         |                  |
   5.101 - of email    | modular,extensible|                  |
   5.102 -             |                  |                  |
   5.103 - ---------------------------------------------------
   5.104 -             | big data transfer|                  |
   5.105 - weaknesses  | too big for phone|                  |
   5.106 - of email    |                  | spam             |
   5.107 -             |                  |                  |
   5.108 - ---------------------------------------------------
   5.109 -             |                  |                  |
   5.110 -             | opportunities of | threats of       |
   5.111 -             | market           | market           |
   5.112 -             |                  |                  |
   5.113 -		\end{verbatim}
   5.114 +		\input{input/email-swot.tex}
   5.115  	\end{center}
   5.116  	\caption{\NAME{SWOT} analysis for email}
   5.117  	\label{fig:email-swot}
   5.118 @@ -253,7 +189,8 @@
   5.119  %FIXME: add reference to push email
   5.120  
   5.121  
   5.122 -\subsubsection*{Internet Mail 2000}
   5.123 +\subsubsection*{New email protocols}
   5.124 +
   5.125  Another concept to redesign the electronic mail system, but this time focused on mail transfer is named ``Internet Mail 2000''. It was proposed by Daniel J.\ Bernstein, the creator of \name{qmail}. Similar approaches were independently introduced by others too.
   5.126  
   5.127  As main change it makes the sender have the responsibility of mail storage; only a notification about a mail message gets send to the receiver, who can fetch the message then from the sender's server. This is in contrast to the \NAME{SMTP} mail architecture, where mail and the responsibility for it is transferred from the sender to the receiver.
   5.128 @@ -262,6 +199,9 @@
   5.129  %FIXME: add references for IM2000
   5.130  
   5.131  
   5.132 +%add ``guarded email'' by dwheeler
   5.133 +
   5.134 +%maybe add a third one
   5.135  
   5.136  
   5.137  
   5.138 @@ -276,6 +216,7 @@
   5.139  
   5.140  
   5.141  \section{What will be important}
   5.142 +\label{sec:what-will-be-important}
   5.143  Now that it is explained why email will survive (in some changed but related form), it is time to think about the properties required for \mta{}s in the next years. Because as the fields and kinds of usage change, the requirement change too.
   5.144  
   5.145  Provider independence through running an own mail server at home asks for easy configuration of the \MTA. Providers have specialists to configure the systems, but ordinary people do not. Solutions are either having some home service system for computer configuration established with specialists coming to ones home to set up the systems; like it is already common for problems with the power and water supply systems. Or configuration needs to be easy and fool-prove, to be done by the owner himself. The latter solution depends on standardized parts that fit together seamlessly. The technology must not be a problem itself. Only settings custom to the users environment should be left open for him to set. This of course needs to be doable using a simple configuration interface like a web interface. Non-technical educated users should be able to configure the system.
     6.1 --- a/thesis/tex/3-MailTransferAgents.tex	Sun Dec 07 17:29:29 2008 +0100
     6.2 +++ b/thesis/tex/3-MailTransferAgents.tex	Tue Dec 09 16:04:02 2008 +0100
     6.3 @@ -68,14 +68,13 @@
     6.4  \section{Popular MTAs}
     6.5  
     6.6  %todo: include market share analyses here
     6.7 +<< some info about market shares >>
     6.8  
     6.9  One would not use a program for a job it is not suited for. Therefor only \mta{}s that are mostly similar to \masqmail\ are regarded here. These are \emph{sendmail-compatible} ``smart'' \freesw\ \MTA{}s that focus on mail transfer.
    6.10  
    6.11  For the comparison, five programs are taken: \sendmail, \name{exim}, \name{qmail}, \name{postfix}, and \masqmail. The four alternatives to \masqmail\ are the most important representatives of the regarded group. % FIXME: add ref that affirm that
    6.12  
    6.13 -\name{courier-mta} is also a member of this group, being even closer to \name{groupware} than \name{postfix}. It is excluded here, because the \NAME{IMAP} and webmail parts of the mail server suite are more in focus than its \MTA. Common mail server setups even bundle \name{courier-imap} with \name{postfix}. %fixme: need this sentence?
    6.14 -
    6.15 -Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
    6.16 +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and \name{courier-mta}; they all are less important and rarely used.
    6.17  
    6.18  Following is a small introduction to each of the five programs chosen for comparison, except \masqmail\ which already was introduced in chapter \ref{chap:introduction}.
    6.19  
    6.20 @@ -140,51 +139,44 @@
    6.21  
    6.22  \section{Comparison of MTAs}
    6.23  
    6.24 -<< general fact in table \ref{tab:mta-comparison} >>
    6.25 +This section tries not to provide an overall \MTA\ comparison, because this is already done by others: Including 
    6.26  
    6.27 -Refer to \cite{hafiz05}.
    6.28 +\url{http://shearer.org/MTA_Comparison}
    6.29 +\url{http://www.geocities.com/mailsoftware42/}
    6.30 +\url{http://fanf.livejournal.com/50917.html}
    6.31 +\url{http://archives.neohapsis.com/archives/postfix/2006-07/1762.html}
    6.32 +
    6.33 +
    6.34 +For a discussion on \mta\ architectures (comparing \sendmail, \name{qmail}, \name{postfix}, and \name{sendmail X}) it is refered to Hafiz \cite{hafiz05}.
    6.35 +
    6.36 +Here provided is an overview on a selection of important properties, covering the four previously introduced programs. Table \ref{tab:mta-comparison} provides it.
    6.37 +
    6.38  
    6.39  \begin{table}
    6.40 -\begin{tabular}[hbt]{| p{0.13\textwidth} || p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} | p{0.13\textwidth} |}
    6.41 -\hline
    6.42 -
    6.43 -              & sendmail & exim & qmail & postfix & masqmail \\
    6.44 -\hline \hline
    6.45 -First release & 1983 & 1995 & 1996 & 1999 & 1999 \\
    6.46 -\hline
    6.47 -Lines of code (with sloccount on debian packages)& 93k & 54k & 18k & 92k & 14k \\
    6.48 -\hline
    6.49 -Architecture & monolithic & monolithic & modular & modular & monolithic \\
    6.50 -\hline
    6.51 -Design goals & flexibility & general, flexible \& extensive facilities for checking & security & performance and security & for non-permanent Internet connection \\
    6.52 -\hline
    6.53 -Market share (by Bernstein in 2001) & 42\% & 1.6\% & 17\% & 1.6\% & (unknown) \\
    6.54 -\hline
    6.55 -
    6.56 -\end{tabular}
    6.57 -\caption{Comparison of MTAs}
    6.58 -\label{tab:mta-comparison}
    6.59 +	\begin{center}
    6.60 +		\input{input/mta-comparison.tex}
    6.61 +	\end{center}
    6.62 +	\caption{Comparison of MTAs}
    6.63 +	\label{tab:mta-comparison}
    6.64  \end{table}
    6.65  
    6.66  
    6.67  \subsection{about market share}
    6.68 +\url{http://www.oreillynet.com/lpt/a/6849}
    6.69 +
    6.70 +\url{http://www.mailradar.com/mailstat/}
    6.71 +
    6.72 +Market share (by Bernstein in 2001): sendmail 42\% , exim 1.6\% , qmail 17\% , postfix 1.6\%.
    6.73 +masqmail has no relevant market share (debian popcon)
    6.74 +
    6.75 +
    6.76 +
    6.77  
    6.78  \subsection{About architecture}
    6.79  
    6.80  \subsection{Security comparison}
    6.81  
    6.82  
    6.83 -\url{http://shearer.org/MTA_Comparison}
    6.84 -
    6.85 -\url{http://www.geocities.com/mailsoftware42/}
    6.86 -
    6.87 -\url{http://fanf.livejournal.com/50917.html}
    6.88 -
    6.89 -\url{http://archives.neohapsis.com/archives/postfix/2006-07/1762.html}
    6.90 -
    6.91 -\url{http://www.oreillynet.com/lpt/a/6849}
    6.92 -
    6.93 -\url{http://www.mailradar.com/mailstat/}
    6.94  
    6.95  
    6.96  
    6.97 @@ -209,7 +201,7 @@
    6.98  
    6.99  << used it myself >>
   6.100  
   6.101 -<<  had problems with it >>
   6.102 +<< had problems with it >>
   6.103  
   6.104  
   6.105  
   6.106 @@ -226,7 +218,18 @@
   6.107  
   6.108  
   6.109  
   6.110 -<< from the practice of programming: are the names good? check the significant number of characters. (intern: 31char, extern: 6char caseless; ProgC p.184) >>
   6.111 +
   6.112 +
   6.113 +Ref back to \ref{sec:what-will-be-important}:
   6.114 +
   6.115 +provider indepencence -> easy config:
   6.116 +\sendmail\ and \name{qmail} appear to have bad positions at this point. Their configuration is complex, thus they would need simplification wrappers around them to provide easy configuration.
   6.117 +
   6.118 +performance not so important:
   6.119 +\name{postfix} focuses much on performance, this might not be an important point then.
   6.120 +
   6.121 +security:
   6.122 +It seems as if all widely used \mta{}s provide good security nowadays. \name{qmail}'s architecture, also used in \name{postfix}, is generally seen to be conceptually more secure, however.
   6.123  
   6.124  
   6.125  ---