<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ajinm98</title>
    <description>The latest articles on DEV Community by ajinm98 (@ajinm).</description>
    <link>https://dev.to/ajinm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F873383%2Ff01909f9-2723-4f0a-992d-289b2e957da2.png</url>
      <title>DEV Community: ajinm98</title>
      <link>https://dev.to/ajinm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajinm"/>
    <language>en</language>
    <item>
      <title>Unlocking Cloudflare's Threat Score: Enhance Your Security Without Upgrading Your Plan</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Wed, 10 Apr 2024 10:45:08 +0000</pubDate>
      <link>https://dev.to/ajinm/unlocking-cloudflares-threat-score-enhance-your-security-without-upgrading-your-plan-1jc5</link>
      <guid>https://dev.to/ajinm/unlocking-cloudflares-threat-score-enhance-your-security-without-upgrading-your-plan-1jc5</guid>
      <description>&lt;p&gt;Cloudflare assigns a threat score to each request that is proxied through its services. This threat score ranges from 0, indicating no risk, to 100, signaling a high risk. The score classifies the IP reputation of a visitor based on several factors, including data from Project Honeypot, external public IP information, and internal threat intelligence derived from WAF managed rules and DDoS mitigation efforts.&lt;br&gt;
However, users on the Basic or Pro plans do not have direct access to the threat scores of their traffic, nor can they create rules based on these scores. But there's a workaround that allows you to access this risk score and utilize it to create rules within your application.&lt;br&gt;
The key is to create a Transform Rule that modifies the request header. By doing this, you can get the risk score information and make rules/decisions to enhance your application's security.&lt;/p&gt;

&lt;p&gt;Please follow the steps below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to transform rules&lt;/li&gt;
&lt;li&gt;Select Modify Header request&lt;/li&gt;
&lt;li&gt;Set a dynamic header with value 'cf.threat_score'
That's it now you will get threat score for each request using the dynamic header name&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fumrvyq4ynxfrtkk601oj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fumrvyq4ynxfrtkk601oj.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fergj71ad5hk1927fi4sk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fergj71ad5hk1927fi4sk.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0fy2by4bmmgmcyw560pb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0fy2by4bmmgmcyw560pb.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Total data transfer of Individual sites from access log</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Fri, 19 Aug 2022 19:08:35 +0000</pubDate>
      <link>https://dev.to/ajinm/total-data-transfer-of-individual-sites-from-access-log-2mmc</link>
      <guid>https://dev.to/ajinm/total-data-transfer-of-individual-sites-from-access-log-2mmc</guid>
      <description>&lt;p&gt;Command - cat /website/access.log | awk 'BEGIN{sum=0} {sum=sum+$10} END {print sum}'&lt;/p&gt;

</description>
      <category>apache</category>
      <category>devops</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Swiss army knife of Linux</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Tue, 05 Jul 2022 19:00:52 +0000</pubDate>
      <link>https://dev.to/ajinm/swiss-army-knife-of-linux-m10</link>
      <guid>https://dev.to/ajinm/swiss-army-knife-of-linux-m10</guid>
      <description>&lt;p&gt;BusyBox - The Swiss Army Knife of Embedded Linux&lt;/p&gt;

&lt;p&gt;BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities&lt;/p&gt;

&lt;p&gt;Here is how to launch a simple web server using  busybox on port 8080, just run&lt;/p&gt;

&lt;p&gt;busybox httpd -f -p 8080&lt;/p&gt;

&lt;p&gt;&lt;a href="https://manpages.ubuntu.com/manpages/trusty/man1/busybox.1.html#:%7E:text=BusyBox%20combines%20tiny%20versions%20of,%2C%20util%2Dlinux%2C%20etc"&gt;https://manpages.ubuntu.com/manpages/trusty/man1/busybox.1.html#:~:text=BusyBox%20combines%20tiny%20versions%20of,%2C%20util%2Dlinux%2C%20etc&lt;/a&gt;. refer for more info&lt;/p&gt;

