1 / 26

Gerência de redes avançadas

Gerência de redes avançadas. Aula 2 – Gerência ad hoc Cerutti. Aviso:. Não é possível entender como defender uma rede sem conhecer os ataques.

dale-scott
Download Presentation

Gerência de redes avançadas

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Gerência de redes avançadas Aula 2 – Gerência ad hoc Cerutti

  2. Aviso: • Não é possível entender como defender uma rede sem conhecer os ataques. • Os exercícios e ferramentas demonstrados nas aulas servem ao propósito de “SABER ESPERAR AS AMEAÇAS AO CAPITAL INTELECTUAL” das empresas/instituições/pessoas • Qualquer uso do conhecimento adquirido em sala para “testar” ou indevidamente colocar em risco QUALQUER dispositivo será visto como INFRAÇÃO GRAVE ao estatuto do IES e estará sujeito a penalidades da legislação brasileira e/ou do país onde o dispositivo em questão foi ameaçado.

  3. Gerência Ad Hoc • Comandos • Netstat • ARP

  4. ICMP • Internet controlmessageprotocol • Ping envia msg ICMP request • Recebe um ICMP REPLY

  5. ARP • Addressresolutionprotocol • 192.168.1.36 • 18:17:25: 1d:50:8c gw

  6. Packet Internet Gopher noun 1 (alsopocketgopher)a burrowingrodentwithfur-linedpouchesontheoutsideofthecheeks, found in North and Central America. [Family Geomyidae: severalgeneraandspecies.] • informal anotherterm for ground squirrel. 2 (alsogophertortoise)a tortoiseofdrysandyregionsthatexcavatestunnels as shelterfromthesun, nativetothesouthern US. [Gopheruspolyphemus, familyTestudinidae.] 3 (alsoGopher) Computing a menu-based system for Internet searchinganddocumentretrieval, largelysupersededbythe World Wide Web.[1990s: namedafterthegophermascotoftheUniversityof Minnesota, wherethe system wasinvented.] ORIGIN late 18th cent.: perhapsfromCanadianFrenchgaufre‘

  7. WikipédiaGopher • Gopheré um protocolo de redes de computadores que foi desenhado para distribuir, procurar e aceder a documentos na Internet, criado na Universidade de Minesota. • Características • Acessadoatravésda porta 70, as informaçõesacessadasatravés do Gopher ficamlocalizadasemservidoresapropriadosnosquaisroda um programaque as organizaporassunto, e as disponibilizaorganizadasemumaestruturahierárquicana forma de menus (diretórios), semelhanteàquela do seugerenciador de arquivos. • Cadavezquevocêclicasobreuma pasta o Gopher mostra a você as outras pastas e/ouarquivosque se encontramdentrodesta (navegapara um nívelmaisinternonahierarquia).

  8. Ping Exercise Part 1 (30 points) Pick the address of a site you visit. You are going to use it to test some network diagnostics. What happened when you ping your site? Try it with a few more examples. What is happening? How can ping be useful?

  9. Type ping /? To find the various options there are

  10. Using the count request option to send 5 instead of 4

  11. Useful or not? • Simply pinging a remote host (a computer that is on one’s internet but not on one’s network) usually has an all or nothing outcome and as such can provide somewhat limited information • A sequence of pinging can provide more information (see MCSE TCP/IP for Dummies)

  12. Pinging yourself using localhost or 127.0.0.1: verifies that TCP/IP has been installed and started correctly Reserved IP address

  13. Pinging yourself using your IP, checks that the IP is valid

  14. You can use another utility ipconfig to find your IP if you don’t know it

  15. Go to the start command Select the option run and type command.com You now have the black window and we are going to use this to check our connection. Run ipconfig—what is your address? What can you tell from your about your connection?

  16. Pinging the Gateway – timing out here may indicate a problem with the router

  17. Gateway • Recall that one gets an internet by connecting more networks • The point at which data leaves one (local) network and enters another is known as a gateway • A node (a device on the Internet) can be either a gateway, router, or a host (end-point).

  18. Host/Gateway • When you are looking at some site on the net, your computer and the one containing the site are hosts • On the other hand, the computers that direct the traffic, for example your Internet service provider (ISP) are gateway/router nodes.

  19. Traceroute • A utility that traces (determines the route taken by) a packet from your computer (the local host) to some other host on the network • It doesn’t actually follow a single packet but sends out a series of packets • The packets are restricted in the number of “hops” they can take • It is limited by the time-to-live (TTL) field • When the limit is reached, information about the node is (should be) returned • Each consecutive packet is allowed one more hop

  20. hop • A hop is when a packet is transmitted from one node to the next. • “Some Internet Service Providers (ISPs) advertise how many hops away from Internet backbone they are. Theoretically, the fewer hops it takes to get your data onto the backbone, the faster your access will be.” (webopedia)

  21. Traceroute (Cont.) • Traceroute shows how many hops were required to reach the destination as well as the length of time for each hop. • When the web is sluggish, you can use traceroute to determine where the congestion lies.

  22. Traceroute (Cont.) • The original traceroute was for UNIX utility • Windows has a traceroute utility called tracert. • Go to Start/Run, type cmd, and then type “tracert” followed by the domain name of the host. • For example: tracert www.webopedia.com

  23. tracert www.whatis.com

  24. Tracert Exercise Part 2 (40 points) • Using the command.com and tracert command, find the command to • www.whatis.com • 139.84.19.200 • Ask your neighbor for their ip address—trace the route to them.

  25. Other TCP/IP diagnostic commands • Nbtstat • Netstat • Ipconfig • Arp • Hostname • Route • Look up these commands and see what they mean. Prepare a table with the list and the job of each command….site your sources.

  26. Another Exercise part 3 (30 points) • Find the ipconfig for your machine. • Open the command window • Look at the options for the NBTSTAT command. • Run the NBTSTAT command using your ip address for your machine. Use the –A option. What did you find out?

More Related