Archive

Category Archives for "Networking"

How vagrant-libvirt Plugin Deals with Duplicate Subnets

TL&DR: Badly. The vagrant-libvirt plugin mysteriously crashes when an existing virtual network (with a different libvirt name) uses the same IP subnet as the desired management network.

Background: netlab is using the vagrant-libvirt plugin to manage libvirt/KVM virtual machines with Vagrant. As I already have that infrastructure, I use it to start standalone virtual machines (usually to test various Ubuntu releases) on my Linux server. Things work great… until they don’t.

Here’s how I managed to waste half a day chasing imaginary gremlins caused by a simple error.

Kendaraan Robot Otonom untuk Sistem Jalan Berpori Otomotif Perkotaan

Dalam beberapa tahun terakhir, inovasi otomotif tidak hanya berfokus pada kendaraan pribadi atau transportasi umum, tetapi juga berkembang ke ranah teknologi perkotaan yang berkelanjutan. Salah satu terobosan mutakhir saat ini adalah pengembangan kendaraan robot otonom pengangkut sistem perakitan jalan berpori yang berfungsi sebagai solusi efektif untuk mengatasi masalah banjir di wilayah perkotaan. Konsep jalan berpori yang kini semakin populer menjadi bagian integral dalam mendukung visi kota hijau dan manajemen air yang efisien, sementara teknologi otomotif otonom memberikan kemudahan dan efisiensi dalam proses instalasi dan perawatan sistem tersebut.

Memahami Konsep Jalan Berpori dan Peranannya dalam Solusi Perkotaan

Jalan berpori, atau porous pavement, merupakan teknologi infrastruktur yang dirancang untuk memungkinkan air hujan meresap secara langsung ke tanah melalui permukaan jalan, sehingga mengurangi genangan dan risiko banjir. Saat ini, penggunaan jalan berpori semakin meluas karena dampaknya yang signifikan dalam mengelola limpasan air hujan di daerah perkotaan yang padat dan minim ruang resapan alami.

Keunggulan jalan berpori tidak hanya dari segi penyerapan air, tetapi juga pada kemampuannya menjaga kualitas air dengan memfilter kotoran dan polutan sebelum air kembali ke tanah. Ini sangat relevan dengan kondisi perkotaan yang semakin berkembang dan menghadapi tantangan penataan ruang hijau dan drainase tradisional yang mulai tidak memadai. Oleh karena Continue reading

Hornussen: Olahraga Tradisional Swiss dengan Refleks dan Kecepatan Tinggi

Hornussen, olahraga tradisional Swiss yang mulai dikenal luas kembali dalam periode terbaru, telah merebut perhatian banyak pecinta olahraga karena kombinasi unik antara kecepatan proyektil dan refleks ekstrem yang dibutuhkan para pemainnya. Saat ini, hornussen bukan hanya sebagai warisan budaya, tetapi juga sebagai bentuk olahraga kompetitif yang menuntut keterampilan fisik dan mental tingkat tinggi. Artikel ini mengulas mengapa olahraga hornussen begitu menarik dari sisi teknis dan apa yang membuat perpaduan refleks ekstrem serta kecepatan proyektil menjadi inti dari permainan ini.

Pengenalan Olahraga Hornussen: Tradisi dan Perkembangan Terkini

Hornussen merupakan olahraga yang berasal dari pedesaan Swiss dan selama beberapa dekade terakhir bertransformasi dari hiburan tradisional menjadi aktivitas kompetitif dengan standar aturan yang makin ketat. Saat ini, hornussen dimainkan secara aktif di berbagai wilayah Swiss dan beberapa komunitas di kawasan Eropa lainnya yang ingin melestarikan budaya serta mengembangkan potensi olahraga unik ini. Hornussen sering disebut sebagai olahraga yang memadukan unsur cricket, golf, dan bisbol, karena pelaksanaan pukulan dan permainan tim yang dinamis.

Esensi dari hornussen adalah memukul sebuah proyektil kecil bernama “Nouss” dengan alat khusus yang disebut “Hornussstock.” Proyektil ini meluncur dengan kecepatan luar biasa, bahkan bisa mencapai ratusan kilometer per jam, sehingga menarik dan menantang para pemain lawan untuk menangkis Continue reading

HW088: Scaling Your Wireless Team with Ekahau SaaS (Sponsored)

In this sponsored episode, Keith is joined by Matt Starling and Troy Martin of Ekahau to announce their new Software as a Service (SaaS) licensing model. Together they explain the different flexible subscription options and how they complement traditional perpetual licenses. They also breakdown the hardware capabilities of the Sidekick 2 and the Speedtest Pulse.... Read more »

