nelsonlai
    • 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
    # 進度 ## 必備知識(自行規劃時間看) - [ ] dpdk 介紹&功能&定位 - [ ] dpdk 下載&編譯&hello_world - [ ] Deep Packet Inspection - [ ] OSI model - [ ] Linux kerenl protocol stack - [ ] L2 protocol - [ ] IPv4 - [ ] TCP - [ ] nDPI ## 每周進度 ### ~ 2/13 : * git 指令、操作 * Makefile 撰寫 * gcc **Homework:** 1. 創一個 github 帳號,建立一個`itlab_git_practice`的專案,新增一個分支並命名為`develop`。 2. 用 C 語言寫一個簡易的 hello world 程式,撰寫 Makefile 讓使用者可以輸入`make`完成編譯。 3. 將上述程式與 Makefile 上傳至`itlab_git_practice`的`develop`分支。 ### ~ 2/20 : 1. VM 建立兩台 Ubuntu 機器,每台機器設置兩張網路卡,一張為 NAT (正常上網使用),另一張設定內網(兩台主機互聯,一台使用 192.168.1.100、另一台 192.168.1.200) - 1.200 那台可用 GUI 介面比較方便操作 2. 在 1.100 那台機器上安裝 apache 並把首頁改成 ```htmlembedded= <html> <h2> Test - 1 </h2> <p> This is my test </p> </html> ``` 3. 並使用 tcpdump 監控內網那張網卡的流量 4. 在 1.200 上使用 tcpdump 監控內網網卡,並使用指令 `curl 192.168.1.100`,觀察 curl 得到的結果與 tcpdump 所抓到的資訊,並解釋使用 curl 指令時封包來回傳送的流程 5. 使用 `tcpdump -w` 參數將抓取到的封包存為 .pcap 檔,使用 wireshark 之類的工具分析並列出封包 https://hackmd.io/lyjPtxn8SSGijkvcNWMhjA ### ~ 3/12 : 1. 重作上次工作,在 `192.168.1.100` 的機器上開啟 tcpdump 觀察 `curl 192.168.1.200` 的結果。 2. 解釋 `curl` 指令所做的工作與並對照 tcpdump 的封包作說明。 (參考 TCP 三向交握) ### ~3/15 1. 建立三台虛擬機,其連線方式如下所示: ![](https://i.imgur.com/ZCmaGQ7.png) A <--> B <--> C ,A、C 之間部相連,其溝通僅透過 B 轉發達成。 2. 完成上述虛擬機連線設置,請使用 Ubuntu 18.04 server 或 desktop 搭配 `netplan` 完成上述配置,注意 A、C 屬於不同網域 (class C 不相同),因此 B 是作為 router 功能的一台機器,請確實做好 B 的轉發功能。 https://hackmd.io/xTR5qJciSICgiMvNfoI9pA?view ### ~3/27 1. 在 1.202 主機上架設 DVWA,會需要使用道 Apache, php 跟 MySQL。 DVWA 是一種帶有多種弱點的網站,可以選擇弱點的強度,進而練習攻擊的技巧。 2. 在中間做轉發的機器安裝 Snort 並使用社群版本的規則,兩個在 Snort 官方網站都能找到。 Snort 是一個 IDS (入侵偵測防護系統),可以根據你設定的規則進行封包的比對,發現與規則匹配的封包時,會根據規則所設定的行為做出警告、發送 email 等動作。 3. 在 0.101 的機器安裝 sqlmap,並對 1.202 的 DVWA Injection 練習的頁面進行 SQL injection 攻擊,並觀察是否能從 Snort 抓到攻擊的封包。 https://hackmd.io/oaZrSRhxQ3GpUdWIXGMUKg?view (unfinished)

    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