View Post

Installing Wireshark on Mac OS X (Yosemite)

In Cybersecurity by Ian0 Comments

This entry is part 2 of 2 in the series Monitoring, Auditing, Intrusion, Penetration Testing

Wireshark is a software application for protocol and network traffic analysis, also known as a network sniffer. The application can be downloaded for free at https://www.wireshark.org/#download. I downloaded Wireshark from the url and selected the macOS 10.6 .dmg file. I was able to successfully mount the download image and run the package installer which kept all the default settings with the …

View Post

TCP Congestion Control

In Cybersecurity by Ian0 Comments

This entry is part 1 of 2 in the series Monitoring, Auditing, Intrusion, Penetration Testing

So it’s that time of year again where I decided to enroll in another Cybersecurity class at UMUC. I will be posting snippets from the class over the next few weeks. This week TCP Congestion Control was one of the topics I was looking at and so this post will serve as a high level overview. TCP Congestion Control is …

View Post

Dependency Injection / Service Container Example

In Drupal, Web Development by Ian0 Comments

This entry is part 14 of 14 in the series Drupal 8 Activity Cards

In an earlier post, I outlined the basics of dependency injection and talked a little bit about the Drupal 8 service container and how we can use this in our code. Day 16 of Drupal Activity Cards provides a task for us to implement dependency injection in one of the Drupal 8 Example modules. The examples module is a great …

View Post

Logging in Drupal 8

In Drupal, Web Development by Ian0 Comments

This entry is part 13 of 14 in the series Drupal 8 Activity Cards

Logging is very important in any production site because we don’t have the same ability to debug code that we have in our development environments. Drupal 7 had a very robust logging system called watchdog(), which has been replaced by logger in Drupal 8. This post summarizes a basic use case for logging in Drupal 8 continuing the Drupal 8 …

View Post

Introduction to Drupal 8 Theming

In Drupal, Web Development by Ian0 Comments

This entry is part 12 of 14 in the series Drupal 8 Activity Cards

Drupal 8 has a new theme engine, however many of the concepts we are familiar with in Drupal 7 are still in place in this new version. Themes still have the same ability to overwrite various templates within core, only now instead of modifying .tpl.php files, you will be creating Twig files in their place. Theme functions are still available …

View Post

Creating a Custom Content Entity Type

In Drupal, Web Development by Ian1 Comment

This entry is part 11 of 14 in the series Drupal 8 Activity Cards

Drupal 8 has seen a lot of improvements for content entities and with the new Drupal console, setting up a content entity has been made a lot easier with the addition of boilerplate code generation. Day 11 of the Drupal 8 Activity Card set focuses on content entities, how they can be setup in Drupal 8, how we might add …

View Post

Configuring your Local Drupal 8 Development Environment

In Drupal, Web Development by Ian0 Comments

This entry is part 10 of 14 in the series Drupal 8 Activity Cards

I have struggled with properly optimizing my local environment in terms of enabling debugging and disabling cache for a while. There isn’t that many steps you need to cover in order to have a proper working development environment. After reviewing Day 10 I completed setting up my environment the correct way and have outlined this in the following sections. Step …

View Post

Attaching JS and CSS Assets in Drupal 8

In Drupal, Web Development by Ian0 Comments

This entry is part 9 of 14 in the series Drupal 8 Activity Cards

Drupal 8 has introduced a different way of attaching JavaScript and CSS to themes and custom modules via a new concept called libraries, which are covered in Day 9. Libraries are essentially .yml files that define different groups of assets that can later be attached via module code. When I started working with the theme layer in Drupal 8, I quickly realized …

View Post

Drupal 8 Plugin System

In Drupal, Web Development by Ian0 Comments

This entry is part 8 of 14 in the series Drupal 8 Activity Cards

There is a lot of new terminology in Drupal 8 and for anyone not familiar with Object Oriented programming, some of it can be downright confusing. For myself, I have worked with OOP for quite a while, however I have not spent as much time writing custom modules for Drupal 7. While I am familiar on the surface with the …