One or Two Nameservers?

The answer to the question of just how many DNS nameservers should you use to serve a zone seems to be buried more in folklore than data! Let's see if there is a measurable difference between serving a zone with one or two nameservers.

Configuring Management IP Addresses to Virtual Network Devices

It goes without saying that if you want to configure (virtual) network devices with any semi-sane configuration mechanism1, the device must have a working IP address. Here’s the time-honored method2 to assign an IP address to a virtual network device:

  • Start the virtual machine (using a GUI)3
  • Open a new window: either a telnet session to the virtual console port or a full-blown virtual console (GUI) session.
  • Manually configure the IP address, the SSH server, and the user credentials on the first interface.

Automating Let’s Encrypt Certificate Renewal for Palo Alto GlobalProtect

Automating Let's Encrypt Certificate Renewal for Palo Alto GlobalProtect

If you manage GlobalProtect VPN certificates on Palo Alto and use Let's Encrypt, at some point you will start thinking about automation. Let's Encrypt certificates have a short lifespan, so renewing them manually every few months isn't really practical. In this post, we will look at automating this process using Ansible, Cloudflare DNS, and the PAN-OS Ansible collection to renew certificates and push them to the firewall.

Prerequisite

Let's say your domain is mydomain.com and it's managed through Cloudflare. You want to generate a certificate for vpn.mydomain.com and have it automatically installed on your Palo Alto firewall as the GlobalProtect portal or gateway certificate, without logging in manually every time it's close to expiry. To do this, you will need:

  • Python/Ansible installed
  • A domain managed through Cloudflare, so certbot can complete the DNS-01 challenge. This doesn't have to be Cloudflare specifically, certbot supports several other DNS providers as well, but this post assumes Cloudflare since that's what we're using here.
  • A Cloudflare API token with permission to edit DNS records for that zone
  • Certbot installed along with the Cloudflare DNS plugin
  • Ansible with the paloaltonetworks.panos collection installed
  • An API key from your Palo Alto firewall so Continue reading

HN841: HPE Melds Apstra and Mist for Self-Driving Data Center Networks (Sponsored)

In this sponsored episode, Kyle Baxter and Sridhar Katere from HPE join Drew to talk about automating enterprise data center networks. They discuss how HPE integrates its Apstra and Mist products to bring AI ops and self-driving capabilities into data center operations. They also break down how HPE leverages the different strengths of each platform,... Read more »

Worth Reading: NatJack

Every time I wrote something along the lines of NAT is not a security feature, I got the expected pushback from people defending their bad suboptimal design choices.

Fortunately, rational1 engineers no longer need to have that discussion: the NatJack website documents2 a half-dozen attacks on typical NAT implementations.

Obvious next step: coping mechanisms like “this is all theoretical”, like the “but the remote host cannot reply” argument made 23 years after the Slammer worm 🤦‍♂️.

LIU022: Chris Grundemann – From Pulling Cable to Network Automation Forum

Chris Grundemann joins Alexis and Kevin to discuss his career evolution from pulling cable to co-founding the Network Automation Forum. Chris shares insights on the challenges of adopting network automation, the impact of AI on the industry, the importance of professional networking, and strategies for maintaining a healthy work-life balance. AdSpot Sponsor: Meter Most IT... Read more »

Sway screen recording

Step by step for doing a screen recording on Sway.

I want to capture exact 16x9 dimensions, and exactly the the right content. I do it pretty rarely, but yeah this should be automated.

1. Get the window ID

Run this command, and move the pointer to the window you want to record.

$ sleep 2;swaymsg -t get_tree | jq '.. | objects | select(.focused? == true) | {app_id, id, name, window_properties}'
{
  "app_id": "brave-browser",
  "id": 802,
  "name": "WebUSB RF Survey - Brave",
  "window_properties": null
}

2. Make the window floating in a known place

swaymsg '[con_id=802] floating enable,move position 200 px 256 px, resize set width 1600 px height 901 px'

(yes, 901. This may be because of my 1.3 scaling on that monitor, giving an off by one pixel due to rounding)

3. Get the rect coordinates post move

sleep 2;swaymsg -t get_tree | jq '.. | objects | select(.focused? == true) | .rect'
{
  "x": 2120,
  "y": 256,
  "width": 1600,
  "height": 900
}

4. Start recording

wf-recorder -g '2120,257 1600x900' -f output.mp4

(yes, 257. Add one. Probably same reason)

5. Get coordinates of areas you want to black out

$ slurp
2163,333 1514x37
 Continue reading