summaryrefslogtreecommitdiff
path: root/dialer.go
AgeCommit message (Collapse)Author
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-11obfsvpn: support gateway certificatesSam Whited
Support creating dialers and listeners from the newer gateway certificates, as well as setting the cert argument when connecting. Signed-off-by: Sam Whited <sam@samwhited.com>
2022-03-08obfsvpn: create new dialer from PT argsSam Whited
The dialer is meant as a way to avoid having to use or think about pluggable transport arguments (you can provide them all as typed configurations on the dialer), however, sometimes we already have the pluggable transport arguments in their parsed form (eg. when using a higher level protocol to negotiate the args) and need to construct a dialer from them. This patch allows constructing the dialer and getting the original arguments back out. Signed-off-by: Sam Whited <sam@samwhited.com>
2022-03-04obfsvpn: initial draft library APISam Whited
Signed-off-by: Sam Whited <sam@samwhited.com>