SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
Enostavno in varno na IPv6
Matjaž Straus Istenič
matjaz.straus@arnes.si




•  IPv6-oznake
•  Nastavitve
•  Varnost
foto: Kenneth Dwain Harrelson, http://en.wikipedia.org/wiki/Cloud
IPv6-naslov je 128-biten

      65536 članic   18 trilijonov sistemov v vsakem omrežju



2001:1470:
2001:1470:c:
2001:1470:c:????:
2001:1470:c:????:????:????:????:????

            65536 omrežij na članico
IPv6-naslov je oznaka

   lokacija ali L = 0, S = skupina

2001:1470:c:LSnn:<64-bitna-oznaka>


  ARNES          omrežje    končni sistem
         članica
Razporedimo oznake
Nastavitve omrežne opreme

1.  statično
2.  SLAAC brez DHCPv6
3.  SLAAC z DHCPv6
   v testnem obdobju samo “stateless”

4.  izklop dodeljevanja omrežnih predpon
    v SLAAC
   * z izjemo v omrežjih za mobilne naprave
Statične nastavitve

•  strežniki
•  stacionarni računalniki
Samodejne nastavitve


               moj ID je 1:2:3:4
Samodejne nastavitve




    moj lokalen naslov je fe80::1:2:3:4
Samodejne nastavitve

                    kje je prehod?



          fe80::1:2:3:4
Samodejne nastavitve
        tu je prehod, na fe80::6
        si v omrežju 2001:1470:c:100::/64
        za DNS vprašaj “stateless” DHCP




           fe80::1:2:3:4
Samodejne nastavitve
                       kje je strežnik DHCP?
                       potrebujem podatke



                  fe80::1:2:3:4
                  gw: fe80::6
                  2001:1470:c:100:1:2:3:4




moj globalen naslov je 2001:1470:c:100:1:2:3:4
Samodejne nastavitve

          DNS: 2001:1470:c::d
          domena: sirikt.si


          fe80::1:2:3:4
          gw: fe80::6
          2001:1470:c:100:1:2:3:4
Samodejne nastavitve



          fe80::1:2:3:4
          gw: fe80::6
          2001:1470:c:100:1:2:3:4
          DNS: 2001:1470:c::d
          domena: sirikt.si




       sedaj lahko komuniciram
Samodejne nastavitve
        tu je prehod, na fe80::6
        si v omrežju 2001:1470:c:100::/64
        za naslov in DNS vprašaj DHCP


           fe80::1:2:3:4
           gw: fe80::6
           2001:1470:c:100:1:2:3:4
           DNS: 2001:1470:c::d
           domena: sirikt.si
Samodejne nastavitve
               kje je strežnik DHCP?
               potrebujem IPv6-naslov in
               podatke za DNS

          fe80::1:2:3:4
          gw: fe80::6
          2001:1470:c:100:1:2:3:4
          DNS: 2001:1470:c::d
          domena: sirikt.si
Samodejne nastavitve
               IP: 2001:1470:c:100::72
               DNS: 2001:1470:c::d
               domena: sirikt.si
               fe80::1:2:3:4
               gw: fe80::6
               2001:1470:c:100:1:2:3:4
               2001:1470:c:100::72
               DNS: 2001:1470:c::d
               domena: sirikt.si




  moja globalna naslova sta 2001:1470:c:100:1:2:3:4
  in 2001:1470:c:100::72
Samodejne nastavitve
                     IP: 2001:1470:c:100::72
                     DNS: 2001:1470:c::d
                     domena: sirikt.si

                     fe80::1:2:3:4
                     gw: fe80::6
                     2001:1470:c:100::72
                     DNS: 2001:1470:c::d
                     domena: sirikt.si




postopen prehod na DHCP – naslavljanje s SLAAC samo v
omrežjih za prenosne naprave, obiskovalce ...
Varnost

•  sledljivost vs zasebnost
•  tuneli
•  ranljivosti v lokalnem omrežju
•  nadzor
Sledljivost vs zasebnost                vem, kdo si



       UNIVERSITY


ID: 1:2:3:4
2001:1470:c:100:1:2:3:4




                          ID: 1:2:3:4
                          2001:db8:1:2:1:2:3:4
Sledljivost vs zasebnost

•  IPv6-naslov je sledljiv
  •  dobro za varnost
  •  v internih omrežjih ne želimo anonimnih
     sistemov
  - uporabljamo DHCP in dovolimo le znane naslove
  - izklopimo izbiranje naključnega IPv6-naslova
   netsh interface ipv6 set privacy state=disabled
   netsh interface ipv6 set global randomizeidentifiers=disabled

   /etc/sysctl.conf: net.inet6.ip6.use_tempaddr=0
Tuneli

•  na windows sistemih izklopimo
   vmesnike tunelov


  netsh interface 6to4 set state disabled
  netsh interface isatap set state disabled
  netsh interface teredo set state disabled
Ranljivosti

•  lažni usmerjevalnik
•  lažna predpona med SLAAC
•  prisvojitev IPv6-naslova med NS in DAD
•  preusmeritev
•  poplavljanje tabele sosedov
Lažni usmerjevalnik

            tu je vaš prehod -
            pošljite meni!
