Code Monkey home page Code Monkey logo

lockdown-ios's Introduction

Lockdown Privacy (iOS)

Lockdown is an open source firewall that blocks trackers, ads, and badware in all apps. Product details at lockdownprivacy.com.

Feature Requests + Bugs

Create an issue on Github for feature requests and bug reports.

Openly Operated

Lockdown achieves the highest level of transparency for both client and server via the Openly Operated standard. It has also been audited multiple times, the latest audit in July 2020. See the full reports here: Audit Kits

Contributing

Pull requests are welcome - please document any changes and potential bugs.

Build Instructions

  1. pod install

  2. carthage update --no-use-binaries --platform iOS or for XCode 12 ./wcarthage update --no-use-binaries --platform iOS (workaround for this Carthage issue)

  3. Open LockdowniOS.xcworkspace

To sign the app for devices, you will need an Apple Developer account.

Limitations to Building Locally

If you build Lockdown locally, you will not be able to access Secure Tunnel, because that requires a Production app store receipt. We will soon enable a DEV environment for Secure Tunnel with limited capacity and regions, designed only for testing.

To use Secure Tunnel, you must download Lockdown from the App Store.

Contact

[email protected]

License

This project is licensed under the GPL License - see the LICENSE.md file for details.

lockdown-ios's People

Contributors

alexanderparshakovappex avatar dreymonde avatar hijohnnylin avatar kant avatar misdirectionmaster avatar natelegreat1 avatar rahulda1 avatar shalloran avatar twodayslate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lockdown-ios's Issues

Feature request: bypassing individual domains in a blocklist

Would be great to be able to bypass / whitelist individual domains contained in a blocklist.

e.g. the Facebook Inc (Beta) blocklist contains instagram.com, but at the moment we can't whitelist that particular domain individually, we can only disable that entire list.

Crashing on iOS 13.1.2

Hey,

I have IP 8+, lockdown instalelled but I cannot run it.. App immediately crashes after start.. Anyone faced this issue?

Weird fact is, that on ipad with same OS version it runs OK

I'm also running Wireguard VPN

Apple Shortcuts Support

Please add Support for the Shortcuts-App, so you can enable or disable the VPN-Service or the Firewall based on Personal Shortcuts in the App 😃

Examples:
Disable if I enter my Own WiFi...
Enable if I leave Home...

Integrate dnscrypt-proxy functionality

Looks like I can only use one VPN configuration at a time and it is either DNSCloak or Lockdown. Is it possible to make both work together or integrate dnscrypt-proxy (DNSCloak) into Lockdown?

Google Ads Blocking Not Working (with Flipboard app on iOS)

Hi Team,

Despite having enabled the firewall, and blocking google ads in the app, whenever I use flipboard on iOS, I still continue to see google ads throughout that app. Not sure if flipboard does anything special to route ads through it's own servers or some other block-defeating mechanism? Anyone else seen similar issues with flipboard?

Feature Request: Time based Firewall Off

I usually turn off the firewall because I need to quickly open one or two apps and then forget to turn it back on.

It would be nice if I have the option to turn the firewall off for preset time e.g. 15 minutes/1 hour. This is similar to how 1.1.1.1 app does it

Facebook app ignores firewall rules

Enabling the Facebook rules in the firewall doesn't prevent the Facebook App from working.
i.e The Facebook app request following domains at login:

  • graph.facebook.com
  • b-graph.facebook.com
    I've added the latter as custom rule cause is not present in standard lists

If using Safari the block is effective and the sites are denied, using the App it is not.
Are you aware of this?
There are also other apps that can escape the VPN block?

A search bar

A search bar for the block lists so I can search domains in the search bar

Dark Mode

iOS 13 Light mode/Dark mode toggle support

Supports empty the logs

If I no longer need the logs and want to delete them. I have to delete and reinstall the app. This is too cumbersome.

It would be better to delete the logs.

Toggle to remove duplicate domains

A toggle for this option would be nice cause I find myself adding domains that come Already preset and a option to remove duplicate domains would be nice

View unblocked requests and block them

A list of all domains going through vpn not just blocked but also a list for non blocked so users can see what domains a website/app are requesting and configure there settings to that website or domain

Apps not connecting 0.1.5

Apps aren’t connecting such as Snapchat, YouTube (liking videos) and some other apps. The vpn is causing this many users reported issue is still persisting, I’m looking into a fix in the source code as lockdown just updated.

New Block List (Google)

Make a block list for google with these ads/trackers -

