lab409
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control 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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- title: Lab Meeting Minutes 2020/08/11 tags: lab_meeting --- > - [Meeting Regulation](http://ms11.voip.edu.tw/~manager/HOWTO/SOP/SOP-0014.php) >--- >Outline >[TOC] --- # PERAL Lab Meeting - 時間:109年8月11日 19:00 - 地點:暨南大學科三館321教室 - 主講人:黃晨瑋 - 主記錄:謝萬霖 - 出席者:吳坤熹老師、謝萬霖、黃晨瑋、劉又聖、陳嘉瑋、劉怡君(遠距)、田蕙瑜(遠距)、周以恆(遠距) - 會議主題: [How to use Wireshark to customize the communication protocol](https://l.facebook.com/l.php?u=https%3A%2F%2Flookaside.fbsbx.com%2Ffile%2F202008111453V2new_wiresharkpto.pptx%3Ftoken%3DAWy-pNaHwM5BnlZYDLOAF56qmkOxBBhCO74mAKm08u8hthXK92qpqBQvzo02dq4HboW59DsBlGrkxCyddHcm6j06jDriHpjFhYuykIrQ6DmogxDU67T9u4siP-snvHM86acCjQ1V_5kdqpeVTnUN4DLK4ZKMp4ot8jkHRZrczzQPafq0QDZqYhu4kKLQcOV_JKWpvviUbtyjWu_Nqw1igMI95yCGcCNyKYOBv2EI1ywOG2x5TEJYmV4-f0qzvFvhtP6dObMLTt_z2eQRSvmOOR2mhZpGC90SAAJmG9RVCyi-Uw&h=AT3MXAurGRss-DR79bqtmDkwvVS4L4VgsdiGCg6LjkLpJtz6G5VZj4SvIFscxUNl3gMQ1EgWRz4CIGat9yuRO1vGFZFe5IpyiYpBMzjr8BfVxcADiHk_z1_Le-MskyHKiuDeV61yjvWMADDYerlxWlzPmQ7fcms1&__tn__=H-R&c[0]=AT0KN3MmSc6yx-tLxtM4Yf--nVEIVkOk0qWYrqAbuNqGeKzZfTiYp7lPDxiR5c3XH-FQdfONuzwLN_xEDC0JN2FRRCsyt_D_S3SoLGVUXoz1rNatIT_BmzsIJOtuE37sTTiumDWuUpdQ6HKGVC449jYv5wNDFRpMP_uHPCnRFcaTAHk3Mp7QaKlch-lgK5_g7jt5APWVdzRFmQ0RqyZB7Ea1Hj41) ## 會議內容 - Lua Language 1. 適用情境 - Game - Network - Image 2. 基本語法 - 不用結尾符號 - 沒有 continue 語法 - 只有 nil = false ,其餘為 true (包含 0) 3. 物件導向 - Dissector 1. 使用 Wireshark 的全域物件 Proto 建立自己的協定物件 2. 使用 Wireshark 的全域物件 ProtoField 定義欄位型態 ## 問題討論 ### 1. 主題一 #### 建議 1. 舉例: 舉聽眾熟悉的例子。[name= Prof Solomon] --- #### 問題 1. ipairs 的功能是? [name= Angela] - Ans: ipairs 會回傳陣列裡面 index 為整數的元素 [name= Henry] 2. 物件能在說明一次嗎? [name= Henry] ```= lua > a = { value = 10 } > print(a.value) 10 > function a.square() >> return a.value * a.value >> end > print(a.square()) 100 ``` 3. print 建議使用語法和不建議使用語法的差別? [name= Phoebe] - Ans: 看起來像是陣列,未造成誤解,所以不建議用 "[[]]" 的語法 [name= Abner] 4. myproto 在程式裡扮演的是甚麼角色? [name= Jeffrey] - 解析封包的東西 [name= Abner] 5. embeddable scripting language 是什麼意思? [name= Johnson] - 嵌入式語言,可以用來控制底層的語言 [name= Abner] 6. 映射表是代表甚麼? [name= Johnson] - 一種樹表結合的數據結構. 分配了一個固定空間的內存保存一些樹的節點. 用於映射表的插入操作. [name= Abner] 7. function 的 end 寫成 End 也是可以的嗎? [name= Johnson] - 這應該是自動拼字的問題,最好還是用小寫 [name= Abner] 8. Reference 裡面有一行程式 `side = side or 0` 是什麼意思? [name= Johnson] - 只要不是 nil 就會成功,side 就是 side (short-cut);當 side 為 nil 的時候就是失敗,和 0 (成功) or 就會讓 side 變成 0 [name= Solomon] 9. 同 Reference,傳參數 o 是什麼東西? [name= Johnson] - o 是 object 的縮寫,只是一個變數名稱 [name= Solomon] 10. p.10 if的condition為false時,會執行then後面的block,這樣的說法是否需要修正? [name= Edger] - 執行else後的block[name= Abner] 11. 講者說明物件時,表示冒號是定義,但dissector的code(p.25),用了冒號未加定義? [name= Edger] - 冒號的作用就是:定義函數時,給函數的添加隱藏的第一個參數XX;調用函數時,默認把當前調用者作為第一個參數傳遞進去。 12. 承接問題11,簡言之,加冒號vs加點的差異?[name= Prof Solomon] - 待補充 --- 散會: 結束時間:21:20

    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