Results 1 to 5 of 5

Thread: block specific packet size

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    What's the content of these packages?

    May be easy enough to just make a hashmap (key: ip, value: meta info of received packages) in C++ and drop these packages from libcod.

    Example code here: https://github.com/kungfooman/libcod...ibcod.cpp#L816
    timescale 0.01

  2. #2
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    Quote Originally Posted by kung foo man View Post
    What's the content of these packages?

    May be easy enough to just make a hashmap (key: ip, value: meta info of received packages) in C++ and drop these packages from libcod.

    Example code here: https://github.com/kungfooman/libcod...ibcod.cpp#L816

    23:23:29.483456 IP 186.216.68.245.61321 > 168.119.35.252.28962: UDP, length 11
    E..'.q..w.....D..w#...q"........getinfo....#..
    23:23:29.483460 IP 185.25.182.77.53727 > 168.119.35.252.28962: UDP, length 16
    E..,....w._....M.w#...q"........getinfo xxx..q
    23:23:29.483486 IP 185.191.171.26.60404 > 168.119.35.252.28962: UDP, length 13
    E..)....w........w#...q"..9.....getstatus...T.
    23:23:29.483505 IP 185.94.219.72.54225 > 168.119.35.252.28962: UDP, length 16
    E..,....w.@..^.H.w#...q"........getinfo xxx..E

    packet contents of 11-13-16 bytes are these

    also i get something meaningless bytes about Counter Strike

    can i handle with all of them via libcod?
    Last edited by feanor; 2nd April 2021 at 21:39.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •