docs/diploma

changeset 273:92578f124df6

reorganized the input files and sorted old ones out
author meillo@marmaro.de
date Thu, 15 Jan 2009 12:29:54 +0100
parents 2aad3d950640
children 56cc2f5755f8
files thesis/attic/ascii-pics/comm-classification.tex thesis/attic/ascii-pics/comm-lifecycle.tex thesis/attic/ascii-pics/email-swot.tex thesis/attic/ascii-pics/masqmail-arch-new.tex thesis/input/comm-classification.tex thesis/input/comm-lifecycle.tex thesis/input/email-swot.tex thesis/input/ipc-protocol.tex thesis/input/ipc-protocol.txt thesis/input/masqmail-arch-new.tex thesis/input/masqmail-arch.tex thesis/input/new-masqmail-queue.tex thesis/input/new-masqmail-queue.txt thesis/tex/5-Improvements.tex
diffstat 14 files changed, 147 insertions(+), 175 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/attic/ascii-pics/comm-classification.tex	Thu Jan 15 12:29:54 2009 +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/attic/ascii-pics/comm-lifecycle.tex	Thu Jan 15 12:29:54 2009 +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/attic/ascii-pics/email-swot.tex	Thu Jan 15 12:29:54 2009 +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/attic/ascii-pics/masqmail-arch-new.tex	Thu Jan 15 12:29:54 2009 +0100
     4.3 @@ -0,0 +1,48 @@
     4.4 +% masqmail-arch-new
     4.5 +{
     4.6 +%\scriptsize
     4.7 +
     4.8 +% +----------+                                                                                 +------+
     4.9 +% | sendmail |-+                                                                            +->| pipe |
    4.10 +% +----------+ |                                                                            |  +------+
    4.11 +%              |                                                                            |
    4.12 +% +-------+    |  +----------+    ==========    +----------+    ==========    +-----------+ |  +------+
    4.13 +% | smtpd |----+->| queue-in |---> incoming --->| scanning |---> outgoing --->| queue-out |-+->| smtp |
    4.14 +% +-------+    |  +----------+    ==========    +----------+    ==========    +-----------+ |  +------+
    4.15 +%              .                                                                            .
    4.16 +%              .                                                                            .
    4.17 +
    4.18 +\begin{verbatim}
    4.19 +
    4.20 + +----------+
    4.21 + | sendmail |-+
    4.22 + +----------+ |
    4.23 +              |
    4.24 + +-------+    |  +----------+
    4.25 + | smtpd |----+->| queue-in |--+
    4.26 + +-------+    |  +----------+  |
    4.27 +              .                |
    4.28 +              .                V
    4.29 +                          ==========
    4.30 +                           incoming
    4.31 +                          ==========
    4.32 +                               |
    4.33 +                               V
    4.34 +                          +----------+
    4.35 +                          | scanning |
    4.36 +                          +----------+
    4.37 +                                |
    4.38 +                                V
    4.39 +                            ==========
    4.40 +                             outgoing               +------+
    4.41 +                            ==========           +->| pipe |
    4.42 +                                |                |  +------+
    4.43 +                                |                |
    4.44 +                                |  +-----------+ |  +------+
    4.45 +                                +->| queue-out |-+->| smtp |
    4.46 +                                   +-----------+ |  +------+
    4.47 +                                                 .
    4.48 +                                                 .
    4.49 +
    4.50 +\end{verbatim}
    4.51 +}
     5.1 --- a/thesis/input/comm-classification.tex	Thu Jan 15 12:20:21 2009 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,30 +0,0 @@
     5.4 -\karnaughmap{2}{}{
     5.5 -  {\parbox{\kvunitlength}{asynchronous\\(messages)}}
     5.6 -  {written}
     5.7 -  {\parbox{\kvunitlength}{synchronous\\(dialog)}}
     5.8 -  {recorded}
     5.9 -}{
    5.10 -	{\parbox{0.8\kvunitlength}{email\\\NAME{SMS}}}
    5.11 -	{\parbox{0.8\kvunitlength}{voice mail\\video messages}}
    5.12 -	{\parbox{0.8\kvunitlength}{\NAME{IM}\\chat}}
    5.13 -	{\parbox{0.8\kvunitlength}{VoIP\\video conferencing}}
    5.14 -}{}
    5.15 -
    5.16 -
    5.17 -
    5.18 -%\begin{verbatim}
    5.19 -% ---------------------------------------------------
    5.20 -%             |                  |                  |
    5.21 -% messages    |  email           | voicemail        |
    5.22 -% asynchron   |  SMS             | video messages   |
    5.23 -%             |                  |                  |
    5.24 -% ---------------------------------------------------
    5.25 -%             |                  |                  |
    5.26 -% dialog      |  IM              | VoIP             |
    5.27 -% synchron    |  chat            | video conference |
    5.28 -%             |                  |                  |
    5.29 -% ---------------------------------------------------
    5.30 -%             |                  |                  |
    5.31 -%             | written          | recorded         |
    5.32 -%             |                  |                  |
    5.33 -%\end{verbatim}
     6.1 --- a/thesis/input/comm-lifecycle.tex	Thu Jan 15 12:20:21 2009 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,20 +0,0 @@
     6.4 -\begin{verbatim}
     6.5 -|            |             |          |    *******  |          |
     6.6 -|            |             |          |*#**       **|  telefax |
     6.7 -|            |             |      ***** email       ***#**     |
     6.8 -|            |             |    **    |             |     *****|
     6.9 -|            |             |*#**      |             |          |
    6.10 -|            |           *** IM       |             |          |
    6.11 -|            |         **  |          |             |          |
    6.12 -|            |      *#*    |          |             |          |
    6.13 -|            |    ** VoIP  |          |             |          |
    6.14 -|            |  **         |          |             |          |
    6.15 -|        voice *           |          |             |          |
    6.16 -| video  mail**            |          |             |          |
    6.17 -| mess.   #**|             |          |             |          |
    6.18 -|    #****   |             |          |             |          |
    6.19 -|****        |             |          |             |          |
    6.20 -----------------------------------------------------------------
    6.21 -|            |             |          |             |          |
    6.22 -| introduct. | growth      | mature   | saturation  | decline  |
    6.23 -\end{verbatim}
     7.1 --- a/thesis/input/email-swot.tex	Thu Jan 15 12:20:21 2009 +0100
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,17 +0,0 @@
     7.4 -\begin{verbatim}
     7.5 - ----------------------------------------------------
     7.6 -             |                   |                  |
     7.7 - strength    | standard          |                  |
     7.8 - of email    | modular,extensible|                  |
     7.9 -             |                   |                  |
    7.10 - ----------------------------------------------------
    7.11 -             | big data transfer |                  |
    7.12 - weaknesses  | too big for phone |                  |
    7.13 - of email    |                   | spam             |
    7.14 -             |                   |                  |
    7.15 - ----------------------------------------------------
    7.16 -             |                   |                  |
    7.17 -             | opportunities of  | threats of       |
    7.18 -             | market            | market           |
    7.19 -             |                   |                  |
    7.20 -\end{verbatim}
     8.1 --- a/thesis/input/ipc-protocol.tex	Thu Jan 15 12:20:21 2009 +0100
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,19 +0,0 @@
     8.4 -% ipc-protocol
     8.5 -
     8.6 -\begin{verbatim}
     8.7 -
     8.8 - +---+ connect  +---+  0  +---+ send  +---+  0  +---+ send  +---+  0  +---+
     8.9 - | B |--------->| W |---->|   |------>| W |---->|   |------>| W |---->| S |
    8.10 - +---+ attempt  +---+     +---+ hdr   +---+     +---+ data  +---+     +---+
    8.11 -                  |                     |                     |
    8.12 -                  | 1                   | 1                   | 1
    8.13 -                  V                     V                     V
    8.14 -                +---+                 +---+                 +---+
    8.15 -                | E |                 | E |                 | E |
    8.16 -                +---+                 +---+                 +---+
    8.17 -
    8.18 -B: begin
    8.19 -W: wait
    8.20 -E: error
    8.21 -S: success
    8.22 -\end{verbatim}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/thesis/input/ipc-protocol.txt	Thu Jan 15 12:29:54 2009 +0100
     9.3 @@ -0,0 +1,15 @@
     9.4 +
     9.5 + +---+ connect  +---+  0  +---+ send  +---+  0  +---+ send  +---+  0  +---+
     9.6 + | B |--------->| W |---->|   |------>| W |---->|   |------>| W |---->| S |
     9.7 + +---+ attempt  +---+     +---+ hdr   +---+     +---+ data  +---+     +---+
     9.8 +                  |                     |                     |
     9.9 +                  | 1                   | 1                   | 1
    9.10 +                  V                     V                     V
    9.11 +                +---+                 +---+                 +---+
    9.12 +                | E |                 | E |                 | E |
    9.13 +                +---+                 +---+                 +---+
    9.14 +
    9.15 +B: begin
    9.16 +W: wait
    9.17 +E: error
    9.18 +S: success
    10.1 --- a/thesis/input/masqmail-arch-new.tex	Thu Jan 15 12:20:21 2009 +0100
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,48 +0,0 @@
    10.4 -% masqmail-arch-new
    10.5 -{
    10.6 -%\scriptsize
    10.7 -
    10.8 -% +----------+                                                                                 +------+
    10.9 -% | sendmail |-+                                                                            +->| pipe |
   10.10 -% +----------+ |                                                                            |  +------+
   10.11 -%              |                                                                            |
   10.12 -% +-------+    |  +----------+    ==========    +----------+    ==========    +-----------+ |  +------+
   10.13 -% | smtpd |----+->| queue-in |---> incoming --->| scanning |---> outgoing --->| queue-out |-+->| smtp |
   10.14 -% +-------+    |  +----------+    ==========    +----------+    ==========    +-----------+ |  +------+
   10.15 -%              .                                                                            .
   10.16 -%              .                                                                            .
   10.17 -
   10.18 -\begin{verbatim}
   10.19 -
   10.20 - +----------+
   10.21 - | sendmail |-+
   10.22 - +----------+ |
   10.23 -              |
   10.24 - +-------+    |  +----------+
   10.25 - | smtpd |----+->| queue-in |--+
   10.26 - +-------+    |  +----------+  |
   10.27 -              .                |
   10.28 -              .                V
   10.29 -                          ==========
   10.30 -                           incoming
   10.31 -                          ==========
   10.32 -                               |
   10.33 -                               V
   10.34 -                          +----------+
   10.35 -                          | scanning |
   10.36 -                          +----------+
   10.37 -                                |
   10.38 -                                V
   10.39 -                            ==========
   10.40 -                             outgoing               +------+
   10.41 -                            ==========           +->| pipe |
   10.42 -                                |                |  +------+
   10.43 -                                |                |
   10.44 -                                |  +-----------+ |  +------+
   10.45 -                                +->| queue-out |-+->| smtp |
   10.46 -                                   +-----------+ |  +------+
   10.47 -                                                 .
   10.48 -                                                 .
   10.49 -
   10.50 -\end{verbatim}
   10.51 -}
    11.1 --- a/thesis/input/masqmail-arch.tex	Thu Jan 15 12:20:21 2009 +0100
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,16 +0,0 @@
    11.4 -\begin{verbatim}
    11.5 - +-------------------------------------------------+
    11.6 - |                                                 |
    11.7 - |                                                 |
    11.8 - |                                                 |
    11.9 - |                                                 |
   11.10 - |            masqmail's architecture              |
   11.11 - |                                                 |
   11.12 - |                                                 |
   11.13 - |                                                 |
   11.14 - |                                                 |
   11.15 - |                                                 |
   11.16 - |                                                 |
   11.17 - |                                                 |
   11.18 - +-------------------------------------------------+
   11.19 -\end{verbatim}
    12.1 --- a/thesis/input/new-masqmail-queue.tex	Thu Jan 15 12:20:21 2009 +0100
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,15 +0,0 @@
    12.4 -% new-masqmail-queue
    12.5 -
    12.6 -\begin{verbatim}
    12.7 -$ tree -up /var/spool/masqmail
    12.8 -.
    12.9 -|-- [drwx------ masqmail]  incoming
   12.10 -|   `-- [-rwx------ masqmail]  1LGtAw-0pL-00
   12.11 -|-- [drwx------ masqmail]  outgoing
   12.12 -|   `-- [-rwx------ masqmail]  5TGi2t-0pA-01
   12.13 -`-- [drwx------ masqmail]  pool
   12.14 -    |-- [-rwx------ masqmail]  1LGtAw-0pL-00
   12.15 -    `-- [-rwx------ masqmail]  5TGi2t-0pA-01
   12.16 -
   12.17 -3 directories, 4 files
   12.18 -\end{verbatim}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/thesis/input/new-masqmail-queue.txt	Thu Jan 15 12:29:54 2009 +0100
    13.3 @@ -0,0 +1,11 @@
    13.4 +$ tree -up /var/spool/masqmail
    13.5 +.
    13.6 +|-- [drwx------ masqmail]  incoming
    13.7 +|   `-- [-rwx------ masqmail]  1LGtAw-0pL-00
    13.8 +|-- [drwx------ masqmail]  outgoing
    13.9 +|   `-- [-rwx------ masqmail]  5TGi2t-0pA-01
   13.10 +`-- [drwx------ masqmail]  pool
   13.11 +    |-- [-rwx------ masqmail]  1LGtAw-0pL-00
   13.12 +    `-- [-rwx------ masqmail]  5TGi2t-0pA-01
   13.13 +
   13.14 +3 directories, 4 files
    14.1 --- a/thesis/tex/5-Improvements.tex	Thu Jan 15 12:20:21 2009 +0100
    14.2 +++ b/thesis/tex/5-Improvements.tex	Thu Jan 15 12:29:54 2009 +0100
    14.3 @@ -381,7 +381,8 @@
    14.4  
    14.5  \begin{figure}
    14.6  	\begin{center}
    14.7 -		\input{input/ipc-protocol.tex}
    14.8 +		\codeinput{input/ipc-protocol.txt}
    14.9 +		%\includegraphics[scale=0.75]{img/ipc-protocol.eps}
   14.10  	\end{center}
   14.11  	\caption{State diagram of the protocol used for \NAME{IPC}}
   14.12  	\label{fig:ipc-protocol}
   14.13 @@ -412,7 +413,7 @@
   14.14  
   14.15  \begin{figure}
   14.16  	\begin{center}
   14.17 -		\input{input/queue-data-flow.tex}
   14.18 +		%\input{img/queue-data-flow.eps}
   14.19  	\end{center}
   14.20  	\caption{Data flow of messages in the queue}
   14.21  	\label{fig:queue-data-flow}
   14.22 @@ -459,7 +460,7 @@
   14.23  
   14.24  The user set required for \qmail\ seems to be too complex. One special user, like \postfix\ uses, is more appropriate. \name{root} privilege and \name{setuid} permission is avoided as much as possible.
   14.25  
   14.26 -Table \ref{tab:new-masqmail-permissions} shows the suggested ownership and permissions of the modules. Figure \ref{fig:new-masqmail-queue} shows the permissions and ownership used for the queue.
   14.27 +Table \ref{tab:new-masqmail-permissions} shows the suggested ownership and permissions of the modules.
   14.28  
   14.29  \begin{table}
   14.30  	\begin{center}
   14.31 @@ -469,13 +470,8 @@
   14.32  	\label{tab:new-masqmail-permission}
   14.33  \end{table}
   14.34  
   14.35 -\begin{figure}
   14.36 -	\begin{center}
   14.37 -		\input{input/new-masqmail-queue.tex}
   14.38 -	\end{center}
   14.39 -	\caption{Ownership and permissions of the queue}
   14.40 -	\label{fig:new-masqmail-queue}
   14.41 -\end{figure}
   14.42 +These are the permissions and ownership used for the queue:
   14.43 +\codeinput{input/new-masqmail-queue.txt}
   14.44  
   14.45  
   14.46