summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-28test: remove-laterAnjan Nath
2022-07-28add integration-test job to gitlab ciAnjan Nath
2022-07-28add obfsvpn client dockerfile for use in integration testAnjan Nath
2022-07-28disable CGO for building obfsvpn clientAnjan Nath
2022-07-28disable CGO while building server for portable binaryAnjan Nath
2022-07-28add Dockerfile and scripts for containerized obfsvpnAnjan Nath
This is based on github.com/dockovpn/docker-openvpn repository, it adds the obfsvpn-server binary and config file to the original image a directory can be bind mounted to /opt/Dockovpn_data to persist data client.ovpn config file is created in /opt/Dockovpn/client/<client-id>/client.ovpn it recognises the following environment variables: OBFS4_HOST = 0.0.0.0 (default) # This is the OBFS4 server endpoint OBFS4_PORT = 4430 HOST_ADDR = localhost # openvpn gateway ip PORT = 5540 # openvpn GW port PROTO = tcp # openvpn proto
2022-07-28add check for obfs4 updates in CI and remove ST1000 static checkAnjan Nath
2022-07-28add makefile target to check if new version of yawning/obfs4 is availableAnjan Nath
2022-07-12Allow to set proxy address without creating a new client. Useful for port ↵cyBerta
binding error handling
2022-07-08Merge branch 'gotest-ci' into 'main'cyberta
Fix error reported by go test See merge request leap/obfsvpn!18
2022-07-04Use log.Printf only when a format is providedAnjan Nath
This adds a check to c.log to see if the format string is empty if its empty use log.Print and if a format is provided then use log.Printf
2022-07-04Fix error reported by go testAnjan Nath
This fixes the following error from go test ``` client/client.go:45:8: (*0xacab.org/leap/obfsvpn/client.Client).log call has arguments but no formatting directives ```
2022-06-26fix anonymous function callcyBerta
2022-06-23fix started state trackingcyBerta
2022-06-23implement simple event logging interfacecyBerta
2022-06-23remove mutex, handle thread safety outsidecyBerta
2022-06-12add unit test to check panic in Dial and DialContext functionsAnjan Nath
2022-06-06refactor conditional for readabilityatanarjuat
2022-06-06catch errorsatanarjuat
2022-06-06avoid panicatanarjuat
2022-06-06statusatanarjuat
2022-06-06draft stop methodcyBerta
2022-06-06a bit more wordyatanarjuat
2022-06-05update go.mod by running go mod tidyAnjan Nath
2022-06-05add package comment to client/client.go to make the staticchecker happyAnjan Nath
2022-05-29add android notesatanarjuat
2022-05-29attempt at android bindingsatanarjuat
2022-05-29delete socks5atanarjuat
2022-05-29refactoratanarjuat
2022-05-29fix testatanarjuat
2022-05-29bump dependencyatanarjuat
2022-05-29add gitatanarjuat
2022-05-29go get before testsatanarjuat
2022-05-29do not return if error on acceptatanarjuat
2022-05-29pass kcp dialer to socks5 proxyatanarjuat
2022-05-23add kcpatanarjuat
2022-05-23wip: use kcp in the serverfeat/kcpatanarjuat
2022-05-23wip: kcp clientatanarjuat
2022-05-22clarify requirement of obfsvpn endpoint port for openvpn remoteAnjan Nath
this also introduces OBFS4_ENDPOINT_PORT and renames OBFS4_ENDPOINT to OBFS4_ENDPOINT_PORT and updates the script 'run-openvpn.sh' to use these
2022-05-22use correct braces for shell variable for easy c&p of commandAnjan Nath
2022-05-22remove obfsclient binary from git treeAnjan Nath
2022-05-21add 'lint' target to Makefile to quickly run the linter while developingAnjan Nath
here we assume gosec is already available in the dev machine, gofmt and govet are part of the go-sdk
2022-05-21handle errors while closing the connections in CopyLoop functionAnjan Nath
2022-05-21ignore gosec warning G304 for reading the config file path from variableAnjan Nath
the path is needed to be read from the user and obfsproxy will be started with root privileges anyway, we can ignore this warning, more details about the warn at https://securego.io/docs/rules/g304.html
2022-05-21simplify testing of client and serveratanarjuat
2022-05-21functional transparent proxyatanarjuat
2022-04-19pin obfs4 version pre-elligator fixkali kaneko
2022-04-19obfsproxy: add initial proxy implementationSam Whited
Fixes #3 Updates #4 Signed-off-by: Sam Whited <sam@samwhited.com>
2022-03-16obfsvpn: allow wrapping existing connectionsSam Whited
This can be used to add support for additional networks that we don't necessarily want to depend on in the library. Signed-off-by: Sam Whited <sam@samwhited.com>
2022-03-15Copy license over from ShapeshifterSam Whited
Copies the license over from Shapeshfiter, removing the Go/OBFS4 parts since we're no longer copying anything from their repos (if we do use some of their stuff in the future again we'll want to copy over their licenses as well). Signed-off-by: Sam Whited <sam@samwhited.com>