Advanced open source networking resources

gearsIt is no secret that most corporate and industrial computing resources in the world today have now been migrated from physical infrastructure to a combination of public, private and hybrid cloud environments. A similar trend is now under way in the networking space, with network control logic shifting from proprietary hardware-based platforms to open source software-based platforms (SDN or Software Defined Networking).

Continue reading “Advanced open source networking resources”

Open source tech education culture at Penn Manor

wowPenn Manor is a short film sponsored by Red Hat as part of the Open Source Stories series. The film tells the story of Penn Manor, a secondary school in the United States in which IT director Charlie Reisinger introduced open source software and culture as part of a 1:1 laptop program. Open source was integral to the program because Reisinger wanted students to become “engineers, inventors, and architects and not technology tourists”.

Continue reading “Open source tech education culture at Penn Manor”

CentOS 7 firewalld NAT router

gearsThis post outlines how to build a simple router using firewalld and dnsmasq on CentOS 7.3. The problem this router solves for us at SuniTAFE is that it isolates virtual networks being built or used by students on VMWare ESX hosts from the main college network, while still allowing student access to the college network for DNS forwarding and internet access purposes.

Continue reading “CentOS 7 firewalld NAT router”

Update CentOS 7 to Golang 1.6

wowCentOS 7 is a rock-solid development and production platform, but this stability often means that default web-related packages are outdated. It turns out golang is no exception: the default CentOS 7 version is 1.4, whereas I wanted 1.6. There have been some changes in golang project layout between the two versions and I figured I may as well get with the program and update before starting a new API project.

Continue reading “Update CentOS 7 to Golang 1.6”

A PHP CORS example

Cross Origin Resource Sharing

gearsA webpage makes a cross-origin HTTP request whenever it requests an image, stylesheet or script from a different domain than the one which served itself. A good proportion of websites on the internet rely on the ability to make such requests. However, when a cross-origin HTTP request is initiated from within a script in a webpage, web browsers block the request for security reasons. The best example is Javascript’s XMLHttpRequest function, which follows the same-origin policy. This means that a web application using XMLHttpRequest within a script can only make HTTP requests to resources located within its own domain.

Continue reading “A PHP CORS example”