Skip to content

Your go-to DNS blocking utility in Go! Safeguard VRChat analytics with ease.

License

Notifications You must be signed in to change notification settings

BadEnd777/VRConnectivity-Shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VRConnectivity Shield

Go Report Card License Release

VRConnectivity Shield is a simple DNS blocking utility for Windows. It is designed to block hosts related to VRChat analytics. This utility is intended to be used in conjunction with a VPN to prevent VRChat from collecting analytics data while playing the game.

Usage

Prerequisites

  • Go installed on your system.

Installation

To use VRConnectivity Shield, follow these simple steps:

  1. Download: Obtain the executable file for your platform from the Releases page.

  2. Run: Execute the VRConnectivity-Shield.exe executable to start the DNS blocking utility.

Development

To build the project from source, follow these steps:

  1. Clone: Clone the repository to your local machine.

    git clone https://github.com/Onyx-Innovators/VRConnectivity-Shield.git
  2. Navigate: Navigate to the project directory.

    cd VRConnectivity-Shield/src
  3. Build: Build the project using the Go compiler.

    go build -o VRConnectivity-Shield.exe
  4. Run: Execute the VRConnectivity-Shield.exe executable to start the DNS blocking utility.

Configuration

The list of blocked hosts is sourced from VRChat-Analytics-Blocker. The blocked hosts are defined in the main.go map in the utils package. You can modify this map to include or exclude specific hosts as needed.

var hostsToAdd = []string{
 "api.amplitude.com",
 "api2.amplitude.com",
 // Add specific hosts here
}

How it works

The program will add the specified hosts to the hosts file located at C:\Windows\System32\drivers\etc\hosts. The hosts file is a text file that maps hostnames to IP addresses. When a DNS request is made for a hostname that is defined in the hosts file, the DNS resolver will use the IP address specified in the hosts file instead of querying a DNS server.

License

This project is licensed under the MIT License.


About

Your go-to DNS blocking utility in Go! Safeguard VRChat analytics with ease.

Topics

Resources

License

Stars

Watchers

Forks

Languages