</description>
      <category>linux</category>
      <category>cloud</category>
      <category>aws</category>
      <category>devops</category>
    </item>
    <item>
      <title>Why do we use port 8080 for http in some webservers?</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Sun, 03 Jul 2022 15:35:37 +0000</pubDate>
      <link>https://dev.to/ajinm/why-do-we-use-port-8080-for-http-in-some-webservers-5073</link>
      <guid>https://dev.to/ajinm/why-do-we-use-port-8080-for-http-in-some-webservers-5073</guid>
      <description>&lt;p&gt;The reason is that&lt;br&gt;
listening on any port less than 1024 requires root user privileges. This is a security risk,&lt;br&gt;
because any attacker who manages to compromise your server would get root privileges too.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>linux</category>
      <category>beginners</category>
      <category>security</category>
    </item>
    <item>
      <title>Convert virtualisation of your EC2 from PV to HVM</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Fri, 24 Jun 2022 18:35:55 +0000</pubDate>
      <link>https://dev.to/ajinm/convert-virtualisation-of-your-ec2-from-pv-to-hvm-36o9</link>
      <guid>https://dev.to/ajinm/convert-virtualisation-of-your-ec2-from-pv-to-hvm-36o9</guid>
      <description>&lt;p&gt;I recently came across a script which will enable us to convert the virtulization of our instance from ParaVirtual to HVM&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/comeara/e06bdf2666923a810e58507ee6833988"&gt;https://gist.github.com/comeara/e06bdf2666923a810e58507ee6833988&lt;/a&gt;&lt;br&gt;
Check out this script!!!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to install latest version of packages on Amazon Linux 1</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Mon, 06 Jun 2022 19:20:52 +0000</pubDate>
      <link>https://dev.to/ajinm/how-to-install-latest-version-of-packages-on-amazon-linux-1-59d8</link>
      <guid>https://dev.to/ajinm/how-to-install-latest-version-of-packages-on-amazon-linux-1-59d8</guid>
      <description>&lt;p&gt;As we all know that Amazon linux 1 support is no linger available ,hence some of the latest packages are not available for the same,I faced this issue while installing nrpe v 4.0.0 for nagios, The supported version for amazon linux was only 2.3&lt;br&gt;
But I was able to install nrpe 4.0.0 package on my instance my changing the "OS" value in /etc/release file from "Amazon Linux 1" to "Cent OS" .&lt;/p&gt;

&lt;p&gt;Since both are Red Hat based, most of the packages might work using this trick &lt;/p&gt;

</description>
    </item>
    <item>
      <title>MYSQL DUMP showing error in parsing data</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Mon, 06 Jun 2022 19:16:14 +0000</pubDate>
      <link>https://dev.to/ajinm/mysql-dump-showing-error-in-parsing-data-513g</link>
      <guid>https://dev.to/ajinm/mysql-dump-showing-error-in-parsing-data-513g</guid>
      <description>&lt;p&gt;Can be solved by adding this to your query&lt;/p&gt;

&lt;p&gt;mysqldump --column-statistics=0&lt;/p&gt;

</description>
      <category>mysql</category>
      <category>linux</category>
    </item>
    <item>
      <title>Word-Press plugin issue where FTP creds are asked and Connection Issue is shown</title>
      <dc:creator>ajinm98</dc:creator>
      <pubDate>Mon, 06 Jun 2022 19:14:53 +0000</pubDate>
      <link>https://dev.to/ajinm/word-press-plugin-issue-where-ftp-creds-are-asked-and-connection-issue-is-shown-2i24</link>
      <guid>https://dev.to/ajinm/word-press-plugin-issue-where-ftp-creds-are-asked-and-connection-issue-is-shown-2i24</guid>
      <description>&lt;p&gt;Add this to your wp-config.php file to solve the issue&lt;/p&gt;

&lt;p&gt;define('FS_METHOD', 'direct');&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
