After using OPNSense firwall for a while to tunnel my traffic throw VPN directly from the network infrastructure level, i’m really satisficed with the experience but while i’m monitoring the firewall traffic, i discovered a traffic leaking happen in some cases.
VPN traffic should go to the VPN Interface, but i find a traffic on the WAN Interface which originated from the LAN to VPN and the firewall pass it and that cause leak.
To prevent such leaking i configured the firewall rules to drop any VPN traffic that escapes to the WAN Interface by tagging the VPN traffic in the network and on the WAN i will check the traffic tag, if the traffic is VPN traffic the firewall will drop it to prevent the leak.
In this article i will explain the configuration to prevent such leak on OPNSense.Read More
After while of using OPNSense firewall, i needed to resize my disk on ESXi and scale up the disk space for OPNSense.
After investigating this issue online, i found that i need to resize the disk from command line and i could not find one clear source to help me on this task.
The problem for me was the swap partition, cause the new free space appended on the end of the disk and i can’t used it because the swap partition is on my way. To scale up root partition the free space should be continuous and available after the target partition.
I had two options
- Remove the swap partition (Not recommended)
- Move the swap partition to the end of the disk (Recommended)
In this article i will describe how to move the swap partition to the end of the disk and scale up root partition for OPNSense.
The steps don’t require shut downing the firewall or use live usb, it’s straight forward steps while the firewall is operational, but be caution and alert to what you are doing.Read More
I was working on a personal project (Machine Learning) required to scrape Souq.com public data to train my model.
After doing intensive search on the web i didn’t find any powerful scrapper which can get the information i want so i decided to develop one.
My scrapper is advanced because it’s scrape almost all the public information from Souq.com very fast and can scrape the whole website offline for BI Analysis, Machine Learning or any other purpose.
The scraper can scrape the whole Souq.com in 1~2 days at max on regular internet speeds (4mb~16mb) if you have more bandwidth it will be more faster and less time.Read More
I’m a huge fan for the Horror/Sc-Fi game Alien Isolation, but i faced a serious problem after i downloaded this game on my low specs PC.
The game designed to work correctly on DirectX11 & Powerful Graphic Cards, and if you don’t meet these requirements, you will face a random frequent crashes during the game that will make your life as Hell.
So i tried to figure out how to solve the problem so i can play the game normally without any crashes, and i figured out a solution.
The problem comes from the Engine Settings file in “<Game-Path>\Data\Alien Isolation.xml”.
This file simply have the configurations for the game graphics parameters, and these parameters configured to be compatible DirectX11 and to provide you the best game experience even in the lowest options but these configurations will make your graphic card unstable cause the graphic card don’t have the power to handle such configurations.
So the solution is to change some of these configurations so it can meet with your graphic card capabilities.
Of course this will downgrade the game graphics a little bit but you will gain that the game will be stable and you can enjoy it.
Note: this manual enable you to run the game on DirectX10 too, but you must have at least 4-Core Processor cause the game switch on software acceleration.
FYI, this solution is working on my Laptop that have Intel Graphic card and it’s working fine.
In my work, i needed to generate a folders structure to help the team to organize the work data, but i found that i have to create more than 1500 nested folders, and that’s hard to do manually so i tried to search for a solution on the internet for my situation but without any results so i developed my own tool to do the task, i developed Directory Tree Generator.
Directory Tree Generator
Directory Tree Generator (DirGen) is a small tool based on .Net-framework 4 that helps administrators to build any Directory Structure they want without any effort and with organized way.
Directory Tree Generator Functions
DirGen provide various functions to help the administrator accomplish his objective:
- Read Excel-Sheets and Extract the Folder Structure Tree.
- Generate and modify Directory Structure Tree in Run-time.
- Generate the Directory Structure Tree in Text File.
- Execute The Directory Structure Tree on The Windows File System.
- Export Directory Structure Tree to Excel Format.
- Support Command Line Parameters for Scripting.
Directory Tree Generator ScreenshotsRead More
While I’m working in AeroXtreme MAV Researching Project, i faced a serious problem in the serial communication in .NET C#. The standard C# serial component is too slow to handle fast serial communication for real-time applications. The MAV Main Computer send data over serial communication in high frequency and send a lot of data. When I used the standard C# serial library “Receiving Event” a huge lag of communication appeared and the buffers is jammed due to the high frequency of communication. After a lot of testing and debugging i found that the serial communication using the standard library will fail in such application so i tried to develop a Fast Serial Library to fulfill my requirement of real-time communication. My Library solve this problem and it can work with high frequency communication without any overhead on the processor due to the frequency control technique.
In the last few hours i faced a serious problem with VMWare.
My VMDK or VMWare Virtual Disk file corrupted due to a failure happened in the vmware.
After doing search on internet about this problem i didn’t found efficient and easy solution, but at last i found a the best solution represented by VMWare company for both Windows and Linux users 😀
It’s the most efficient and easiest solution for anyone have problem with his VMDK files.