Python – Kirk Byers Course Week 2 Part 1

This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers.

This is the first exercise:

I. Create a script that does the following

    A. Prompts the user to input an IP network.

        Notes:
        1. For simplicity the network is always assumed to be a /24 network

        2. The network can be entered in using one of the following three formats 10.88.17.0, 10.88.17., or 10.88.17

    B. Regardless of which of the three formats is used, store this IP network as a list in the following format ['10', '88', '17', '0'] i.e. a list with four octets (all strings), the last octet is always zero (a string).

        Hint: There is a way you can accomplish this using a list slice.

        Hint2: If you can't solve this question with a list slice, then try using the below if statement (note, we haven't discussed if/else conditionals yet; we will talk about them in the next class).

>>>> CODE <<<<
if len(octets) == 3:
    octets.append('0')
elif len(octets) == 4:
    octets[3] = '0'
>>>> END <<<<


    C. Print the IP network out to the screen.

    D. Print a  Continue reading

Forget the network perimeter, say security vendors

What if all your company’s computers and applications were connected directly to the Internet? That was the assumption behind BeyondCorp, a new model for network security that Google proposed back in 2014, and it’s one that’s starting to get some attention from networking and security vendors.Enterprises have moved beyond the traditional workspace in recent years, allowing employees to work remotely by using their personal devices and accessing apps in private or public clouds. To bring roaming workers back into the fold, under the security blanket of their local networks, companies rely on VPNs and endpoint software to enforce network access controls.To read this article in full or to leave a comment, please click here

Forget the network perimeter, say security vendors

What if all your company’s computers and applications were connected directly to the Internet? That was the assumption behind BeyondCorp, a new model for network security that Google proposed back in 2014, and it’s one that’s starting to get some attention from networking and security vendors.Enterprises have moved beyond the traditional workspace in recent years, allowing employees to work remotely by using their personal devices and accessing apps in private or public clouds. To bring roaming workers back into the fold, under the security blanket of their local networks, companies rely on VPNs and endpoint software to enforce network access controls.To read this article in full or to leave a comment, please click here

Forget the network perimeter, say security vendors

What if all your company’s computers and applications were connected directly to the Internet? That was the assumption behind BeyondCorp, a new model for network security that Google proposed back in 2014, and it’s one that’s starting to get some attention from networking and security vendors.Enterprises have moved beyond the traditional workspace in recent years, allowing employees to work remotely by using their personal devices and accessing apps in private or public clouds. To bring roaming workers back into the fold, under the security blanket of their local networks, companies rely on VPNs and endpoint software to enforce network access controls.To read this article in full or to leave a comment, please click here

Microsoft outlines new Office 365 security capabilities

It's a sad state of affairs when business apps need security measures, but that's what it has come to these days. Microsoft has added some new features to Office 365 designed to add intelligence to catch suspicious behavior and mitigate risk, which it outlined in a recent blog post. Office 365 also needs these security measures because it is cloud based. That means its users are connecting outside their firewall, which adds all kinds of risk, both from intrusion and accidental data loss. There are three new security features: Office 365 Secure Score, Office 365 Threat Intelligence Private Preview, and Office 365 Advanced Data Governance Preview. To read this article in full or to leave a comment, please click here

Microsoft outlines new Office 365 security capabilities

It's a sad state of affairs when business apps need security measures, but that's what it has come to these days. Microsoft has added some new features to Office 365 designed to add intelligence to catch suspicious behavior and mitigate risk, which it outlined in a recent blog post. Office 365 also needs these security measures because it is cloud based. That means its users are connecting outside their firewall, which adds all kinds of risk, both from intrusion and accidental data loss. There are three new security features: Office 365 Secure Score, Office 365 Threat Intelligence Private Preview, and Office 365 Advanced Data Governance Preview. To read this article in full or to leave a comment, please click here

IDG Contributor Network: ExtraHop applies machine learning to wire data monitoring

