Forbid non-LAN web to access LAN
LAN port scan forbidder Extension
## Source Code Repo
https://github.com/garywill/LAN-port-scan-forbidder
## What
Webs can try to fetch `127.0.0.1:xxxx` or `192.168.Y.Z:xxxx` to scan your open ports in LAN.
Although browsers have cross-domain protections, webs can't read response contents, **but** can still see the connection succeeds or fails.
There're already reports that some websites using that as tracking fingerprint.
> A web for testing: http://samy.pl/webscan/
## So
Forbid any website behaviors trying to connect to your LAN or localhost, if user is visiting the website via their domains or public IP addresses. (Read the source code `background.js` to see the logic)
> Using JS library [whitequark/ipaddr.js](https://github.com/whitequark/ipaddr.js) (MIT License) v2.0.0 to judge IP range.
### Notification
User can enable notification. When untrusted web tries to access private network and get blocked, will show up notification.
### Fallback operation
If user find a web broken, user can temporary set this addon disabled via toolbar button for:
- this one tab
- this one tab and new tabs opened by this tab
- this one window (Firefox only)
- globally
(above can be set as keyboard shortcuts)
there's showy toolbar button badge indicating disabling status.
## Cases when web LAN scan is properly used
Not all LAN-port-scan are evil.
- Some manufacturers provide web for user's browser to scan LAN for their product that need updating.
- Some softwares use `127.0.0.1` communication to interact between native program and web.
## Disclaimer
This open souce addon comes with no warranty. Use on you own risk!
Source Manifest.json
How to download and manually install LAN port scan forbidder extension for Chrome
Looking for a way to install LAN port scan forbidder extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install LAN port scan forbidder extensions manually, this article outlines two simple methods to effortlessly install LAN port scan forbidder extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download LAN port scan forbidder extension and manually install through Drag &Drop
If you ever need to manually install a LAN port scan forbidder extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the LAN port scan forbidder Extension by clicking the "Download CRX" button on the website.
Look for the LAN port scan forbidder extension you wish to install. Go to the website and download the LAN port scan forbidder extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for LAN port scan forbidder extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the LAN port scan forbidder extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download LAN port scan forbidder extension for Chrome and install in Developer Mode
This is another method to install LAN port scan forbidder extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the LAN port scan forbidder extension file
Select and download the LAN port scan forbidder extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the LAN port scan forbidder extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your LAN port scan forbidder extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the LAN port scan forbidder extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install LAN port scan forbidder extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Breakbot 345 5 ★ 141KiB
Admin tools 345 1 ★ 62.79KiB
Scripter debugger extension 345 2 ★ 1.04MiB
Port Checker Tool 345 1 ★ 11.83KiB
Plugin Vulnerabilities 345 1 ★ 9.98KiB
Whats My Ip, WHOIS, Headers, Traceroute, DNS 345 3 ★ 1.06MiB
Localhost detector 345 5 ★ 37.79KiB
Input hidden Monitor 345 0 ★ 36.05KiB
Auto Referer 345 0 ★ 34.82KiB
Anti Rebind 345 0 ★ 52.75KiB
Server Status 345 10 ★ 341KiB
d3coder 345 37 ★ 108KiB
LocoHost 345 3 ★ 117KiB
Investigate with Lacework 345 0 ★ 17.45KiB
IP, DNS & Security Tools | HackerTarget.com 345 31 ★ 94.76KiB
Vulners Web Scanner 345 20 ★ 534KiB
OWASP Penetration Testing Kit 345 43 ★ 7.14MiB
PortChecker 345 11 ★ 87.05KiB
LiveScriptConsole 345 2 ★ 388KiB
Block Unreachable Scripts 345 6 ★ 11.06KiB
Cyber Web Tools 345 6 ★ 340KiB
CounterXSS 345 3 ★ 98.96KiB
Ignore Google Scripts 345 3 ★ 18.68KiB