This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
set net0/ip $ipaddress | |
set net0/netmask $subnetmask | |
set net0/gateway $gateway | |
set dns $dns ifopen net0 | |
chain –autofree https://boot.netboot.xyz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Firewall | Public IP/Anchor IP | Private IP | |
---|---|---|---|
fw1-amss | 213.227.146.8 | 10.32.18.201 | |
fw2-ams2 | 178.162.176.200 | 10.32.18.202 | |
client1-ams1 | - | 10.32.18.203 | |
Metro Floating IP | 81.17.55.86/32 | - | |
VRRP VIP | - | 10.32.18.200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [type] == "ConPot" and [dest_port] and [event_type] == "NEW_CONNECTION" and [src_ip] != "${MY_INTIP}" { | |
http { | |
url => "http://${HTTP_LOGIP}" | |
http_method => "post" | |
mapping => { | |
"type" => "%{type}" | |
"protocol" => "Elastic" | |
"source" => "%{src_ip}" | |
"dest_port" => "%{dest_port}" | |
"geoip" => "%{geoip}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the IP to your webserver IP | |
const WEBSOCKET_SERVER = 'ws://<YOUR_WEBSERVERIP:8081>'; | |
// Set your mapboxGL AccessToken | |
const MAPBOX_TOKEN = 'YOUR_ACCESS_TOKEN'; | |
// Remove points from map after x-seconds | |
var displayTime = 300; | |
// Set some defaults for the map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | |
<script src='https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.js'></script> | |
<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,500); | |
body { background-color: black } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nodejs | |
const http = require('http'); | |
const WebSocket = require('ws'); | |
const express = require('express'); | |
const app = express(); | |
const PORT = 8080; | |
const WS_PORT = 8081; | |
app.use(express.json()); |