Tuesday 18 January 2022

How to disable ping requests with ESET Internet Security and other firewall settings

 



ICMP echo requests (commonly known as ping) are used to test reachability/connectivity of a device on Layer 3 'Network' protocol. The 'ping' commands sends ICMP packets and shows the round trip time (time taken for packet to deliver plus time for receiving back its acknowledgement) for each packet and their maximum, minimum and average RTT.

To disable ping requests TO or FROM your device, we have to define rules in firewall to block PING requests from specified IP addresses or all addresses.

If you have ESET Internet Security installed, the firewall settings are managed by the antivirus itself. 

So, to disable PING requests, we have to define rules in there.

Go to ESET Internet Security > Setup > Network Protection Firewall > Click on small settings icon on right > Configure

In the configure window, click on Advanced, then 'Edit' besides Rules.

In the rules window, check the 'Show built-in (predefined) rules' option: -


Scrolling down a little bit, you'll see these two rules already defined: -




Let them be there, we'll define new rules.

Click on 'Add' button. Give your rule any name. Specify the direction to which you want to block requests i.e., TO and FROM (OUT and IN). Select 'Deny' for 'Action'. Select 'ICMP' for 'Protocol'. 

For ICMP Type/Code, the request code is '8' and response code is usually 0,3 OR 11. But you can leave it blank. It will work fine. 

If you click on 'OK' this rule will apply to all IP addresses so ping requests from all IP addresses will be blocked. If you want only specific IP addresses to be blocked, click on 'Remote' tab in 'Edit Rule' window. Then in the IP box, define the IP address or specific range of IP addresses for which to block requests. After defining it, finally, click on 'OK'.

Now scroll down to the bottom, you'll find the rule there. You will have to move your rule above that default 'Allow outgoing ICMP requests' rule in order for it to be evaluated first. Move your rule to the top by clicking on left-most upward arrow in right corner: -



Once it's moved to top, close all windows by clicking on 'OK'.

Now try pinging to any of device in your LAN or even your localhost. If you blocked Outgoing requests you will see following message: -



Similarly, if you blocked Incoming requests, other machines will also see this message.




How to allow network access to certain IP addresses (basically disable firewall only for certain IP addresses)

To disable firewall only for specific IP addresses (for example, a device in your private network) so that it can access services on your device, you can create the following rule for that: -

Go to ESET Internet Security > Setup Network Protection Firewall > Click on small settings icon on right > Configure

In the configure window, click on 'Advanced' and in there click on 'Edit' button besides 'Rules'.

Click on 'Add' to add a new rule, in the 'General' tab, give your rule any name, select 'Both' directions OR any specific direction you want, select 'Allow' for 'Action', select the type of traffic (TCP, UDP, ICMP etc.) that you want to allow in 'Protocol'. Select 'Any' if you want to allow all types of traffic.
Now click on 'Remote' tab and in the IP box, define the IP address to which you want to grant access to.
After that click on 'OK' and move your rule to the top.
Finally close all the windows by clicking on 'OK'.

Now this will disable firewall for your selected IP address(s) and they can access any servers you have opened for to listen in your machine.


Sunday 8 June 2014

How To Make Bootable USB Flash Drive With Windows 7 USB/DVD Tool Or Command Prompt


Nowadays, Making Windows Bootable Especially Windows 7 And 8 Are Very Common. When You Buy A Computer, You Get Completely Absence Of OS!, You Need To Buy CD Or DVD Of Windows And Driver. So When In Case Of Corruption, You Can Install Again With No Enough Efforts. But Now Many People Are Doing This Way, Because Instead Of Making DVD-R They Make USB Bootable Because They Think That We Can Easily Remove Data After Installing. So, This Conception Is Not Bad. But If CDs And DVDs Are Finished, Then How Will People Firstly Install Windows?. If You Don't Have Any DVD Or CD To Install In Your Newly Buyed System, Then You Should Make Bootable Flash Drive On Another's Computer. But Remember You Should Have The ISO Of Your Windows. So, In This Tutorial, I Will Clear The Concept Of Making USB Bootable With Two Steps, With Software And With Command Prompt, You Have The Choice!. So Before Starting, You Should Read Requirements If Anyone Is Missed!.

Requirements

  1. USB Flash Drive : You've To Purchase A 100% Working USB, No Matter It Is Kingston Or Any Other, But It Should Be Atleast 4GB Because I Will Guide You To Make Windows 8.1 Pro Bootable Which Will Only Stored In 4GB. With XP, 1 GB Is Enough!.
  2. Windows ISO File : Just Download The Windows ISO File And Save It In Your Computer. It Is Format As ISO Because It Can Only Be Burned In DVD And USB Bootable.
  3. Windows 7 USB/DVD Download Tool : This Is A Software, Which Helps Your USB/DVD In Making Bootable. But In Case Of USB, This Uses The File "Bootsect.exe" To Paste In It's Directory To Make A Complete Backup Of USB. It Can Be Also Used For Windows 8 And 8.1, Not Lower Than 7!. Click Here To Download It!.
  4. Command Prompt : You'll Need A Command Prompt If You Are Willing To Make USB Bootable With Command Prompt. Take This, It Is So Simple And Interesting, But In Case Of Making USB From XP, It Will Take Your A Lot Of Time And Very High Attention!.

How To Make Bootable USB

1. Using Windows 7 USB/DVD Download Tool

