JulianKropp
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Netzwerke Praktikum 2.2 Kropp Julian, Matr.Nr.770210 Dettmers Tobias, Matr.Nr.771618 2021-04-29 Prof. Dr. Andreas Heinemann ## 1 Praitätsbit Nein, der Empfänger wird den Fehler nicht erkennen, da eine gerade Anzahl an Bits geflipped ist und damit immernoch gerade ist. `10101010` => `10011010` Vorher: 4 Einsen => Gerade Nachher: 4 Einsen => Gerade ## 2 ### a) CRC-Wert Data: `10010011011` Generatorpolynom: `P(x) = x^4 + x + 1` => `10011` ``` 100100110110000 : 10011 = ... 10011 ----- 10110 10011 ----- 10111 10011 ----- 10000 10011 ----- 1100 <- Rest/ Code / Prüfbits (CRC-Wert) ``` => Nachricht: `10010011011 1100` ### b) Fehlermuster Nachricht: `10010011011 1100` Fehlermuster: `10001000000 0000` Empfangen: `00011011011 1100` ``` 000110110111100 : 10011 = ... 10011 ----- 10000 10011 ----- 0011111 10011 ----- 11001 10011 ----- 10100 10011 ----- 01110 0000 ---- 1110 <- Fehler erkannt ``` ### c) Fehlermuster2 Nachricht: `10010011011 1100` Fehlermuster: `10011000000 0000` Empfangen: `00001011011 1100` ``` 000010110111100 : 10011 = ... 10011 ----- 10111 10011 ----- 010011 10011 ----- 000000 00000 ----- 0000 <- Fehler nicht erkannt ``` ### d) Bündelfehler Bündelfehler der Länge <= Grad des Prüfpolynoms werden immer erkannt. ## 3 ### a) Cyclic Redundancy Check | | bit 3 | bit 2 | bit 1 | |---------|-------|-------|-------| | initial | 0 | 0 | 0 | | Schrit1 | 0 | 0 | 1 | | Schrit2 | 0 | 1 | 0 | | Schrit3 | 1 | 0 | 1 | | Schrit4 | 0 | 0 | 1 | | Schrit5 | 0 | 1 | 0 | | Schrit6 | 1 | 0 | 0 | | Schrit7 | 0 | 1 | 1 | ### b) Code word Code word: `011` ## 4 ### a) IP-Adresse ![](https://i.imgur.com/VeUdhjn.png) Betriebssystem: Linux IPv4: `192.168.178.93` IPv6: `2003:e0:3743:b700:eb88:6b41:1edb:2043` Mac Adresse: `40:ec:99:31:e0:61` ### b) Aufzeichnung ![](https://i.imgur.com/r3wvYVb.png) ### c) ICMP Echo request Pakete IPv4: `icmp.type == 8` IPv6: `icmpv6.type == 128` ![](https://i.imgur.com/IZ0qTAG.png) ### d) Prüfsummen auf Layer 2? In den aufgezeichneten Frames sind keine Prüfsummen vorhanden, da diese von der NIC automatisch überprüft und gestripped werden bevor sie in höher-leveligen Anwendungen wie etwa dem Kernel oder Wireshark ankommen (https://wiki.wireshark.org/Ethernet). Auf Layer 2 befindet sich in Wireshark keine Prüfsummen(siehe Bild in 4c). ### e) ICMP Echo Paketen IPv4: `icmp.type == 9` IPv6: `icmpv6.type == 129` ![](https://i.imgur.com/Jkupr9t.png) ### f) Prüfsumme? Es ist keine Prüfsumme zu sehen. Siehe Aufgabe 4d). ### g) Prüfsummen berechnung Im ICMP Paket befindet sich eine Prüfsumme auf Layer 3 (Checksum: 0x1c6e [correct]). Diese 16-bit Prüfsumme wird wie folgt berechnet: Sender: 1. Teile den ICMP header in 16-bit teile auf 2. Addiere die 16 Bit Blöcke zusammen(XOR mit übertrag) 3. Flip alle Bits. Das Ergebnis ist die Checksumm ![](https://i.imgur.com/AzsdYDq.png) Empfänger: 1. Teile den ICMP header in 16-bit teile auf 2. Addiere die 16 Bit Blöcke zusammen(XOR mit übertrag) 3. XOR das Ergebnis mit der Checksumm. Das Ergebnis sollte aus nur Einsen bestehen ![](https://i.imgur.com/hpiddKd.png) Eine falsche Prüfsumme bedeutet, dass ein übertragungsfehler aufgetreten ist. Eine korrekte Prüfsumme deutet auf einen eine korrekte Übertragung hin. ## 5 ### b) Beacon frames `wlan.fc.type_subtype == 0x0008` ![](https://i.imgur.com/upeIuxn.png) ### c) Prüfsumme? `Frame check sequence: 0x2604202b [unverified]` (Siehe Bild in 5b). ### d) SSIDs 1. `WLAN-770493` 2. `DIRECT-9C-HP Officejet 5740` 3. `UPC8863699` 4. `Vodafone Hotspot` 5. `TP-LINK_AP_FBE676` ### e) RTS und CTS `wlan.fc.type_subtype == 0x001b || wlan.fc.type_subtype == 0x001c` ![](https://i.imgur.com/HOWPMvu.png) ### f) CTS Frame `Duration: 320 microseconds` ![](https://i.imgur.com/Zm7oPFx.png) ![](https://i.imgur.com/ORzQF2B.png) ## Quellen - https://www.overcoded.net/internet-checksum-calculation-steps-044921/ - https://stackoverflow.com/questions/20247551/icmp-echo-checksum#:~:text=The%2016-bit%20one%27s%20complement,and%20inserted%20into%20this%20field.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully