Currently my main job is Microsoft Dynamics Technical Consultant which responsible for developing and customizing features in Microsoft Dynamics 365.
I was facing an issue in accessing my own work which i exported from the environments i’m developing on.
Microsoft let you export your project in format called *.axpp which help you take backup of your project for archiving or relocation.
This feature is awesome but the problem was what if i want to access the content of the exported file and extract some of my old codebase in the current projects.
For that i was re-importing the project in test environment so i could open the files in Visual Studio and extract the content i want, UNTIL ………Read More
I have a low specs proxy server in the cloud with 1 CPU, 1GB Ram which act as a connector between my firewall/router and VPN provider.
This proxy server was getting cyber attacks from unknown sources and the proxy server relay this traffic to my firewall as normal traffic.
My home firewall has a special software called IPS Suricata which receive these attacks and thinks that the proxy is the machine which perform the attacks and block it and that action makes my VPN restart on the firewall and disturb my internet connection.
This behaviour happens frequently, so i decided to install Suricata on my proxy server to defend itself and prevent such traffic to arrive to my home firewall.
After installing Suricata on my proxy server i faced a CPU utilization problem. Suricata at first will perform fine and the CPU utilization will be low, then after awhile for unknown reasons the CPU goes to 99% and that will cause speed downgrade on my home firewall cause i’m tunneled throw that proxy server.
After two days troubleshooting, i decided to write a monitor script to act on my behalf, if the Suricata CPU goes beyond certain threshold the script will kill the process and restart the service immediately.
After deploying that script and run it as daemon, the problem is solved and the internet became stable at my home and the attacks disappeared.Read More
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.