{"id":13509825,"url":"https://github.com/mehrdadrad/mylg","last_synced_at":"2026-04-01T19:13:47.435Z","repository":{"id":51274473,"uuid":"61661892","full_name":"mehrdadrad/mylg","owner":"mehrdadrad","description":"Network Diagnostic Tool","archived":false,"fork":false,"pushed_at":"2020-02-26T22:39:02.000Z","size":29111,"stargazers_count":2716,"open_issues_count":14,"forks_count":236,"subscribers_count":102,"default_branch":"master","last_synced_at":"2026-03-28T00:42:39.717Z","etag":null,"topics":["bgp","golang","looking-glass","network","ping","snmp","traceroute","whois"],"latest_commit_sha":null,"homepage":"http://mylg.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehrdadrad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-21T19:39:58.000Z","updated_at":"2026-03-27T14:34:57.000Z","dependencies_parsed_at":"2022-08-19T16:21:38.773Z","dependency_job_id":null,"html_url":"https://github.com/mehrdadrad/mylg","commit_stats":null,"previous_names":["mehrdadrad/myping"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/mehrdadrad/mylg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fmylg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fmylg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fmylg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fmylg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehrdadrad","download_url":"https://codeload.github.com/mehrdadrad/mylg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fmylg/sbom","scorecard":{"id":635373,"data":{"date":"2025-08-11","repo":{"name":"github.com/mehrdadrad/mylg","commit":"faba8672ef9f2693ca9093d2a3a671114401e55a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang to golang@sha256:9e56f0d0f043a68bb8c47c819e47dc29f6e8f5129b8885bed9d43f058f7f3ed6","Info:   1 out of   1 goCommand dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T09:01:51.924Z","repository_id":51274473,"created_at":"2025-08-21T09:01:51.924Z","updated_at":"2025-08-21T09:01:51.924Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bgp","golang","looking-glass","network","ping","snmp","traceroute","whois"],"created_at":"2024-08-01T02:01:13.827Z","updated_at":"2026-04-01T19:13:47.417Z","avatar_url":"https://github.com/mehrdadrad.png","language":"Go","funding_links":[],"categories":["Software Packages","Go","\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具","network","软件包","軟件包","Go 工具","Go Tools","Other Software"],"sub_categories":["Other Software","\u003ca id=\"9dfefb87c4dc3288b2eddf6780e8ffb9\"\u003e\u003c/a\u003e网络诊断","其他软件","其他軟件","其他软件库和软件包"],"readme":"[![Build Status](https://travis-ci.org/mehrdadrad/mylg.svg?branch=master)](https://travis-ci.org/mehrdadrad/mylg) [![Go Report Card](https://goreportcard.com/badge/github.com/mehrdadrad/mylg)](https://goreportcard.com/report/github.com/mehrdadrad/mylg) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mehrdadrad/mylg?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge) [![GORef](https://godoc.org/github.com/mehrdadrad/mylg?status.svg)](https://godoc.org/github.com/mehrdadrad/mylg)\n\n![IMAGE](http://mylg.io/wp-content/uploads/2016/08/logo_mylgio_xxsmall.png)\n### myLG, Command line Network Diagnostic Tool\nmyLG is an open source software utility which combines the functions of the different network probes in one network diagnostic tool.\n\n\n## Features\n* Popular looking glasses (ping/trace/bgp): Telia, Level3, NTT, Cogent, KPN\n* More than 200 countries DNS Lookup information\n* Local ping and real-time trace route\n* Packet analyzer - TCP/IP and other packets\n* Quick NMS (network management system)\n* Local HTTP/HTTPS ping (GET, POST, HEAD)\n* RIPE information (ASN, IP/CIDR)\n* PeeringDB information\n* Port scanning\n* Network LAN Discovery\n* Internet Speed Test\n* Web dashboard\n* Configurable options\n* Direct access to commands from shell\n* Support vi and emacs mode, almost all basic features\n* CLI auto complete and history features\n\n## Demo\n[![IMAGE Demo](http://mylg.io/img/youtube.jpg)](https://www.youtube.com/watch?v=QY2TAA3ljAA)\n\n![IMAGE ALT TEXT HERE](http://mylg.io/img/packet_analyzer.png)\n![IMAGE ALT TEXT HERE](http://mylg.io/img/mylg_traceroute_realtime_01.png)\n![IMAGE ALT TEXT HERE](http://mylg.io/img/mylg_rt_trace2.gif)\n![IMAGE ALT TEXT HERE](http://mylg.io/img/mylg_rt_trace_web_026.png)\n\n### Usage\n\n```\n=================================================\n                          _    ___\n                _ __ _  _| |  / __|\n               | '  \\ || | |_| (_ |\n               |_|_|_\\_, |____\\___|\n                      |__/\n\n                 My Looking Glass\n           Free Network Diagnostic Tool\n             www.facebook.com/mylg.io\n                  http://mylg.io\n================== myLG v0.2.6 ==================\n\nlocal\u003e hping https://www.google.com -trace -c 4\nHPING www.google.com (216.58.194.196), Method: HEAD, DNSLookup: 17.2923 ms\nHTTP Response seq=0, proto=HTTP/1.1, status=200, time=183.097 ms, connection=34.789 ms, first byte read=148.167 ms\nHTTP Response seq=1, proto=HTTP/1.1, status=200, time=164.960 ms, connection=27.764 ms, first byte read=137.096 ms\nHTTP Response seq=2, proto=HTTP/1.1, status=200, time=153.559 ms, connection=27.881 ms, first byte read=125.526 ms\nHTTP Response seq=3, proto=HTTP/1.1, status=200, time=164.309 ms, connection=28.904 ms, first byte read=135.296 ms\n\n--- www.google.com HTTP ping statistics --- \n4 requests transmitted, 4 replies received, 0% requests failed\nHTTP Round-trip min/avg/max = 153.56/164.05/183.10 ms\nHTTP Code [200] responses : [████████████████████] 100.00% \n \nlocal\u003e whois 577\nBACOM - Bell Canada, CA\n+--------------------+-----------+\n|      LOCATION      | COVERED % |\n+--------------------+-----------+\n| Canada - ON        |   61.3703 |\n| Canada             |   36.2616 |\n| Canada - QC        |    1.3461 |\n| United States - MA |    0.7160 |\n| Canada - BC        |    0.1766 |\n| Canada - AB        |    0.0811 |\n| United States      |    0.0195 |\n| United States - NJ |    0.0143 |\n| Belgium            |    0.0048 |\n| United States - NC |    0.0048 |\n| United States - TX |    0.0048 |\n| Canada - NB        |    0.0000 |\n| Canada - NS        |    0.0000 |\n+--------------------+-----------+\n\nlocal\u003e scan www.google.com -p 1-500\n+----------+------+--------+-------------+\n| PROTOCOL | PORT | STATUS | DESCRIPTION |\n+----------+------+--------+-------------+\n| TCP      |   80 | Open   |             |\n| TCP      |  443 | Open   |             |\n+----------+------+--------+-------------+\nScan done: 2 opened port(s) found in 5.605 seconds\n\nlg/telia/los angeles\u003e bgp 8.8.8.0/24\nTelia Carrier Looking Glass - show route protocol bgp 8.8.8.0/24 table inet.0\n\nRouter: Los Angeles\n\nCommand: show route protocol bgp 8.8.8.0/24 table inet.0\n\ninet.0: 661498 destinations, 5564401 routes (657234 active, 509 holddown, 194799 hidden)\n+ = Active Route, - = Last Active, * = Both\n\n8.8.8.0/24         *[BGP/170] 33w0d 01:36:06, MED 0, localpref 200\n                      AS path: 15169 I, validation-state: unverified\n                    \u003e to 62.115.36.170 via ae4.0\n                    [BGP/170] 8w3d 11:19:40, MED 0, localpref 200, from 80.91.255.95\n                      AS path: 15169 I, validation-state: unverified\n                      to 62.115.119.84 via xe-1/1/0.0\n                      to 62.115.119.88 via xe-1/2/0.0\n                      to 62.115.119.90 via xe-11/0/3.0\n                      to 62.115.119.102 via xe-9/0/0.0\n                      to 62.115.119.92 via xe-9/0/2.0\n                    \u003e to 62.115.119.86 via xe-9/1/2.0\n                      to 62.115.119.98 via xe-9/2/2.0\n                      to 62.115.119.100 via xe-9/2/3.0\n                      to 62.115.119.94 via xe-9/3/1.0\n                      to 62.115.119.96 via xe-9/3/3.0\n\nns/united states/redwood city\u003e dig yahoo.com\nTrying to query server: 204.152.184.76 united states redwood city\n;; opcode: QUERY, status: NOERROR, id: 19850\n;; flags: qr rd ra;\nyahoo.com.\t728\tIN\tMX\t1 mta6.am0.yahoodns.net.\nyahoo.com.\t728\tIN\tMX\t1 mta5.am0.yahoodns.net.\nyahoo.com.\t728\tIN\tMX\t1 mta7.am0.yahoodns.net.\nyahoo.com.\t143013\tIN\tNS\tns4.yahoo.com.\nyahoo.com.\t143013\tIN\tNS\tns6.yahoo.com.\nyahoo.com.\t143013\tIN\tNS\tns2.yahoo.com.\nyahoo.com.\t143013\tIN\tNS\tns5.yahoo.com.\nyahoo.com.\t143013\tIN\tNS\tns1.yahoo.com.\nyahoo.com.\t143013\tIN\tNS\tns3.yahoo.com.\n\n;; ADDITIONAL SECTION:\nns1.yahoo.com.\t561456\tIN\tA\t68.180.131.16\nns2.yahoo.com.\t27934\tIN\tA\t68.142.255.16\nns3.yahoo.com.\t532599\tIN\tA\t203.84.221.53\nns4.yahoo.com.\t532599\tIN\tA\t98.138.11.157\nns5.yahoo.com.\t532599\tIN\tA\t119.160.247.124\nns6.yahoo.com.\t143291\tIN\tA\t121.101.144.139\nns1.yahoo.com.\t51624\tIN\tAAAA\t2001:4998:130::1001\nns2.yahoo.com.\t51624\tIN\tAAAA\t2001:4998:140::1002\nns3.yahoo.com.\t51624\tIN\tAAAA\t2406:8600:b8:fe03::1003\nns6.yahoo.com.\t143291\tIN\tAAAA\t2406:2000:108:4::1006\n;; Query time: 1204 ms\n\n;; CHAOS CLASS BIND\nversion.bind.\t0\tCH\tTXT\t\"9.10.4-P1\"\nhostname.bind.\t0\tCH\tTXT\t\"fred.isc.org\"\n\nlocal\u003e peering 6327\nThe data provided from www.peeringdb.com\n+-------------------+---------------+---------------+--------------------+------+\n|       NAME        |    TRAFFIC    |     TYPE      |      WEB SITE      | NOTE |\n+-------------------+---------------+---------------+--------------------+------+\n| Shaw Cablesystems | 500-1000 Gbps | Cable/DSL/ISP | http://www.shaw.ca |      |\n+-------------------+---------------+---------------+--------------------+------+\n+------------------+--------+--------+-----------------+-------------------------+\n|       NAME       | STATUS | SPEED  |    IPV4 ADDR    |        IPV6 ADDR        |\n+------------------+--------+--------+-----------------+-------------------------+\n| Equinix Ashburn  | ok     |  20000 | 206.126.236.20  | 2001:504:0:2::6327:1    |\n| Equinix Ashburn  | ok     |  20000 | 206.223.115.20  |                         |\n| Equinix Chicago  | ok     |  30000 | 206.223.119.20  | 2001:504:0:4::6327:1    |\n| Equinix San Jose | ok     |  30000 | 206.223.116.20  | 2001:504:0:1::6327:1    |\n| Equinix Seattle  | ok     |  20000 | 198.32.134.4    | 2001:504:12::4          |\n| Equinix New York | ok     |  10000 | 198.32.118.16   | 2001:504:f::10          |\n| SIX Seattle      | ok     | 100000 | 206.81.80.54    | 2001:504:16::18b7       |\n| NYIIX            | ok     |  20000 | 198.32.160.86   | 2001:504:1::a500:6327:1 |\n| TorIX            | ok     |  10000 | 206.108.34.12   |                         |\n| PIX Vancouver    | ok     |  10000 | 206.223.127.2   |                         |\n| PIX Toronto      | ok     |   1000 | 206.223.127.132 |                         |\n| Equinix Toronto  | ok     |  10000 | 198.32.181.50   | 2001:504:d:80::6327:1   |\n+------------------+--------+--------+-----------------+-------------------------+\n\nlocal\u003e disc\nNetwork LAN Discovery\n+--------------+-------------------+------+-----------+-------------------+\n|      IP      |        MAC        | HOST | INTERFACE | ORGANIZATION NAME |\n+--------------+-------------------+------+-----------+-------------------+\n| 172.16.0.0   | ff:ff:ff:ff:ff:ff | NA   | en0       | NA                |\n| 172.16.1.1   | e4:8d:8c:7a:66:26 | NA   | en0       | Routerboard.com   |\n| 172.16.1.10  | ac:bc:32:b4:33:23 | NA   | en0       | Apple, Inc.       |\n| 172.16.1.205 | 74:e5:b:97:11:28  | NA   | en0       | NA                |\n| 172.16.1.254 | 54:4a:0:33:b4:2f  | NA   | en0       | NA                |\n| 172.16.2.12  | d4:f4:6f:7b:8f:cf | NA   | en0       | Apple, Inc.       |\n| 172.16.2.13  | 5c:ad:cf:23:7:f9  | NA   | en0       | Apple, Inc.       |\n| 172.16.2.111 | d0:a6:37:72:cf:2d | NA   | en0       | Apple, Inc.       |\n| 192.168.33.0 | ff:ff:ff:ff:ff:ff | NA   | vboxnet0  | NA                |\n| 192.168.33.1 | a:0:27:0:0:0      | NA   | vboxnet0  | NA                |\n| 224.0.0.251  | 1:0:5e:0:0:fb     | NA   | en0       | NA                |\n+--------------+-------------------+------+-----------+-------------------+\n11 host(s) has been found\n\nlocal\u003e whois 8.8.8.8\n+------------+-------+--------------------------+\n|   PREFIX   |  ASN  |          HOLDER          |\n+------------+-------+--------------------------+\n| 8.8.8.0/24 | 15169 | GOOGLE - Google Inc., US |\n+------------+-------+--------------------------+\n\nlocal\u003e dump -d\n+----------+-------------------+--------+-------+--------------------------------+-----------+-----------+--------------+----------+\n|   NAME   |        MAC        | STATUS |  MTU  |          IP ADDRESSES          | MULTICAST | BROADCAST | POINTTOPOINT | LOOPBACK |\n+----------+-------------------+--------+-------+--------------------------------+-----------+-----------+--------------+----------+\n| lo0      |                   | UP     | 16384 | 127.0.0.1/8 ::1/128 fe80::1/64 | ✓         |           |              | ✓        |\n| gif0     |                   | DOWN   |  1280 |                                | ✓         |           | ✓            |          |\n| stf0     |                   | DOWN   |  1280 |                                |           |           |              |          |\n| en0      | ac:bc:32:b4:33:23 | UP     |  1500 | fe80::181b:3d55:e9a2:e3df/64   | ✓         | ✓         |              |          |\n|          |                   |        |       | 192.168.0.103/24               |           |           |              |          |\n| p2p0     | 0e:bc:32:b4:33:23 | UP     |  2304 |                                | ✓         | ✓         |              |          |\n| awdl0    | ee:3a:98:da:44:5c | UP     |  1484 | fe80::ec3a:98ff:feda:445c/64   | ✓         | ✓         |              |          |\n| en1      | 4a:00:03:9c:8d:60 | UP     |  1500 |                                |           | ✓         |              |          |\n| en2      | 4a:00:03:9c:8d:61 | UP     |  1500 |                                |           | ✓         |              |          |\n| bridge0  | 4a:00:03:9c:8d:60 | UP     |  1500 |                                | ✓         | ✓         |              |          |\n| utun0    |                   | UP     |  2000 | fe80::ec23:f621:ae74:5271/64   | ✓         |           | ✓            |          |\n| utun1    |                   | UP     |  1380 | fe80::d187:7734:49d9:9d84/64   | ✓         |           | ✓            |          |\n| vboxnet0 | 0a:00:27:00:00:00 | DOWN   |  1500 |                                | ✓         | ✓         |              |          |\n+----------+-------------------+--------+-------+--------------------------------+-----------+-----------+--------------+----------+\n\nlocal\u003e dump \n20:29:36.415 IPv4/TCP  ec2-52-73-80-145.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:61479 [P.], win 166, len: 33\n20:29:36.416 IPv4/TCP  192.168.0.104:61479 \u003e ec2-52-73-80-145.compute-1.amazonaws.com.:443(https) [.], win 4094, len: 0\n20:29:36.417 IPv4/TCP  192.168.0.104:61479 \u003e ec2-52-73-80-145.compute-1.amazonaws.com.:443(https) [P.], win 4096, len: 37\n20:29:36.977 IPv4/UDP  192.168.0.104:62733 \u003e 192.168.0.1:53(domain) , len: 0\n20:29:37.537 IPv4/TCP  ec2-54-86-120-119.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:61302 [.], win 124, len: 0\n20:29:38.125 IPv4/TCP  192.168.0.104:61304 \u003e ec2-52-23-213-161.compute-1.amazonaws.com.:443(https) [P.], win 4096, len: 85\n20:29:38.126 IPv4/TCP  ec2-52-23-213-161.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:61304 [.], win 1048, len: 0\n20:29:38.760 IPv4/TCP  ec2-54-165-12-100.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:61296 [.], win 2085, len: 0\n20:29:39.263 IPv4/ICMP 192.168.0.104 \u003e ir1.fp.vip.ne1.yahoo.com.: EchoRequest id 20859, seq 27196, len: 56\n20:29:39.265 IPv4/UDP  192.168.0.1:53(domain) \u003e 192.168.0.104:62733 , len: 0\n\nlocal\u003e dump tcp and port 443 -c 10\n23:26:56.026 IPv4/TCP  192.168.0.104:64686 \u003e 192.0.80.242:443(https) [F.], win 8192, len: 0\n23:26:56.045 IPv4/TCP  192.168.0.104:64695 \u003e i2.wp.com.:443(https) [F.], win 8192, len: 0\n23:26:56.048 IPv4/TCP  i2.wp.com.:443(https) \u003e 192.168.0.104:64695 [F.], win 62, len: 0\n23:26:56.081 IPv4/TCP  192.168.0.104:63692 \u003e ec2-54-88-144-213.compute-1.amazonaws.com.:443(https) [P.], win 4096, len: 37\n23:26:56.082 IPv4/TCP  192.168.0.104:64695 \u003e i2.wp.com.:443(https) [.], win 8192, len: 0\n23:26:56.083 IPv4/TCP  192.0.80.242:443(https) \u003e 192.168.0.104:64686 [.], win 64, len: 0\n23:26:56.150 IPv4/TCP  ec2-54-88-144-213.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:63692 [.], win 166, len: 0\n23:26:56.259 IPv4/TCP  ec2-54-172-56-148.compute-1.amazonaws.com.:443(https) \u003e 192.168.0.104:63623 [P.], win 1316, len: 85\n23:26:56.260 IPv4/TCP  192.168.0.104:63623 \u003e ec2-54-172-56-148.compute-1.amazonaws.com.:443(https) [.], win 4093, len: 0\n23:26:56.820 IPv4/TCP  192.168.0.104:64691 \u003e 192.30.253.116:443(https) [.], win 4096, len: 0\n\nlocal\u003e dump -s http -x\n22:10:15.770 IPv4/TCP  151.101.44.143:443(https) \u003e 10.0.9.9:50771 [P.], win 59, len: 156\n00000000  16 03 03 00 64 02 00 00  60 03 03 a2 32 19 4b 78  |....d...`...2.Kx|\n00000010  77 ed 40 75 f6 4c 55 74  43 1d b7 6c f2 59 f8 d8  |w.@u.LUtC..l.Y..|\n00000020  09 8a 3e 03 62 56 38 45  d2 bc 02 20 bd 52 8a 42  |..\u003e.bV8E... .R.B|\n00000030  5b 01 33 7d 2b 0b 41 da  eb 38 87 79 f1 37 62 5c  |[.3}+.A..8.y.7b\\|\n00000040  f3 ed 5a 7c 07 6c e9 28  9b fe fa 76 c0 2f 00 00  |..Z|.l.(...v./..|\n00000050  18 ff 01 00 01 00 00 05  00 00 00 10 00 0b 00 09  |................|\n00000060  08 68 74 74 70 2f 31 2e  31 14 03 03 00 01 01 16  |.http/1.1.......|\n00000070  03 03 00 28 fc 20 2d 6f  1a 94 78 53 55 0f 8c 05  |...(. -o..xSU...|\n00000080  3e ae 12 34 79 af d2 a9  bd 22 e5 3f b1 2b f5 36  |\u003e..4y....\".?.+.6|\n00000090  ba 51 31 37 f5 0b e6 d2  40 fb 88 a5              |.Q17....@...    |\n\nlocal\u003e dump !udp -w /home/user1/mypcap -c 100000\n\nlocal\u003e ping google.com -6\nPING google.com (2607:f8b0:400b:80a::200e): 56 data bytes\n64 bytes from 2607:f8b0:400b:80a::200e icmp_seq=0 time=23.193988 ms\n64 bytes from 2607:f8b0:400b:80a::200e icmp_seq=1 time=21.265492 ms\n64 bytes from 2607:f8b0:400b:80a::200e icmp_seq=2 time=24.521306 ms\n64 bytes from 2607:f8b0:400b:80a::200e icmp_seq=3 time=25.313072 ms\n\nlocal\u003e trace google.com\ntrace route to google.com (172.217.4.142), 30 hops max\n1  192.168.0.1 4.705 ms 1.236 ms 0.941 ms \n2  142.254.236.25 [ASN 20001/ROADRUNNER-WEST] 13.941 ms 13.504 ms 12.303 ms \n3  agg59.snmncaby01h.socal.rr.com. (76.167.31.241) [ASN 20001/ROADRUNNER-WEST] 14.834 ms 11.625 ms 13.050 ms \n4  agg20.lamrcadq01r.socal.rr.com. (72.129.10.128) [ASN 20001/ROADRUNNER-WEST] 17.617 ms 18.064 ms 15.612 ms \n5  agg28.lsancarc01r.socal.rr.com. (72.129.9.0) [ASN 20001/ROADRUNNER-WEST] 16.291 ms 24.079 ms 20.456 ms \n6  bu-ether26.lsancarc0yw-bcr00.tbone.rr.com. (66.109.3.230) [ASN 7843/TWCABLE-BACKBONE] 18.339 ms 23.278 ms 23.434 ms \n7  216.0.6.25 [ASN 2828/XO-AS15] 19.842 ms 21.025 ms 35.105 ms \n8  216.0.6.42 [ASN 2828/XO-AS15] 16.666 ms 18.252 ms 18.872 ms \n9  209.85.245.199 [ASN 15169/GOOGLE] 14.358 ms 17.478 ms \n   209.85.246.125 [ASN 15169/GOOGLE] 18.593 ms \n10 72.14.239.121 [ASN 15169/GOOGLE] 21.635 ms \n   72.14.238.213 [ASN 15169/GOOGLE] 16.133 ms \n   72.14.239.121 [ASN 15169/GOOGLE] 21.541 ms \n11 lax17s14-in-f14.1e100.net. (172.217.4.142) [ASN 15169/GOOGLE] 18.127 ms 17.151 ms 18.892 ms \n\nlocal\u003e show config \nset ping     timeout    2s\nset ping     interval   1s\nset ping     count      4\nset hping    timeout    2s\nset hping    method     HEAD\nset hping    data       mylg\nset hping    count      5\nset web      port       8080\nset web      address    127.0.0.1\nset scan     port       1-1024\n\nlocal\u003e set hping count 10\n\nsh-3.2# mylg peering 577\nThe data provided from www.peeringdb.com\n+----------------------+---------+------+--------------------+------+\n|         NAME         | TRAFFIC | TYPE |      WEB SITE      | NOTE |\n+----------------------+---------+------+--------------------+------+\n| Bell Canada Backbone |         | NSP  | http://www.bell.ca |      |\n+----------------------+---------+------+--------------------+------+\n+-------------------+--------+-------+-----------------+------------------------+\n|       NAME        | STATUS | SPEED |    IPV4 ADDR    |       IPV6 ADDR        |\n+-------------------+--------+-------+-----------------+------------------------+\n| Equinix Ashburn   | ok     | 20000 | 206.126.236.203 | 2001:504:0:2::577:1    |\n| Equinix Chicago   | ok     | 20000 | 206.223.119.66  | 2001:504:0:4::577:1    |\n| Equinix Palo Alto | ok     | 10000 | 198.32.176.94   | 2001:504:d::5e         |\n| Equinix New York  | ok     | 10000 | 198.32.118.113  | 2001:504:f::577:1      |\n| SIX Seattle       | ok     | 10000 | 206.81.80.217   | 2001:504:16::241       |\n| NYIIX             | ok     | 10000 | 198.32.160.36   | 2001:504:1::a500:577:1 |\n+-------------------+--------+-------+-----------------+------------------------+\n\nlocal\u003e nms\nnms\u003e connect core1-sjc\nConnected: Juniper Networks, Inc. qfx10008 Ethernet Switch, kernel JUNOS 15.1X53 ...\nnms/core1-sjc\u003e show interface xe-.*\n15 interfaces has been found\n+--------------+---------+---------------------------------+------------+-------------+------------+-------------+------------+-------------+----------+-----------+\n|  INTERFACE   | STATUS  |           DESCRIPTION           | TRAFFIC IN | TRAFFIC OUT | PACKETS IN | PACKETS OUT | DISCARD IN | DISCARD OUT | ERROR IN | ERROR OUT |\n+--------------+---------+---------------------------------+------------+-------------+------------+-------------+------------+-------------+----------+-----------+\n| xe-7/0/0:1   | Up      | RSW011-01-SJC-002               | 192.58 K   | 75.72 K     | 64.60      | 56.60       | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-7/0/0:2   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-7/0/0:3   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-7/0/0:0   | Up      | RSW012-01-SJC-001               | 61.40 K    | 10.04 K     | 8.60       | 5.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/0:0   | Down    | CORE1-SAN-XE-2/2/0-AGGIPER40GLR | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/0:1   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/0:2   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/0:3   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/1:0   | Up      | CORE1-SAN-XE-10/3/1-10GTEK      | 11.79 M    | 1.39 M      | 1.82 K     | 1.02 K      | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/1:1   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/1:2   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/1:3   | Down    |                                 | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/2:0   | Up      | CORE2-SJC-XE-1/2/0-AGG59        | 5.25 K     | 409.60      | 0.20       | 0.01        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/2:1   | Up      | CORE3-SJC-XE-1/3/0-AGG31        | 5.44 K     | 0.00        | 0.31       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n| xe-6/0/3:0   | Down    | CORE3-SJC-XE-1/0/0-40GTEK       | 0.00       | 0.00        | 0.00       | 0.00        | 0.00       | 0.00        | 0.00     | 0.00      |\n+--------------+---------+---------------------------------+------------+-------------+------------+-------------+------------+-------------+----------+-----------+\n* units per seconds\n```\n## Build\nIt can be built for Linux and Darwin. there is libpcap dependency:\n```\n- LINUX\napt-get install libpcap-dev\n- OSX\nbrew install homebrew/dupes/libpcap\n```\n\nGiven that the Go Language compiler (version 1.7 or greater is required) is installed, you can build it with:\n\n```\ngo get github.com/mehrdadrad/mylg\ncd $GOPATH/src/github.com/mehrdadrad/mylg/\ngo build mylg.go\n```\n\n## License\nThis project is licensed under MIT license. Please read the LICENSE file.\n\n\n## Contribute\nWelcomes any kind of contribution, please follow the next steps:\n\n- Fork the project on github.com.\n- Create a new branch.\n- Commit changes to the new branch.\n- Send a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Fmylg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehrdadrad%2Fmylg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Fmylg/lists"}