stories of war between boy and machine


Uploading data to a webserver Part 1 – C/C++ and CURL

Following on from the last post on the topic of capturing packet data from a network, this guide demonstrates how you can use a cURL library to upload data from an application written in C (or C++) to a webserver. Although at times I refer to previous examples, you can use this in any number of applications. This will touch […]

, , , , ,

Decoding LLDP and CDP packets using a TLV reader for C++

Further to my previous post, this post details how to interpret network discovery packets – LLDP and CDP – that have been captured on a network interface. To do this, I’ll explain how to create a Type, Length and Value reader that reads an array of characters, determines the type of packet and its subsequent data fields […]

, , , ,

Capturing LLDP and CDP packets using C++ and WinPcap

I’ll categorise and change the order of posts later perhaps, but here is the first in a series on how I made an application to record the switchport and vlan, of a switch, that a computer is connected to. This setup will work where: You have a Windows PC with Winsock installed (Windows XP or later […]


Trouble in Sambadise; Issues with PBIS Active Directory and Samba

Continuing from the last post, with the original default configuration you could browse shares on the server, but with the updated configuration you can’t. We have joined the server to Active Directory and there are likely no issues reported with running pbis status, so what could be wrong? I had a look through some logs in /var/log/samba/, where there are […]

, , , , ,

‹ Previous Posts