client forwarding is fully enabled for tcp. That was easy. I think this is something I can attack to my hypothetical socksifier too.

This commit is contained in:
idk
2018-08-16 14:25:31 -04:00
parent a128b4abba
commit a87e5f25fc
5 changed files with 48 additions and 8 deletions

View File

@@ -177,12 +177,12 @@ It would be really awesome if I could make this run on Android. So I'll make
that happen eventually.
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEcNIGBzi++AUjrK/311wDs5teFOEFAlt1voIACgkQ11wDs5te
FOFyXwgArMysjMhT/IirrTqEdKxWlJ99vTafFL7pxpYicsWgY96xJoGOvHusNUIY
jS705NOJYkHc/PuzaAbuQZeES2yhg2Rzs02ETH1BQ1ByaOktfMhWM/8Ow5edR/DH
ln7d/zSN6nDSmm/wF9pwBbbaYhSQ7AScx9Q9hur9xWL68afiRY6Ajs0g3x+5CtIh
VwVHFEcVnFJQ9fZ5XfiIuju22PoQ6HjiWg/BG+Egp+ppfYYSfo4ROf4nEaYsN8cT
d/kOMUo3NotaXVlwmvEu5g2ePNU2iM75gbEqaMm50tVi/FK/VUDLLfvd1N8oSYkv
kB9Hhuc4/TEZtVZu1DYDqw3gFRCNKA==
=uTc4
iQEzBAEBCAAdFiEEcNIGBzi++AUjrK/311wDs5teFOEFAlt1wZcACgkQ11wDs5te
FOEuigf/U0L9mluTkmzzV0Bpe/2/Yx/SV4AOOYl9jYTjl6vDGWX6eZLQLw4/Qyw6
bwU3EdAh7lVj0wIy5A9gBWxe8i01SRscFTMv5SUaKJVspQT4QzOtni1SAanH3qRF
o919bwaoz2DRYPWNfG/SdVKc1DktWCSN3VNR0ropu7NYm5+45te0zI4eLDPJmEQ5
xxry+UMI9+9J185Eueo/DnyS4wxTiTMqEIIlsw6pgtAzSmXs0unT/TRRUKzQwlzG
ob/KewBhg/hziqD/WccCqQRp2yzGDRpzlihs3P9GyPbTN9VgZQjHZEohJPmepN9p
iXnIzlMElAGRrfB8mZdVfT8V7bMAmA==
=9slR
-----END PGP SIGNATURE-----

View File

@@ -40,6 +40,8 @@ Usage of ./bin/ephsite:
Set inbound tunnel length(0 to 7) (default 3)
-invar int
Set inbound tunnel length variance(-7 to 7)
-lsk string
path to saved encrypted leaseset keys (default "none")
-name string
Tunnel name, this must be unique but can be anything. (default "forwarder")
-outback int

View File

@@ -1030,3 +1030,39 @@ func NewSAMSSUForwarderFromConf(config *Conf) (*samforwarderudp.SAMSSUForwarder,
}
return nil, nil
}
// NewSAMSSUClientForwarderFromConf generates a SAMSSUforwarder from *i2ptunconf.Conf
/*func NewSAMSSUClientForwarderFromConf(config *Conf) (*samforwarderudp.SAMSSUClientForwarder, error) {
if config != nil {
return samforwarderudp.NewSAMSSUForwarderFromOptions(
samforwarderudp.SetSaveFile(config.SaveFile),
samforwarderudp.SetFilePath(config.SaveDirectory),
samforwarderudp.SetHost(config.TargetHost),
samforwarderudp.SetPort(config.TargetPort),
samforwarderudp.SetSAMHost(config.SamHost),
samforwarderudp.SetSAMPort(config.SamPort),
samforwarderudp.SetName(config.TunName),
samforwarderudp.SetInLength(config.InLength),
samforwarderudp.SetOutLength(config.OutLength),
samforwarderudp.SetInVariance(config.InVariance),
samforwarderudp.SetOutVariance(config.OutVariance),
samforwarderudp.SetInQuantity(config.InQuantity),
samforwarderudp.SetOutQuantity(config.OutQuantity),
samforwarderudp.SetInBackups(config.InBackupQuantity),
samforwarderudp.SetOutBackups(config.OutBackupQuantity),
samforwarderudp.SetEncrypt(config.EncryptLeaseSet),
samforwarderudp.SetAllowZeroIn(config.InAllowZeroHop),
samforwarderudp.SetAllowZeroOut(config.OutAllowZeroHop),
samforwarderudp.SetCompress(config.UseCompression),
samforwarderudp.SetReduceIdle(config.ReduceIdle),
samforwarderudp.SetReduceIdleTimeMs(config.ReduceIdleTime),
samforwarderudp.SetReduceIdleQuantity(config.ReduceIdleQuantity),
samforwarderudp.SetCloseIdle(config.CloseIdle),
samforwarderudp.SetCloseIdleTimeMs(config.CloseIdleTime),
samforwarderudp.SetAccessListType(config.AccessListType),
samforwarderudp.SetAccessList(config.AccessList),
)
}
return nil, nil
}
*/

View File

@@ -0,0 +1 @@
package samforwarderudp

View File

@@ -0,0 +1 @@
package samforwarderudp