Archiviert
1
0
Fork 0
Dynamically replaces network information in cloned virtual machines connected by vde
Dieses Repository wurde am 2022-01-11 archiviert. Du kannst Dateien ansehen und es klonen, kannst aber seinen Status nicht verändern, zum Beispiel nichts pushen, und keine Issues eröffnen oder Pull-Requests oder Kommentare erstellen.
Datei suchen
2022-01-11 16:38:24 +01:00
proxy Bugfix for demonstration 2022-01-11 16:38:24 +01:00
README.assets Overview diagram updated 2021-10-11 21:25:36 +02:00
test-env Bugfix for demonstration 2022-01-11 16:38:24 +01:00
.gitignore Added missing error handling 2021-11-28 19:13:47 +01:00
LICENSE „LICENSE“ ändern 2021-12-27 14:53:13 +01:00
README.md Help message clarified 2022-01-10 16:29:38 +01:00

eaas-vde-proxy

Overview

overview

Documentation

See Wiki

Problematic protocols

Important and implemented:

  • DHCP
  • ARP
  • NBNS/NBDS (by filtering binary payload)

Not supported:

  • IPv6 (NDP, Interface Identifier, ...)
  • IPSec
  • 802.1X
  • IPX/LLC

Third party libraries

  • gopacket: similar to libpcap, for parsing and serializing packets (BSD 3-clause license, authors: Andreas Krennmair & Google)
  • dhcp4: for handling and sending DHCP requests/responses (BSD 3-clause license, author: Richard Warburton/krolaw)
  • logrus: improved logging (MIT license, author: Simon Eskildsen/sirupsen)

Binaries

proxy - main binary

$ ./proxy -help
Usage of ./proxy:
  -hostname string
        Set a windows hostname to filter for in binary payloads
  -log int
        allowed: 5 (debug), 4 (info), 3 (warning), 2 (error), 1 (fatal) (default 4)
  -logfile string
        Location to write output to (optional)
  -newip string
        Force IP after change (optional)
  -newmac string
        Force MAC after change (optional)
  -oldip string
        Force IP before change (optional)
  -oldmac string
        Force MAC before change (optional)
  -passthrough
        Whether to pass every traffic through
  -pidfile string
        Location to write the pid to (optional)
  -smain string
        Main switch sock path, - for stdin/out (default "/run/vde/sw_main.sock")
  -sproxy string
        Proxy switch sock path (default "/run/vde/sw_proxy1.sock")
  -wireshark
        Whether to write all traffic to /tmp

envctl - control VMs, network etc

$ ./envctl
Usage: envctl {start|stop|restart|status} {all|network|vms|alpine|alpine1|alpine2|win1|win2|kali|proxy2|proxy3|proxies}

Mirrors