You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

158 lines
4.2 KiB

%% HINWEISE:
%% Hier müssen folgende Einstellungen vorgenommen werden:
\newif\ifeng
%% Sprache:
%% Falls die Dokumentensprache Englisch ist \engfalse mit einem %-Zeichen
%%%davor auskommentieren, falls Deutsch \engtrue auskommentieren:
%\engtrue
\input{header}
\title{Network}
\subtitle{}
\author{Michael Preisach}
\institute{}
\date{May 17 2019}
%%%%
%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%
%%%%
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{logos/hacker_flyer_bg_cmyk_slide.jpg}}
\begin{frame}[plain]
\titlepage
\end{frame}
}
\section{Networking Basics}
\begin{frame}
\frametitle{Networking Basics}
\begin{itemize}
\item How do you get the traffic between Alice and Bob?
\end{itemize}
\vfill
\begin{center}
\begin{tikzpicture}[scale=0.8]
\Vertex[ x=0, y=0, color=sigflagblue]{A}
\Vertex[ x=6, y=0, color=sigflagblue]{B}
\Vertex[ x=3, y=-3, Pseudo]{C}
\Vertex[ x=3, y=0, opacity=0, style={color=sigflagblue}]{D}
\Text[ x=0, y=0,color=white, position=above,distance=5mm]{\texttt{Alice}}
\Text[ x=6, y=0,color=white, position=above,distance=5mm]{\texttt{Bob}}
\Edge[color=white,Direct](C)(D)
\Edge[color=white](A)(B)
\Plane[x=-2.75, y=2.25, width=1.5, height=1.5,image=logos/thinkface, NoBorder]
\Text[ x=3, y=-3.5,color=white]{\texttt{Charlie}}
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}
\frametitle{Networking Basics}
\begin{itemize}
\item Alice and Bob are connected directly:
\begin{itemize}
\item Use two bridged interfaces on your computer and connect them to Alice and Bob
\end{itemize}
\item Alice and Bob are connected via a hub
\begin{itemize}
\item Just plug in to one port of the hub
\end{itemize}
\end{itemize}
\vfill
\begin{center}
\begin{tikzpicture}[scale=0.8]
\Vertex[ x=0, y=0, color=sigflagblue]{A}
\Vertex[ x=6, y=0, color=sigflagblue]{B}
\Vertex[ x=3, y=-3, Pseudo]{C}
\Vertex[ x=3, y=0, opacity=0, style={color=sigflagblue}]{D}
\Text[ x=0, y=0,color=white, position=below,distance=5mm]{\texttt{Alice}}
\Text[ x=6, y=0,color=white, position=below,distance=5mm]{\texttt{Bob}}
\Edge[color=white,Direct](C)(D)
\Edge[color=white](A)(B)
\Plane[x=-3, y=2, width=2, height=2,image=logos/trollface, NoBorder]
\Text[ x=3, y=-3.5,color=white]{\texttt{Charlie}}
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}
\frametitle{Networking Basics}
\begin{itemize}
\item Alice and Bob are connected via a switch:
\begin{itemize}
\item Managed switch: Mirror the port of either Alice or Bob to Charlie
\item Unmanaged switch: use a managed switch
\end{itemize}
\end{itemize}
\vfill
\begin{center}
\begin{tikzpicture}[scale=0.8]
\Vertex[ x=0, y=0, color=sigflagblue]{A}
\Vertex[ x=6, y=0, color=sigflagblue]{B}
\Vertex[ x=3, y=-3, Pseudo]{C}
\Vertex[ x=3, y=0, opacity=0, style={color=sigflagblue}]{D}
\Text[ x=0, y=0,color=white, position=below,distance=5mm]{\texttt{Alice}}
\Text[ x=6, y=0,color=white, position=below,distance=5mm]{\texttt{Bob}}
\Edge[color=white,Direct](C)(D)
\Edge[color=white](A)(B)
\Plane[x=-3, y=2, width=2, height=2,image=logos/trollface, NoBorder]
\Text[ x=3, y=-3.5,color=white]{\texttt{Charlie}}
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}
\frametitle{Networking Basics}
\begin{itemize}
\item How do you capture the traffic?
\begin{itemize}
\item tcpdump (CLI)
\item Wireshark (GUI)
\end{itemize}
\end{itemize}
\vfill
\begin{block}{Example: Capturing traffic from \texttt{eth0}}
\lstinputlisting[language=bash,numbers=none]{sources/tcpdump.sh}
\end{block}
\end{frame}
\section{Wireshark}
\begin{frame}
\frametitle{Wireshark}
\begin{itemize}
\item How do you capture the traffic?
\begin{itemize}
\item tcpdump (CLI)
\item Wireshark (GUI)
\end{itemize}
\end{itemize}
\vfill
\begin{block}{Example: Capturing traffic from \texttt{eth0}}
\lstinputlisting[language=bash,numbers=none]{sources/tcpdump.sh}
\end{block}
\end{frame}
\section{Wireshark}
\begin{frame}
\frametitle{Wireshark}
\begin{itemize}
\item Find the interesting parts in a dump: Filter packets
\begin{itemize}
\item tcpdump (CLI)
\item Wireshark (GUI)
\end{itemize}
\end{itemize}
\vfill
\begin{block}{Example: Capturing traffic from \texttt{eth0}}
\lstinputlisting[language=bash,numbers=none]{sources/tcpdump.sh}
\end{block}
\end{frame}
\end{document}