Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ooni/minivpn

A minimalistic OpenVPN implementation in Go
https://github.com/ooni/minivpn

test encryptAndEncodePayloadNonAEAD

8a6804b26f64379ab8e2e0b35b5186c06f558150 authored over 2 years ago
test compression stub and padding

some light refactor around this

8b4acec2881cd7a51d0589a1cc10a07709f40afc authored over 2 years ago
add tests for key generation, make keysource fixed size

54224e6e0ef279eec855d81fea8280106a0f0893 authored over 2 years ago
tests: aes encrypt

2be9e8d75bc17f06e5852ba297b9408dffac24da authored over 2 years ago
simplify while-true loop

7cf2e470179de4893cba81f3bc7b2a998d75f716 authored over 2 years ago
tests for encrypt aes-gcm

bee1bc81a839cdf969bec54992306fe47785dc69 authored over 2 years ago
refactor: plaintext data encoding

97f269e4767bf1dcf971c7ad486fe990042e82ff authored over 2 years ago
refactor: encrypted data decoding

a3cf407692493f1422d4f7b1a85f3c9c29cde8b1 authored over 2 years ago
add tests for packet.go

8888fdc042b9b1f075b9a4415d01935d5dfedd6f authored over 2 years ago
add net.Conn mocks

Ainghazal: I am importing a couple of mocks from the ooni/probe-cli
codebase.

3371cda305eec71c3c2e449fb6a9145c47a2d7df authored over 2 years ago
refactor: pure functions into the implementer

the redirection on all methods of the controlHandler implementation
added unneeded duplication. ...

3a64a90d7c889924ce033859a1b4565a24c1f747 authored over 2 years ago
be less verbose

853b74b164d9da145e1064364f8cf65b6fd1f177 authored over 2 years ago
packet tests

0dca1f3ae8fa5d39c06b42bacc8c5d55e8243dd0 authored over 2 years ago
document methods, reorder for coherence

47eacb4b21acbc0b0dcd4cbce8148713539ca6dc authored over 2 years ago
use custom type for packetID too

3a1ba7b4b9a7c92394db7bad772d92f2f67e50fe authored over 2 years ago
fix and add tests

a08bc3ceade42c529d711f9519a92546b9bc20c0 authored over 2 years ago
add to controlHandler interface, docs

f428fa014d55149a8b9f69b38fc1d6004ce7e7ea authored over 2 years ago
move readpacket funcs to transport.go

0ad1637291d8690c266bd2ce7ac0c60e53ec6061 authored over 2 years ago
keep no state in control Ⓐ

I could not resist the pun :)

On a more serious note, I'm trying to keep controlHandler and
dat...

0f8936318bb60e90f40cd01227a61302f39803c6 authored over 2 years ago
remove errors.go

9b4a663f1d9d5d2cfb2cc9c47d1e67df43348f21 authored over 2 years ago
handle errors on decrypt

c662d14620dab35437558b37c614f5e832171047 authored over 2 years ago
delete unused file

61b553d1e53e458db8b078813386e0bbd5e421da authored over 2 years ago
use logger interface

4968bfa849d3d32695286dcf4807cb49d39f2804 authored over 2 years ago
capture errors on packet parsing

950fe85ca31075c51037233851ecab2f8b6aac97 authored over 2 years ago
pass tunnel to muxer

8638f0d9b762deb0e8a7ce9dfa7e852ad97baae8 authored over 2 years ago
boundary check for acks

bf91fd97b8119c3c1a71d1bb648bdcafcb3c79cd authored over 2 years ago
move keys funcs to data.go

bd2aeb9c1fdf7ea1a75846f9874beaa508bf3153 authored over 2 years ago
consolidate files

b5b0eec6b38c34670881cf0659f5eecc011335df authored over 2 years ago
refactor: newMuxer & data channel

in the end I think the implementation managed to be simpler, in the
sense of not requiring a gor...

3df9dc59d2a8476a2d8c94cab3021c891bb78e59 authored over 2 years ago
initial attempt at muxer/control split

de5cfe2e0d6b9d679179e92159b44da5a4a2481d authored over 2 years ago
refactor key initialization

2e63d6c120a2c7f5c8471696ee89746a7834f420 authored over 2 years ago
refactor: packet handling

cf84e440fe296b873b98b5ab217d67d578182dd4 authored over 2 years ago
refactor: new abstractions

