https://github.com/byrnedo/infiltrator
Api to request http status code or tcp connect status.
https://github.com/byrnedo/infiltrator
Last synced: about 1 month ago
JSON representation
Api to request http status code or tcp connect status.
- Host: GitHub
- URL: https://github.com/byrnedo/infiltrator
- Owner: byrnedo
- Created: 2016-03-04T14:15:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-04T14:15:43.000Z (about 9 years ago)
- Last Synced: 2025-01-19T19:49:07.117Z (3 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infiltrator
Does simple web/net check of an upstream endpoint through an api.
Use case is when doing remote checks using consul along with a docker 'overlay' network.
If consul is not within docker itself it cant access the overlay. Solution here was to run
`Infiltrator` inside the overlay network but to listen on the `bridge` interface for api
calls.```
Usage of ./infiltrator:
-host string
interface to bind to (default "127.0.0.1")
-port int
port to bind to (default 8080)
```## Endpoints
URL: /v1/connect
Does a plain tcp connect attempt. 200 on success.
Query params:- host
- portURL: /v1/http
Does a http request to the given url. 200 on success, upstream status code in body.
Query params:- url