# HG changeset patch # User meillo@marmaro.de # Date 1232018994 -3600 # Node ID 92578f124df6ee8dd0c19eeb798bda126b1ef1eb # Parent 2aad3d950640d77642e8683a8c7613a64e04e421 reorganized the input files and sorted old ones out diff -r 2aad3d950640 -r 92578f124df6 thesis/attic/ascii-pics/comm-classification.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/attic/ascii-pics/comm-classification.tex Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,30 @@ +\karnaughmap{2}{}{ + {\parbox{\kvunitlength}{asynchronous\\(messages)}} + {written} + {\parbox{\kvunitlength}{synchronous\\(dialog)}} + {recorded} +}{ + {\parbox{0.8\kvunitlength}{email\\\NAME{SMS}}} + {\parbox{0.8\kvunitlength}{voice mail\\video messages}} + {\parbox{0.8\kvunitlength}{\NAME{IM}\\chat}} + {\parbox{0.8\kvunitlength}{VoIP\\video conferencing}} +}{} + + + +%\begin{verbatim} +% --------------------------------------------------- +% | | | +% messages | email | voicemail | +% asynchron | SMS | video messages | +% | | | +% --------------------------------------------------- +% | | | +% dialog | IM | VoIP | +% synchron | chat | video conference | +% | | | +% --------------------------------------------------- +% | | | +% | written | recorded | +% | | | +%\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/attic/ascii-pics/comm-lifecycle.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/attic/ascii-pics/comm-lifecycle.tex Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,20 @@ +\begin{verbatim} +| | | | ******* | | +| | | |*#** **| telefax | +| | | ***** email ***#** | +| | | ** | | *****| +| | |*#** | | | +| | *** IM | | | +| | ** | | | | +| | *#* | | | | +| | ** VoIP | | | | +| | ** | | | | +| voice * | | | | +| video mail** | | | | +| mess. #**| | | | | +| #**** | | | | | +|**** | | | | | +---------------------------------------------------------------- +| | | | | | +| introduct. | growth | mature | saturation | decline | +\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/attic/ascii-pics/email-swot.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/attic/ascii-pics/email-swot.tex Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,17 @@ +\begin{verbatim} + ---------------------------------------------------- + | | | + strength | standard | | + of email | modular,extensible| | + | | | + ---------------------------------------------------- + | big data transfer | | + weaknesses | too big for phone | | + of email | | spam | + | | | + ---------------------------------------------------- + | | | + | opportunities of | threats of | + | market | market | + | | | +\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/attic/ascii-pics/masqmail-arch-new.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/attic/ascii-pics/masqmail-arch-new.tex Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,48 @@ +% masqmail-arch-new +{ +%\scriptsize + +% +----------+ +------+ +% | sendmail |-+ +->| pipe | +% +----------+ | | +------+ +% | | +% +-------+ | +----------+ ========== +----------+ ========== +-----------+ | +------+ +% | smtpd |----+->| queue-in |---> incoming --->| scanning |---> outgoing --->| queue-out |-+->| smtp | +% +-------+ | +----------+ ========== +----------+ ========== +-----------+ | +------+ +% . . +% . . + +\begin{verbatim} + + +----------+ + | sendmail |-+ + +----------+ | + | + +-------+ | +----------+ + | smtpd |----+->| queue-in |--+ + +-------+ | +----------+ | + . | + . V + ========== + incoming + ========== + | + V + +----------+ + | scanning | + +----------+ + | + V + ========== + outgoing +------+ + ========== +->| pipe | + | | +------+ + | | + | +-----------+ | +------+ + +->| queue-out |-+->| smtp | + +-----------+ | +------+ + . + . + +\end{verbatim} +} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/comm-classification.tex --- a/thesis/input/comm-classification.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -\karnaughmap{2}{}{ - {\parbox{\kvunitlength}{asynchronous\\(messages)}} - {written} - {\parbox{\kvunitlength}{synchronous\\(dialog)}} - {recorded} -}{ - {\parbox{0.8\kvunitlength}{email\\\NAME{SMS}}} - {\parbox{0.8\kvunitlength}{voice mail\\video messages}} - {\parbox{0.8\kvunitlength}{\NAME{IM}\\chat}} - {\parbox{0.8\kvunitlength}{VoIP\\video conferencing}} -}{} - - - -%\begin{verbatim} -% --------------------------------------------------- -% | | | -% messages | email | voicemail | -% asynchron | SMS | video messages | -% | | | -% --------------------------------------------------- -% | | | -% dialog | IM | VoIP | -% synchron | chat | video conference | -% | | | -% --------------------------------------------------- -% | | | -% | written | recorded | -% | | | -%\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/comm-lifecycle.tex --- a/thesis/input/comm-lifecycle.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -\begin{verbatim} -| | | | ******* | | -| | | |*#** **| telefax | -| | | ***** email ***#** | -| | | ** | | *****| -| | |*#** | | | -| | *** IM | | | -| | ** | | | | -| | *#* | | | | -| | ** VoIP | | | | -| | ** | | | | -| voice * | | | | -| video mail** | | | | -| mess. #**| | | | | -| #**** | | | | | -|**** | | | | | ----------------------------------------------------------------- -| | | | | | -| introduct. | growth | mature | saturation | decline | -\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/email-swot.tex --- a/thesis/input/email-swot.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -\begin{verbatim} - ---------------------------------------------------- - | | | - strength | standard | | - of email | modular,extensible| | - | | | - ---------------------------------------------------- - | big data transfer | | - weaknesses | too big for phone | | - of email | | spam | - | | | - ---------------------------------------------------- - | | | - | opportunities of | threats of | - | market | market | - | | | -\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/ipc-protocol.tex --- a/thesis/input/ipc-protocol.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -% ipc-protocol - -\begin{verbatim} - - +---+ connect +---+ 0 +---+ send +---+ 0 +---+ send +---+ 0 +---+ - | B |--------->| W |---->| |------>| W |---->| |------>| W |---->| S | - +---+ attempt +---+ +---+ hdr +---+ +---+ data +---+ +---+ - | | | - | 1 | 1 | 1 - V V V - +---+ +---+ +---+ - | E | | E | | E | - +---+ +---+ +---+ - -B: begin -W: wait -E: error -S: success -\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/ipc-protocol.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/input/ipc-protocol.txt Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,15 @@ + + +---+ connect +---+ 0 +---+ send +---+ 0 +---+ send +---+ 0 +---+ + | B |--------->| W |---->| |------>| W |---->| |------>| W |---->| S | + +---+ attempt +---+ +---+ hdr +---+ +---+ data +---+ +---+ + | | | + | 1 | 1 | 1 + V V V + +---+ +---+ +---+ + | E | | E | | E | + +---+ +---+ +---+ + +B: begin +W: wait +E: error +S: success diff -r 2aad3d950640 -r 92578f124df6 thesis/input/masqmail-arch-new.tex --- a/thesis/input/masqmail-arch-new.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -% masqmail-arch-new -{ -%\scriptsize - -% +----------+ +------+ -% | sendmail |-+ +->| pipe | -% +----------+ | | +------+ -% | | -% +-------+ | +----------+ ========== +----------+ ========== +-----------+ | +------+ -% | smtpd |----+->| queue-in |---> incoming --->| scanning |---> outgoing --->| queue-out |-+->| smtp | -% +-------+ | +----------+ ========== +----------+ ========== +-----------+ | +------+ -% . . -% . . - -\begin{verbatim} - - +----------+ - | sendmail |-+ - +----------+ | - | - +-------+ | +----------+ - | smtpd |----+->| queue-in |--+ - +-------+ | +----------+ | - . | - . V - ========== - incoming - ========== - | - V - +----------+ - | scanning | - +----------+ - | - V - ========== - outgoing +------+ - ========== +->| pipe | - | | +------+ - | | - | +-----------+ | +------+ - +->| queue-out |-+->| smtp | - +-----------+ | +------+ - . - . - -\end{verbatim} -} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/masqmail-arch.tex --- a/thesis/input/masqmail-arch.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -\begin{verbatim} - +-------------------------------------------------+ - | | - | | - | | - | | - | masqmail's architecture | - | | - | | - | | - | | - | | - | | - | | - +-------------------------------------------------+ -\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/new-masqmail-queue.tex --- a/thesis/input/new-masqmail-queue.tex Thu Jan 15 12:20:21 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -% new-masqmail-queue - -\begin{verbatim} -$ tree -up /var/spool/masqmail -. -|-- [drwx------ masqmail] incoming -| `-- [-rwx------ masqmail] 1LGtAw-0pL-00 -|-- [drwx------ masqmail] outgoing -| `-- [-rwx------ masqmail] 5TGi2t-0pA-01 -`-- [drwx------ masqmail] pool - |-- [-rwx------ masqmail] 1LGtAw-0pL-00 - `-- [-rwx------ masqmail] 5TGi2t-0pA-01 - -3 directories, 4 files -\end{verbatim} diff -r 2aad3d950640 -r 92578f124df6 thesis/input/new-masqmail-queue.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/input/new-masqmail-queue.txt Thu Jan 15 12:29:54 2009 +0100 @@ -0,0 +1,11 @@ +$ tree -up /var/spool/masqmail +. +|-- [drwx------ masqmail] incoming +| `-- [-rwx------ masqmail] 1LGtAw-0pL-00 +|-- [drwx------ masqmail] outgoing +| `-- [-rwx------ masqmail] 5TGi2t-0pA-01 +`-- [drwx------ masqmail] pool + |-- [-rwx------ masqmail] 1LGtAw-0pL-00 + `-- [-rwx------ masqmail] 5TGi2t-0pA-01 + +3 directories, 4 files diff -r 2aad3d950640 -r 92578f124df6 thesis/tex/5-Improvements.tex --- a/thesis/tex/5-Improvements.tex Thu Jan 15 12:20:21 2009 +0100 +++ b/thesis/tex/5-Improvements.tex Thu Jan 15 12:29:54 2009 +0100 @@ -381,7 +381,8 @@ \begin{figure} \begin{center} - \input{input/ipc-protocol.tex} + \codeinput{input/ipc-protocol.txt} + %\includegraphics[scale=0.75]{img/ipc-protocol.eps} \end{center} \caption{State diagram of the protocol used for \NAME{IPC}} \label{fig:ipc-protocol} @@ -412,7 +413,7 @@ \begin{figure} \begin{center} - \input{input/queue-data-flow.tex} + %\input{img/queue-data-flow.eps} \end{center} \caption{Data flow of messages in the queue} \label{fig:queue-data-flow} @@ -459,7 +460,7 @@ 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. -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. +Table \ref{tab:new-masqmail-permissions} shows the suggested ownership and permissions of the modules. \begin{table} \begin{center} @@ -469,13 +470,8 @@ \label{tab:new-masqmail-permission} \end{table} -\begin{figure} - \begin{center} - \input{input/new-masqmail-queue.tex} - \end{center} - \caption{Ownership and permissions of the queue} - \label{fig:new-masqmail-queue} -\end{figure} +These are the permissions and ownership used for the queue: +\codeinput{input/new-masqmail-queue.txt}