Step 1 : Insert (Plugin) Your USB Flash Drive Into Your Computer's USB Port And Wait Until It Is Loaded.
Step 2 : Download The Software Here And Install It.
Step 3 : Now Download The File "bootsect.exe" From Here.
Step 4 : First Install The Windows 7 USB/DVD Download Tool.
Step 5 : Now, Paste The Downloaded "bootsect.exe" To Your Windows 7 Tool Directory Here "C:\Users\yourusername\AppData\Local\Apps\Windows 7 USB DVD Download Tool".
Step 6 : Now, After This, Open The Software "Windows 7 USB/DVD Download Tool", It Will Look Like This:-


Step 7 : Click "Browse" Button, And Select Your Windows ISO File, Then Click On "Next".


Step 8 : Select Your Media Type, "USB Device".


Step 9 : After Selecting USB Device, Click "Begin Copying".

Now Wait A Little And You Will Get A Message That Your Backup Is Completed. 

Step 10 : All Done!. Now Restart Your Computer And Install Windows In The Same Manner As You Install From DVD, But Select USB Flash Drive In Boot Option!.

2. Making USB Bootable Using Command Prompt

Warning!

When Attempting This Step You Should Very Caution, Otherwise You Would Be Starting From Beginning!.

2.1. Using Command Prompt On Windows XP

Step 1 : First Download This File And Extract It Into A Folder.
Step 2 : This Folder Should Contain "cfadisk.inf" File, Open That With Notepad.
Step 3 : Find A Line Like This "%Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-11000__________________________SC2IC801".
Step 4 : Let The File Opened, Go To "Device Manager", Expand "Disk Drives", Select Your USB And Click On "Properties".
Step 5 : Go To "Details" Tab, Under XP The Item "Device Instance ID" Is Already Selected, Below Is The Code, Just Press Ctrl + C.
Step 6 : Now Go To Notepad, See That Line Above, Paste The Code Replacing "IDE\DiskIBM-DSCM-11000__________________________SC2IC801".
Sample:-
%Microdrive_devdesc% = cfadisk_install,USBSTOR\DISK&VEN_LEXAR&PROD_JUMPDRIVE&REV_1.30
Step 7 : Don't Change Any Of The Line, Now Go To The Last Line Of The Notepad, There Will Be Written "Hitachi Microdrive" Which You've To Change To "RemovableToFixed".
Step 8 : Now After All The Accurate Result, Save The File, Then Come Back To "Device Manager", Select Your USB Drive, Click "Update Driver Software", Then Select 2nd Option Which Should Be That Install From Device (Advanced).
Step 9 : After Selecting, Click Next, Then "Don't Search I Will Install From A List Or...... ", Next -> "Have Disk", Now Browse That Saved "cfadisk.inf" File Here, Now "RemovableToFixed" Should Be In The List -> Next ->Confirm Warnings -> Finish.
Step 10 : Now The Main Step, Open "Command Prompt", But Remember To "Run As Administrator".
Step 11 : Now Enter "diskpart" There, Then Enter "list disk", See Your USB Flash Drive Size, If Your Size Matches Disk Number, Then Enter "select disk (your usb number without brackets)", Then Enter "clean", Then Enter "create partition primary", Now Enter "select partition 1", If select partition 1 doesn't Works, Then Do select partition (your usb number without brackets) Then Enter "active", Now Your USB Is Bootable!.
Step 12 : Don't Close Command Prompt, Enter "assign", Then Enter "exit", Now You Will Exit Diskpart Not Command Prompt, Don't Close Command Prompt.



Step 13 : Go To My Computer, Open Your USB Flash Drive, Format It With NTFS File Format.
Step 14 : Now Mount Your Windows ISO With Daemon Tools Or Any Other Software, Then Copy All The Windows Files And Paste To Your USB Flash Drive.
Step 15 : After Copying, Download "bootsect.exe" From Above Provided If You Have Not Downloaded.
Step 16 : Paste Your "bootsect.exe" To A Folder Name "W8" To Your Drive "D".
Step 17 : Come Back To Command Prompt, Enter "D:", Because You've Located Your File To Drive D.
Step 18 : Now Enter "cd W8", Because You've Located Your File To W8 Folder.
Step 19 : Now Enter "cd boot", If This Shows Error, Then Leave It.
Step 20 : Now Write "bootsect.exe/nt60 (your usb drive letter without brackets):" Example "bootsect.exe/nt60 h:", H Is The Letter Of The USB Flash Drive In My Computer.
Step 21 : Then You've Make Your Pen Drive Bootable!.

Untitled 6

Step 22 : The Above Is Only The Example Because I've Pasted "bootsect.exe" File To That Above Directory, But You Should Follow My Rule Above.
Step 23 : That's All!.

Now You've Created Bootable USB Flash Drive Using This Method!.

2.2. Using Command Prompt On Windows Vista, 7, 8

In These Versions Of Windows, You Will Do All The Same Of The Above Methods, But You Will Skip From Step 1 To Step 9, Rest Of All Is The Same. This Is Because The USB Flash Drive Does Not List In "list disk" While Doing In Windows XP, That's Why I Told You To Do So.

Final Words!

Now Finally, You've Setup Your USB Flash Drive And Make Bootable In Order To Use It For Installation Of Windows. I Hope You Have Understand. I Have Provided Two Steps Because If The First One Not Works, Then You Should Try Second, This Is The Only Step That Works 100% Because I Have Also Installed Windows 8.1 Pro From Second Step. Remember, That While Attempting Second Step, You Should Be Very Very Caution. Enjoy The Windows 8.1 Pro!. If You've Any Question, Ask In Comments!.





 

© 2013 Tech Duminy. All rights resevered. Designed by Templateism

Back To Top