Skip to content

Loupax/bumble-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A proof of concept on how we can create a 'soft' parental lock, which slows downs network traffic that comes from specific internet hosts.

In this example I slow down all incoming traffic from facebook.com:443

Running: Compile main.go and place the WinDivert files in the same folder as the executable according to the WinDivert documentation

Run the executable and notice how traffic related to facebook is slowed down to a single packer per 255 milliseconds

Known problems:

  1. We need to make a DNS lookup per new IP address being checked. This could be resolved with a library that uses BPF filters that allow for packet filtering by the hostname directly.

  2. Needs elevated priviledges in order to run. gopacket seems to be able to sniff packets without them but couldn't figure out how to actually block the traffic yet.

  3. Works with version 1.4 of WebDivert. Not exactly a problem, just a caveat.

  4. Only works on Windows.

Must see if I can recreate this functionality using gopacket instead

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages