All Projects â†’ RD17 â†’ Detor

RD17 / Detor

🙊 A simple REST API to identify requests made from TOR network.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Detor

Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+3096.15%)
Mutual labels:  rest-api
Vmix Rest Api
REST API and remote Web Controller access for vMix Live Video Streaming
Stars: ✭ 18 (-30.77%)
Mutual labels:  rest-api
Django Rest Booking Api
A Restful api which allows you to book sports events or update existing odds.
Stars: ✭ 24 (-7.69%)
Mutual labels:  rest-api
Globaleaks
GlobaLeaks is free, open source software enabling anyone to easily set up and maintain a secure whistleblowing platform.
Stars: ✭ 832 (+3100%)
Mutual labels:  tor
Farwest
Framework for building RESTful HATEOAS-driven applications.
Stars: ✭ 18 (-30.77%)
Mutual labels:  rest-api
Alpaca Trade Api Python
Python client for Alpaca's trade API
Stars: ✭ 912 (+3407.69%)
Mutual labels:  rest-api
Gen
Converts a database into gorm structs and RESTful api
Stars: ✭ 825 (+3073.08%)
Mutual labels:  rest-api
Pyensemblrest
A wrapper for the EnsEMBL REST API
Stars: ✭ 25 (-3.85%)
Mutual labels:  rest-api
Foxcross
AsyncIO serving for data science models
Stars: ✭ 18 (-30.77%)
Mutual labels:  rest-api
Gimlet
A micro web application framework for OpenResty written in Moonscript inspired by Martini & Sinatra.
Stars: ✭ 23 (-11.54%)
Mutual labels:  rest-api
Django Ninja
💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Stars: ✭ 875 (+3265.38%)
Mutual labels:  rest-api
Great Big Example Application
A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Stars: ✭ 899 (+3357.69%)
Mutual labels:  rest-api
Koa Typeorm Starter
Starter project for using koa with TS and TypeORM
Stars: ✭ 23 (-11.54%)
Mutual labels:  rest-api
Core
Pluf is an open source PHP framework, which is very light and fast.
Stars: ✭ 6 (-76.92%)
Mutual labels:  rest-api
Nestjs Cqrs Starter
Nestjs-cqrs API
Stars: ✭ 25 (-3.85%)
Mutual labels:  rest-api
Torcoin
Yale cs490 project
Stars: ✭ 5 (-80.77%)
Mutual labels:  tor
Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+3323.08%)
Mutual labels:  rest-api
Project Dashboard With Django
Agile Project Management dashboard with Django REST and Vue.js
Stars: ✭ 25 (-3.85%)
Mutual labels:  rest-api
Nodejs Restapi Using Express Mysql
Nodejs Restful API for CRUD operation using MySQL
Stars: ✭ 25 (-3.85%)
Mutual labels:  rest-api
Unity Powershell
PowerShell module for managing EMC Unity arrays
Stars: ✭ 23 (-11.54%)
Mutual labels:  rest-api

DeTor

🙊 A simple REST API to identify requests made from TOR network.

DeTor uses TorDNSEL inside, not a static list of TOR exit nodes.

DeTor API call

GET http://detor.ambar.cloud/

Parameters

Name Type Description Default value
sourceIp String, optional

IP address the request was made from

Your IP

destIp String, optional

IP address the request was made to (e.g. your web server public IP)

Public IP address of DeTor API

destPort String, optional

Port number the request was made to (e.g. your web server public port)

80

Call Example

The Simple One

Just open http://detor.ambar.cloud/ in your browser and look at the found field, it its value us true - you're using TOR. Also you can use our smart TOR-detecting badge badge <img src="http://detor.ambar.cloud/badge"/> on your site.

The Right One

Image you have a web service running on 1.2.3.4 public IP address and 8080 port. You register an incoming request to your service from 2.3.4.5 IP address and want to check whether this request is made from TOR network or not.

In this case the call would be:

CURL

curl -X GET 'http://detor.ambar.cloud/?sourceIp=2.3.4.5&destIp=1.2.3.4&destPort=8080'

Node.js

var request = require("request");

var options = { method: 'GET',
  url: 'http://detor.ambar.cloud/',
  qs: { sourceIp: '2.3.4.5', destIp: '1.2.3.4', destPort: '8080' }
  };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});

Success Response

HTTP/1.1 200

JSON object, fields:

Name Type Description
sourceIp String sourceIp parameter value used for request
destIp String destIp parameter value used for request
destPort String destPort parameter value used for request
found Bool Request with specified parameters was made from TOR network or not

Example:

{
    "sourceIp": "104.200.20.46",
    "destIp": "89.207.89.82",
    "destPort": "8080",
    "found": true
}

Error Response

HTTP/1.1 500

JSON object, fields:

Name Type Description
error String Error description

Example:

{
    "error": "Error: Source IP (256.10.10.10) is invalid"
}

Running Your Own Instance

Use Docker image: docker run -p 80:80 -e port=80 -d --name=detor rd17/detor

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].