ad.doubleclick.net
ad.click.g.doubleclick.net
adservices.google.com
googleads.g.doubclick.net
googleadservicepixel.com
googleadservices.com
googlesyndication.com
pagead2.googlesyndication.com
pubads.g.doubleclick.net
advgoogle.com
blaaaa12.googlecode.com
salefile.googlecode.com
imgpop.googlecode.com
googleadapis.l.google.com
gstaticadssl.l.google.com
googleapi.club
doubleclickbygoogle.com
googlerank.info
video-stats.video.google.com
video-ad-stats.googlesyndication.com
trakksocial.googlecode.com
myscoop-tracking.googlecode.com
attributiontrackingga.googlecode.com
google-pr7.de
google-rank.org
googleanalytcs.com

COMPATIBILITY + UI: Increase compatibility and show security warnings when mixing with corporate VPNs and OpenVPN

Right now, if I turn on OpenVPN (https://apps.apple.com/us/app/openvpn-connect/id590379981) it disables Lockdown. Looking in the iOS Settings, it seems to be an exclusive setting: only one VPN can be used at a time.

It would be most helpful if Lockdown could operate as a man-in-the-middle before OpenVPN. Since I doubt that's technically possible, is there, at least, some way for Lockdown to reactivate when OpenVPN is intentionally disconnected?

Show active connections and data transferred

Could lockdown show data transfer volumes and could this be limited?
I am thinking about a way to mitigate the recent ios hack in the future.
A tool like little snitch on the iPhone would have possibly warned us if somone would be trying to get access to your data. Little Snitch often made me check suspicios connections.
Especially if there is loads of outgoing data to non Apple or maybe other authorized connections, it could be very useful to get a notification

New block list (NSFW)

Make a block list for google with these ads/trackers -
This is a joke... lol but these are real ads and trackers for porn sites

porngraph.com
tracking.porndoelabs.com
tracking.pornhd.com
xxxcounter.com
pornv.org
3gporn.biz
daiporno.com
faceporn.com
festaporno.com
free-porn-vidz.com
mileporn.com
mrporngeek.com
porn-ad.org
porn-hitz.com
porn-site-builder.com
porn300.com
porn88.net
porn99.net
pornattitude.com
pornconversions.com
porndroids.com
pornearn.com
pornglee.com
porngray.com
pornkings.com
pornleep.com
porno-file.ru
pornoow.com
porntagged.com
porntrack.com
pornworld.online
secretbehindporn.com
tantoporno.com
thepayporn.com
urpornnetwork.com
xxxvipporno.com
public.porn.fr
partners.pornerbros.com
st.ipornia.com
thumbs.sunporno.com
a.eporner.com
a2.hotpornfile.org
ad.eporner.com
b.pornoxo.com
bnnr.pornpics.com
cams.pornrabbit.com
delivery.porn.com
dot.eporner.com
dot2.eporner.com
plx.porndig.com
tkn.pornerbros.com
tkn.porntube.com
uuvm.pornpics.com
bbp.brazzers.com

Exclude some apps on iOS

Great app and smooth to use. Is it possible to turn this firewall on for only some apps on my iOS device pls and not all apps. Some apps have compatibility issues with ad and tracker blockers and I want to exclude them out when switching your service on?

FEATURE: iOS 14 Widgets

New iOS 14 home screen widgets are here, and users are excited to use them!

Let's get them for Lockdown. Three widgets - one for Firewall, one for Secure Tunnel, one combined.

Mockup

image

Firewall Widget (Small)

  • tap on widget to open app to main page
  • should show status and number blocked today

Secure Tunnel Widget (Small)

  • tap on widget to open app to main page
  • should show region

Both Widget (Medium)

  • tap on Firewall power button to open app and toggle Firewall
  • tap on the number or on "blocked today" text = open Lockdown app to View Log Page
  • UI note: mockup doesn't show it, but please also add the slight gray background to the "blocked today + number above it" like the Secure Tunnel Widget
  • tap on Secure Tunnel power button to open app and toggle Secure Tunnel
  • tap on region to open app and show regions page

UI

  • should match app itself
  • test with light+dark mode

When to Refresh Widget

  1. minimum time window allowed to automatically refresh
  2. when app opens to foreground
  3. when app goes into background
  4. when app background refresh runs

Test

  • Fresh install on fresh device
  • Delete VPN configurations

(Community Question) - Has anyone complied and got this code working?

I have managed to get the code running on an iOS device, but it's not working as expected.

As far as I can see I have all the dependencies (after al it compiles) but and I have updated all the Bundle Identifiers and changed them in the code.

When I run the app, it all looks like its working, the VPN is created and it connects, however no URLs that I test are blocked.

The logs are copious and the warnings and errors may not be relevant.

Just looking to see if anyone has this running?

Sometimes blocking stops working and VPN sign in the status bar disappears

This is more likely iOS issue rather than Lockdown but I want to report it to be sure it's known

Sometimes I'd notice Lockdown blocking stops working suddenly

Lockdown app shows Activated, iOS VPN settings show Connected but the status bar does not display VPN sign. I guess this means VPN through localhost is not active despite showing "Connected" status in iOS Settings

To fix it I have to Deactivate/Activate Lockdown app

This happened to me both on Wi-Fi and Cellular connections and while I was doing something on the phone so it wasn't after long period of inactivity. Possibly some Lockdown process being jettisoned?

iOS 12.4
iPhone Xs

Submit a list of blocked sites instead of inputting individual sites

For the Lockdown iOS app, is there anyway to incorporate the functionality for the app to be able to read in an entire list of blocked sites (created by the user), like for example in a .txt file, versus the user manually inputting every desired site to block into the app individually?
This would be extremely helpful for me!

Thanks!

Feature request: Per app blocking and specific domain whitelisting

There are a couple of features that would make this already great app possibly the best app on iOS period.

Control whether certain apps are blocked or not, rather than just a blanket block for whole phone.

Whitelist controls for address/adresses within a particular list.

Localization

I am saddened that the program is in English only.
I suggest to localize the program.
I am ready to assist in the translation into Russian.
(For example, you can use the service Crowdin or any other. Crowdin is free for Open source projects.)

Apps not connecting 0.1.4

You know if I had the updated source here on GitHub I would be able to tell you guys the problem but you guys never update but anyway many users are reporting apps not connecting to the internet and I myself YouTube is not connecting to the internet and no I am not blocking the domain in the block lists

Import and export of lists

A import and export of lists feature would be nice or just being able to save all the domains in a plain text file and copying it would work

Supports iPad

Hello,

it would be great if the Lockdown App could support the iPad user interface e.g for iPad mini 5 (7.9-inch), iPad Air 3 (9.7-inch) and iPad Pro (10.5-inch, 11-inch, 12.9-inch).

And the typical iOS features for the iPad or iPadOS should also be supported.

Split View and Slide Over. With these two functions it is also very important that the UI is very well adapted. Because in Split View you can also display only 25% of the display of the app.

Texts, windows and settings can get mixed up. In the worst case you can't see anything anymore.

Widget doesn’t appear to work.

Lists as not active and ip finding on the widget, the app itself and vpn status indicate this is incorrect. The widget appears completely non functional as taps do nothing at all.
iPhone 8 Plus ios 12.3

tvOS version

Any plans to port this app to tvOS (Apple TV)?
Are the required toolkits available across both iOS and tvOS?

Block List Domains (Community Submissions)

I thought it would be a good idea to start this issue but it's not really an issue more of a thread to have users submit trackers, ads, malware, malicious domains to request to be blocked in lockdown app by default or to also give lockdown users some domains to block on their own.

So this is how it's going to go if you are submitting domains make sure to follow this template I have laid out below so we can keep this thread nice and clean

Template

  • Name of app or name of the website
  • Tracker/ad Domain (if multiple use " , " to separate)
  • App developer name (if possible)
  • Link to tracker/ad domain website (if possible) (if multiple please use a space to separate)
  • Notes any notes

Example

Please when submitting the trackers domain try to submit the main domain and not subdomains but subdomains are fine just mention it's a subdomain in the notes

Why only 10.15?

I would love to try this app but it doesn't support 10.14 and there is no reason to support 10.14. Many other firewall apps support it, so please help me understand.

Make active connections visible

Would be cool to see all active connections and see the transfer volume of them and limit them on the go? Maybe similar to Little Snitch on macOS?

Ad block list for games

Voodoo games

  • ads.mopub.com
  • ads.nexage.com

If you have ad domains for games comment them below!

Permit adding lists via configuration profiles

It would be super handy to permit configuring new lists via mobileconfig profiles as well as enforcing which lists must be and must not be enabled, so that this app can be managed via MDM.

Need feature

Can you add the feature users add their own custom lists ????

Custom dns option

Allow us to add a custom dns to lockdown such as googles or better yet Cloudflares 1.1.1.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.