The technology industry is perhaps the biggest user (some might say abuser) of buzzwords. Who can recall the scene on HBO's comedy "Silicon Valley" where startup after startup tried to show just how hip they were by detailing their focus on social, mobile and local? We had SoLoMo, MoLoSo, LoSoMo and every other combination under the sun.The reality is that, 9 times out of 10, buzzwords mean nothing other than giving potential customers the ability to tick another box on their assessment forms.So I was a little skeptical when ExtraHop -- a vendor that offers organizations the ability to monitor all of the traffic occurring across their networks -- pitched me on its new SaaS offering that, according to the company, has lots of machine-learning goodness on tap.To read this article in full or to leave a comment, please click here

IDG Contributor Network: Everything is built to connect to the internet, so why can’t I?

It’s a great time to be in networking. Anytime we connect an object or an experience to the network, we change its nature and increase its value. The network effect of connecting more and more things in more ways is driving exponential benefit to the pioneers who are imagining the many new possibilities. The voice-controlled home assistant, connected car, connected spare bedroom and other innovations are early examples that we already take for granted.The age of the network is here. This means the network gets built into every product and service, and that requires the network to be everywhere and you can connect to it all the time. Mobile has gotten pretty darn good in recent years. Unless, of course, you’re on a certain floor or in a certain area of a large building. Dead zones still occur regularly behind commercial-grade walls and energy-efficient windows.To read this article in full or to leave a comment, please click here

IDG Contributor Network: Everything is built to connect to the internet, so why can’t I?

It’s a great time to be in networking. Anytime we connect an object or an experience to the network, we change its nature and increase its value. The network effect of connecting more and more things in more ways is driving exponential benefit to the pioneers who are imagining the many new possibilities. The voice-controlled home assistant, connected car, connected spare bedroom and other innovations are early examples that we already take for granted.The age of the network is here. This means the network gets built into every product and service, and that requires the network to be everywhere and you can connect to it all the time. Mobile has gotten pretty darn good in recent years. Unless, of course, you’re on a certain floor or in a certain area of a large building. Dead zones still occur regularly behind commercial-grade walls and energy-efficient windows.To read this article in full or to leave a comment, please click here

Analysts peer into Microsoft’s rumored Windows 10 Cloud

Talk of a new version of Windows 10, dubbed "Cloud," surfaced last week as eagle-eyed bloggers uncovered clues in a recent beta and preliminary code leaked to the Internet.It was unclear what purpose another edition would serve, but because it will apparently run only Universal Windows Platform (UWP) apps obtained from Microsoft's store, many assumed that Windows 10 Cloud would play rival to Google's Chrome OS, the browser-based operating system for Chromebook personal computers.[ Related: Fix Windows 10 problems with these free Microsoft tools ] Chromebooks have gained ground in education, where their low cost -- both in device price and in managing those devices -- has been irresistible to many schools. In response, Microsoft joined forces with chip maker Qualcomm to announce that the former's partners would market Windows PCs powered by ARM-based silicon later this year. For its part, Microsoft will craft a version of Windows 10 for ARM chips.To read this article in full or to leave a comment, please click here

Top 10 U.S. cities for employee happiness

It's common knowledge that where you work -- meaning who employs you -- impacts your happiness. But according to new data from employee review site Kununu, your workplace happiness is also affected by location, location, location.To read this article in full or to leave a comment, please click here(Insider Story)

Smartphone CPUs put desktops to shame

Fighting severe size and power constraints, the makers of smartphones have achieved levels of ingenuity not seen on the desktop. This results in mobile devices that not only have multiple cores, but multiple sizes and types of cores.To read this article in full or to leave a comment, please click here(Insider Story)

Rise of as-a-service lowers bar for cybercriminals

As-a-service offerings for things such as DDoS and malware -- including ransomware -- via exploit kits has seriously lowered the bar for entry into the criminal market. Hackers no longer need to have sophisticated skills in order to gain entry into the world of cybercrime.According to Geoff Webb, vice president of strategy at Micro Focus, the industrialization of the processes and the availability of the tools has created this expanded forum that allows non-technical people, anyone really, to enter into the digital crime market. To read this article in full or to leave a comment, please click here

Rise of as-a-service lowers bar for cybercriminals

