Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of LAN port scan forbidder

LAN port scan forbidder by GarryW

Forbid non-LAN webs to access LAN or localhost. An anti-scan protection

Available on Firefox for Android™Available on Firefox for Android™
3 (2 reviews)3 (2 reviews)
43 Users43 Users
You’ll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
Forbid untrusted web to scan localhost or LAN. Browser addon.
  • Firefox Addon
  • Chrome Addon

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 (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.
Rated 3 by 2 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
1
4
0
3
0
2
0
1
1
Read all 2 reviews
Permissions and dataLearn more

Required permissions:

  • Access browser tabs
  • Access your data for all websites

Optional permissions:

  • Display notifications to you
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
0.6.2
Size
41.76 KB
Last updated
a year ago (Mar 22, 2024)
Related Categories
  • Web Development
  • Privacy & Security
  • Other
License
GNU General Public License v2.0 only
Version History
  • See all versions
Tags
  • anti tracker
  • privacy
  • security
Add to collection
Report this add-on
Release notes for 0.6.2
improve notification
More extensions by GarryW
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.