recvfrom - Obtaining the Return Address
March 26, 2022
Have you ever wondered how to obtain the IP address from a client when working on
a socket application? That is what recvfrom()
API comes in handy.
A random blog by a random human
March 26, 2022
Have you ever wondered how to obtain the IP address from a client when working on
a socket application? That is what recvfrom()
API comes in handy.
February 21, 2022
February 21, 2022
In Highschool, we learned about how to find the roots of a quadratic equation which can be done in various methods. One of the methods is to factor which I found out is called the “ac method” (at least by Wikipedia).
February 12, 2022
Being bored and not wanting to study, I randomly checked up my Github repo and realized the static analyzer flagged a critical vulnerability in my code. For those of you not familiar with static analyzer, it is a security tool that reviews/analyzes code to determine if there are any obvious security vulnerabilities in your code. On Github, there is a pipeline workflow feature that allows you to execute specific scripts/actions for any code changes you push called Github Actions. Github has made it convenient to setup security analysis on your repo. The static analyzer I am using is called CodeQL, a tool created by Github. Here’s an example of the report that was flagged:
February 6, 2022
PAM stands for Pluggable Authentication Module and its purpose from my understanding
is to separate application developers from writing an authentication scheme into their
program. Think of it as an authentication “API” for “privilege granting” applications but
is flexible how each application authenticates the user. System administrators
are given the control and decision to how each application authenticates a user by modifying
PAM configs (policies) that could be found in locations such as /etc/pam.d
(location may vary depending
on the OS).
February 5, 2022
Currently, I am enrolled in a Calculus course named Calculus and Introductory Analysis II this semester where I get to revisit various concepts of Calculus such as integrations. While I have done calculus many years ago, I never appreciated the subject nor was proficient in the subject.