As-a-service offerings for things such as DDoS and malware -- including ransomware -- via exploit kits has seriously lowered the bar for entry into the criminal market. Hackers no longer need to have sophisticated skills in order to gain entry into the world of cybercrime.According to Geoff Webb, vice president of strategy at Micro Focus, the industrialization of the processes and the availability of the tools has created this expanded forum that allows non-technical people, anyone really, to enter into the digital crime market. To read this article in full or to leave a comment, please click here

Heartbreaking hacks

It warms a hacker's heartImage by ThinkstockValentine’s Day is historically about love, flowers and chocolate. Unless you're a hacker, then it’s about worms, vulnerabilities, data theft and more. Preying on our need for love and affection, hackers have historically unleashed some hard-hitting attacks around Valentine’s Day, or in relation to the topic of love. So, before you open that Valentine’s Day email or click through to that online dating site, WatchGuard’s Marc Laliberte runs you through some of the most nefarious love-related cyber-attacks.To read this article in full or to leave a comment, please click here

Heartbreaking hacks

It warms a hacker's heartImage by ThinkstockValentine’s Day is historically about love, flowers and chocolate. Unless you're a hacker, then it’s about worms, vulnerabilities, data theft and more. Preying on our need for love and affection, hackers have historically unleashed some hard-hitting attacks around Valentine’s Day, or in relation to the topic of love. So, before you open that Valentine’s Day email or click through to that online dating site, WatchGuard’s Marc Laliberte runs you through some of the most nefarious love-related cyber-attacks.To read this article in full or to leave a comment, please click here

The 12 worst Android phone gimmicks once hailed as ‘innovations’

Sometimes innovation is best left on the drawing boardImage by Ryan WhitwamIt's hard for a phone to get noticed by consumers when it looks like all the other flat black slabs out there. That has led some OEMs to try some particularly wacky things—gimmicks to set them apart. Just because a gimmick is new doesn't mean it's good. In fact, there are a lot of gimmicks that look cool at a tradeshow, but in real life they're terrible ideas. Here are some of the worst to make it to market.To read this article in full or to leave a comment, please click here

Response: AT&T, Microsoft Ventures back networking startup SnapRoute in $25 million round

How does a BGP/OSPF routing app on a network device cost more than Microsoft Office ? One is really complex with thousands of features, complex interface and must support a huge range of hardware. The other one is an BGP or OSPF app. 

“His” refers to Jason Forrester, formerly global data center network manager at Apple and now the founder and chief executive of SnapRoute. The startup now has roughly 32 employees, Forrester told VentureBeat in an interview. Forrester figures that the startup has around 35-50 customers, and its software is being used on 12,000-13,000 switches. He declined to name any of SnapRoute’s customers, but Facebook employees have repeatedly mentioned the company’s software by name in recent months.

  1. Snaproute is clearly gaining momentum with their networking apps with comapneis
  2. The software is simpler, focussed and more reliable: “Sure enough, Forrester said, while Cisco’s code runs to 30 million lines of code or more, SnapRoute’s takes up perhaps 100,000.”
  3. A modern startup can compete with established vendors on features and get substantial sales in markets that they cannot reach

AT&T, Microsoft Ventures back networking startup SnapRoute in $25 million round | VentureBeat | Entrepreneur | by Jordan Novet : http://venturebeat. Continue reading

Research: Router Optics Evolution and Market Trends

Timely information on the future of optics and SFP modules. The current situation of price overloading by vendors is seriously grim (markups of 1000% are common) and this could help to increase your knowledge in the area.

  • Router Optics vs. Transport Optics
  • Router Optics Evolution
  • 100G Optics Status and Challenges
  • Higher 100G Density Considerations
  • Router Optics Market Trends
Router Optics Evolution and Market Trends 2_Liu_Optics_Evolution_And_v1.pdf
https://www.nanog.org/sites/default/files/2_Liu_Optics_Evolution_And_v1.pdf

NB: From a NANOG meeting but haven’t been able to track down the exact link.

The post Research: Router Optics Evolution and Market Trends appeared first on EtherealMind.