Nadzor in varovanje s super stikalom
NDPMon
Vzemimo s seboj ...

•  označimo omrežno opremo
•  statične nastavitve in SLAAC
•  uvedba DHCPv6
•  nadzor z NDPMon
SIRikt 2012: enostavno in varno na IPv6

Weitere ähnliche Inhalte

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SIRikt 2012: enostavno in varno na IPv6

  • 1. Enostavno in varno na IPv6 Matjaž Straus Istenič matjaz.straus@arnes.si •  IPv6-oznake •  Nastavitve •  Varnost
  • 2. foto: Kenneth Dwain Harrelson, http://en.wikipedia.org/wiki/Cloud
  • 3. IPv6-naslov je 128-biten 65536 članic 18 trilijonov sistemov v vsakem omrežju 2001:1470: 2001:1470:c: 2001:1470:c:????: 2001:1470:c:????:????:????:????:???? 65536 omrežij na članico
  • 4. IPv6-naslov je oznaka lokacija ali L = 0, S = skupina 2001:1470:c:LSnn:<64-bitna-oznaka> ARNES omrežje končni sistem članica
  • 6. Nastavitve omrežne opreme 1.  statično 2.  SLAAC brez DHCPv6 3.  SLAAC z DHCPv6 v testnem obdobju samo “stateless” 4.  izklop dodeljevanja omrežnih predpon v SLAAC * z izjemo v omrežjih za mobilne naprave
  • 8. Samodejne nastavitve moj ID je 1:2:3:4
  • 9. Samodejne nastavitve moj lokalen naslov je fe80::1:2:3:4
  • 10. Samodejne nastavitve kje je prehod? fe80::1:2:3:4
  • 11. Samodejne nastavitve tu je prehod, na fe80::6 si v omrežju 2001:1470:c:100::/64 za DNS vprašaj “stateless” DHCP fe80::1:2:3:4
  • 12. Samodejne nastavitve kje je strežnik DHCP? potrebujem podatke fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4 moj globalen naslov je 2001:1470:c:100:1:2:3:4
  • 13. Samodejne nastavitve DNS: 2001:1470:c::d domena: sirikt.si fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4
  • 14. Samodejne nastavitve fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4 DNS: 2001:1470:c::d domena: sirikt.si sedaj lahko komuniciram
  • 15. Samodejne nastavitve tu je prehod, na fe80::6 si v omrežju 2001:1470:c:100::/64 za naslov in DNS vprašaj DHCP fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4 DNS: 2001:1470:c::d domena: sirikt.si
  • 16. Samodejne nastavitve kje je strežnik DHCP? potrebujem IPv6-naslov in podatke za DNS fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4 DNS: 2001:1470:c::d domena: sirikt.si
  • 17. Samodejne nastavitve IP: 2001:1470:c:100::72 DNS: 2001:1470:c::d domena: sirikt.si fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100:1:2:3:4 2001:1470:c:100::72 DNS: 2001:1470:c::d domena: sirikt.si moja globalna naslova sta 2001:1470:c:100:1:2:3:4 in 2001:1470:c:100::72
  • 18. Samodejne nastavitve IP: 2001:1470:c:100::72 DNS: 2001:1470:c::d domena: sirikt.si fe80::1:2:3:4 gw: fe80::6 2001:1470:c:100::72 DNS: 2001:1470:c::d domena: sirikt.si postopen prehod na DHCP – naslavljanje s SLAAC samo v omrežjih za prenosne naprave, obiskovalce ...
  • 19. Varnost •  sledljivost vs zasebnost •  tuneli •  ranljivosti v lokalnem omrežju •  nadzor
  • 20. Sledljivost vs zasebnost vem, kdo si UNIVERSITY ID: 1:2:3:4 2001:1470:c:100:1:2:3:4 ID: 1:2:3:4 2001:db8:1:2:1:2:3:4
  • 21. Sledljivost vs zasebnost •  IPv6-naslov je sledljiv •  dobro za varnost •  v internih omrežjih ne želimo anonimnih sistemov - uporabljamo DHCP in dovolimo le znane naslove - izklopimo izbiranje naključnega IPv6-naslova netsh interface ipv6 set privacy state=disabled netsh interface ipv6 set global randomizeidentifiers=disabled /etc/sysctl.conf: net.inet6.ip6.use_tempaddr=0
  • 22. Tuneli •  na windows sistemih izklopimo vmesnike tunelov netsh interface 6to4 set state disabled netsh interface isatap set state disabled netsh interface teredo set state disabled
  • 23. Ranljivosti •  lažni usmerjevalnik •  lažna predpona med SLAAC •  prisvojitev IPv6-naslova med NS in DAD •  preusmeritev •  poplavljanje tabele sosedov
  • 24. Lažni usmerjevalnik tu je vaš prehod - pošljite meni!
  • 25. Nadzor in varovanje s super stikalom
  • 27. Vzemimo s seboj ... •  označimo omrežno opremo •  statične nastavitve in SLAAC •  uvedba DHCPv6 •  nadzor z NDPMon