mosers
/
eaas-vde-proxy
Archiviert
1
0
Fork 0
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Dieses Repo ist archiviert. Du kannst Dateien sehen und es klonen, kannst aber nicht pushen oder Issues/Pull-Requests öffnen.

1.7 KiB

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
  -newip string
        IP after change
  -newmac string
        MAC after change
  -oldip string
        IP before change
  -oldmac string
        MAC before change
  -passthrough
        Whether to pass every traffic through
  -pidfile string
        Location to write the pid to
  -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}