90cc454cbc3e0eed926a20fce8d80ae9db9222dc authored over 2 years ago
dump bad decrypt

512c1af24e7b84e754ca5c27e9d37dc23fdfe097 authored over 2 years ago
refactor: packet parsing

tls handshake over transport

0b250892cfea707f32f6404d36daa372e889b757 authored over 2 years ago
add utilities to parse packets

00f6f728949473b622304824548c102cac02ad41 authored over 2 years ago
add new data channel interface

f4d87ffd2a4c157117e0393133f1880bd9530414 authored over 2 years ago
bug: the server can send padding on the options string

e6ed04c4fd41e2d82bb469900efe6b5859ee424b authored over 2 years ago
fix ndt7 runs

ab3c5ddee8a43f42101376105ef2ae562e3e2f02 authored over 2 years ago
refactor(bytes): changes after code review (#6)

* refactor(bytes): changes after code review

1. use math's package constants to express limit...

b2a80bce21eb59f2316d0af20964f1d86eb09078 authored over 2 years ago
fix tests

68700b3bf0431773c6c4a30a0afb5cf5ca1273f2 authored over 2 years ago
cleanup & fix tests

350ff51dfb4cd97833f883ec4f65257b1aec43d3 authored over 2 years ago
add tests for pkcs7 (un)padding

be4238be458a08b44014c35b6a33530fe61cee4d authored over 2 years ago
add test for encodeOptionString

dc743185a83fb77a3a968ea674a248d1a4fdd1a1 authored over 2 years ago
wrap errors in options

09b7f640957465cf625db9ac1b03cf4e4d923897 authored over 2 years ago
convert to method

a516a443a962a235eefb1dd2219263358f598ab5 authored over 2 years ago
refactor bytes functions after review

65e6af767ea9ada9c4ead43d884e21f144cf45c3 authored over 2 years ago
refactor: changes after code review

We're performing a code review of this repository before
writing a new OONI experiment that depe...

5ca1cad338e01527527e5d1dcc570a31ff8aed08 authored over 2 years ago
add authors, todo

7bc5e54c3edf79130a90ad3c16bbfefcd5808ad2 authored over 2 years ago
wip: close client conn

60d0e9c5c8a6171ae49073cff7f5e3b610b04d98 authored over 2 years ago
accept flags for the ndt7 client

f2abd184da04aa1602d67a845afe9bf7463a64ec authored over 2 years ago
use semaphore on the first client reads too

663b4666f6c8d60aaada6f48679cc2ed7349a563 authored over 2 years ago
wip: further cleanup and fixes on tcp framing

this is still WIP (lot of debugging mess left around), and I will not
claim I fully understand w...

12bd8e6534c9b6061e8f194700b3d403e721cb62 authored over 2 years ago
add global flags

b8cba04e93841fe084f87787d342f0952162afd5 authored over 2 years ago
profile url grab

4b4782ff67b5617da235c568d211e105c0c2f3d1 authored over 2 years ago
add semaphore to read function

1ebd105fa1a3402f6d4ccbbf28d6c943e66e79ca authored over 2 years ago
wip: debug tcp framing

not a complete fix, but i'm debugging around to pinpoint the cause of
the bug.

e1e06fc3575729dc1023012c3b37f57cf514dc78 authored over 2 years ago
wait as a memoryless process

735345b95d0d755bf78ffeab05d345395e987f62 authored over 2 years ago
configure obfs4 via the vpn config file

d7e349b688c8aa8b61c594f957043d5abef20484 authored over 2 years ago
make socks5 port configurable

63e2005536cdc7657c231a5c028e7ed1fffba9bb authored over 2 years ago
make ndt7 server mandatory

89db186420b4a9f6872b780f98e39d947e7c9770 authored over 2 years ago
pin obfs4 version pre-elligator fix

91d92f6068c09ae458e0fae6c4b7486983cba369 authored over 2 years ago
ignore bad read size on tcp mode

f0f197eb36cf6a34bd17875fc230770c42a943f7 authored over 2 years ago
ignore binary

a93ffa687540df9a08f978d76ab15e27cf17acb2 authored over 2 years ago
add license identifier for vendored code

21257daeea9456b49e3e48e97716cd26db03a471 authored over 2 years ago
first attempt at obfs4-wrapped openvpn connection

44f1b31f44ab10e57b9917d02a506cd1c90a431d authored over 2 years ago
add upload measurement too

7cb0fe648e5a4bd39da063335a16cce101e13c11 authored over 2 years ago
ndt7 client integration

6e2695959dd5dc6ebe77864b98ecfbcc724acdd7 authored over 2 years ago
docs

45cd7b67814c1079b757e4695f475bcb1a36ca1b authored over 2 years ago
support tcp mode

dc390f4e2c92cf3d139e3132c00ad0aae7c454bf authored over 2 years ago
unit tests

d5428c2e27607510dca59e4bf25df4b7bdc7c48e authored almost 3 years ago
add strangelove targets for nDPI based QA

1d9745d9ad1aca1ace87d5e894854e4d7bbc702b authored almost 3 years ago
small test additions

5bc8141abc5dc7f1ac143e3e2dc4cf9ec19446af authored almost 3 years ago
filternet: test block-all

more work is needed to make this test work with the openvpn in the
docker image. however, this i...

42dfd88c793362b24e901ad19c3eee04c74bc8bc authored almost 3 years ago
cosmetic changes

e5f14fd340f1cd2c814bbdb49f67086274204c6e authored almost 3 years ago
add TODO about possible sensitivity to local conditions

c74e25c226ca7c25d53eb58a073d018a4af7a6e0 authored almost 3 years ago
first take at qa tests with filternet

de6b23c550f0e67e3fd624d75f93988fe1e25c1c authored almost 3 years ago
add unit tests for option parsing

a6e689f3c4b6c653c3cde0b57a2d27b35665cac4 authored almost 3 years ago
document integration tests

ab8d11f611991d0bac8f5f5545294220e1a2fdbc authored almost 3 years ago
use docker image in github actions

23e45c3177acbcc21f78db48975421ac122fdd54 authored almost 3 years ago
add convenience makefile targets

acb1e0387af576c9a4f65ee7c3dfbc3bfa08d8fe authored almost 3 years ago
skip integration test in short mode

82517dde6a5084e108b32507845f17ff00d77121 authored almost 3 years ago
complete integration test

ebba400cdfe7e0144d97ca46175e38bc568992e7 authored almost 3 years ago
fetch config from docker in a go test

79ae7ba6cacd40e482374b9fb905d083a8c4a8e2 authored almost 3 years ago
add env file for aes-256-cbc

this test is currently failing, so it's actually very good to have
the ability to test different...

27b039408a96873d2fddd7bb32dcc5ae59ff3642 authored almost 3 years ago
add target for testing against docker image

8507d91092cd151cf0197f19db4aea3eaa6bf3a3 authored almost 3 years ago
end processing config file

f73b3fec436355b71a70e9d04e0a869c6a905a38 authored almost 3 years ago
add convenience script to extract key blocks

fd98646e0f340a706265a06247657b1aa223a92e authored almost 3 years ago
boilerplate for docker-based integration tests

fd2474225f019a4dc9b238bb8f4ded8a08e86d6d authored almost 3 years ago
use 1.3 as version max by default

463a06d9dd7631888aaf4b36287f459b6f8dff86 authored almost 3 years ago
allow to reuse client in raw dialer

101400b3660572aa73126f8403163f4b82ef67f3 authored almost 3 years ago
expose stats in pinger

290d1515bf4fb5dd567e6b2ec4c59391e714e639 authored almost 3 years ago
fix build (example)

3155b664228aa0df0f0ceb273d5b9786a9ee38af authored almost 3 years ago
revert to use gopacket for icmp

dfa319092ed22226216f1b8740a3801ab417a780 authored almost 3 years ago
add todo about lack of access to ttl

a71dbef8d3e19de46789a7134a068ad00ef7c01e authored almost 3 years ago
refactor: move ping to extras

now I can ditch the "raw" icmp in favor of using the higher-level
abstraction, "socket-like" tha...

6e38de46e2ee0d3822dfa76e03f5bbc5e866470f authored almost 3 years ago
dial error

338242a2ce5c326170d04576fb92dfc72220a4d4 authored almost 3 years ago
simple workflow

d51457394006da3d43802cb8d9dd0b6a495b9cc9 authored almost 3 years ago
reduce cyclomatic complexity

115091194c2dc2283575d33467378318d04ff8e5 authored almost 3 years ago
use pkg.go.dev ref

11d52c8449e7b848736803db68b0c0b508ed5d22 authored almost 3 years ago