Better HN
topnewbestaskshowjobs
Log inSign up

0nate

7 karma · joined Sep 11, 2023 (3y ago) · 11 submissions

Submissions

comment 2y ago · link · parent

Thanks for the feedback. I hope you find HandyDash useful. If you find any issues feel free to raise here: https://github.com/Nathan-Handy/HandyDash/issues

2.

Visual Guide to Network Connectivity(nathanhandy.blog ↗)

3 points · by 0nate · 2y ago · discuss

comment 2y ago · link · parent

Hi.. Check out the diagrams here: https://www.nathanhandy.blog/articles/osi-model-revisited.ht... .. obviously this is only a static conceptual representation. Most network vendors will have some form of visual representation of traffic, but it's tyipcally only discreet metrics / graphs.

comment 2y ago · link · parent

The lower you go in system architecture, the greater the impact when defects occur. In this instance, the Crowdstrike agent is embedded within the Windows Kernel, and registered with the Kernel Filter Engine illustrated in the diagram below.

https://www.nathanhandy.blog/images/blog/OSI%20Model%20in%20...

If the initial root cause analysis is correct, Crowdstrike has pushed out a bug that could have been easily stopped had software engineering best practices been followed: Unit Testing, Code Coverage, Integration Testing, Definition of Done.

comment 2y ago · link · parent

Please note, I've now uploaded a list of the v1.0 HandyDash features to GitHub, also shown below. Thanks.

[Available Checks] HTTP check for 200-299 (success) responses (follows 30X redirects). HTTP check for specific response content (text). HTTP check for latest and average response times. HTTP check for validity of server, intermediate, and root certificates. TCP check conducted (only) if HTTP check failure occurs. IP check conducted (only) if TCP check failure occurs.

[Warnings & Failures] Informative summary of HTTP, TCP, IP warnings and failures. Warning if HTTP response is slower than average by 100%. Warning if expiry date of server, intermediate, root certificate is less than 2 weeks, but more than 2 days. Error if expiry date of server, intermediate, root certificate is less than 2 days. Error if expiry date of server, intermediate, root certificate has passed, or start date is not yet reached. Error if server, intermediate, root certificate is invalid, including missing SAN values, or signed by an untrusted certificate authority. Error if HTTP response is not received within 15 seconds. Error if HTTP response is slower than average by 200%. Error if HTTP response code is not 200-299, or 30X redirect. Error if HTTP response does not contain the expected response content (text). Error if TCP check (connection) is not complete within 3 seconds. (Only executed when HTTP check fails). Error if IP check (ping response) is not received within 2 seconds. (Only executed when TCP check fails). Date and Time shown for the most recent failure 'Last Failure', when node is in the warning or failed state. Date and Time shown for the initial failure 'First Failure', when consecutive failures have occurred. 'First Failure' is reset upon node returning to a healthy state (green state). Date and Time shown for the most recent alert 'Last Alert', when node has returned to a healthy state (green state). Automatic bubble up of warning and failure states (yellow and red states), when 2 consecutive alerts have occurred for a given child node. Bubbled up alerts propagate to the root/top level node. Ability to suppress bubbled up alerts - at the source of the alert - for 24 hours.

[General] Browser based tree view UI, with in-built browser zoom options. Single click to zoom to any individual node (useful when browser zoom is set to a low value in order to display many nodes). Expand and collapse button for each parent node. UI options for spacing between parent and child nodes, and horizontal or vertical display of child nodes. Automatic polling of all HTTP targets at 1 minute intervals. Automatic refresh of browser UI at 1 minute intervals. HTTP check automatically follows 30X redirects and conducts checks against the target location. Logging of all failures to the console UI, containing local and UTC time that each failure occurred. Multi-threaded checks, ensuring slow response / failure of one node does not block the check of others. Runs on local URL http://127.0.0.1:55480, with port configurable via "Urls" setting in appsettings.json. All configurations persisted to a single portable JSON file 'handydash-configuration.json' located under the wwwroot folder. Cross platform support, including Windows, Linux, and macOS (please enquire about further platforms).

6.

Show HN: HandyDash. A Simple Tree View Monitoring Tool(github.com ↗)

5 points · by 0nate · 2y ago · 1 comment

comment 2y ago · link · parent

There are a couple of general OSI diagrams I produced recently, available here: https://www.nathanhandy.blog/articles/osi-model-revisited.ht.... They might be a good conceptual starting point for you.

comment 3y ago · link · parent

Hi, thanks for your comment.

Like any problem, system design is good to look at from different perspectives. The TCP/IP model groups the OSI's Application, Presentation, and Session layers together which would be fine if the accompanying descriptions for the TCP/IP model still described the concerns of the OSI's Presentation and Session layers (e.g. encoding, encryption, and SOCKS sessions in the context of web tech). But what I've seen is that the concerns of the Presentation and Session layers (from the OSI conceptual model perspective) are typically watered down or omitted altogether from explanations. For someone that is learning software engineering and who may end up as an application engineer or a network software engineer, this is not helpful at all.

While modern logical implementations don't typically adhere to the OSI model (separate layers with clear well defined boundaries), the concerns of the conceptual layers are still relevant, and still need solving in most applications. In practice you can have many different variations in logical implementations, e.g. applications or operating systems that blend functions for separate conceptual layers into the same binary file. The biggest problem that I see is that traditional explanations of the model (including the one I received at university) focus only on the conceptual overview, and don't relate the model to these more practical examples.

Your professors explanation touches on this somewhat, discussing how the Session layer concerns might be implemented logically alongside other Presentation and Application layer functions. Their comment about physical changes affecting how the models responsibilities might shift is valid too. You can see this with the TCP/IP offload capabilities of some NICs, where certain connection and checksum tasks can be delegated by the O/S to the NIC and may no longer be executing under the same process on the CPU. But you're still (for now) going to have a conceptual and potentially logical separation of concerns for Transport (TCP) and Network (IP) functions inside that NIC.

comment 3y ago · link · parent

Hi HN. I thought I'd share my first blog article, revisiting the OSI model. Systems interconnectivity is a complex subject, but I've not found many resources that give a practical overview, or link concepts with logical and physical examples. So I've created a couple of new diagrams for reference by technology professionals, and I discuss the continued relevance of the OSI model within the article. All comments & questions welcome. Thanks.

10.

The OSI Model Revisited(nathanhandy.blog ↗)

2 points · by 0nate · 3y ago · 4 comments