[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] Proxy support patch



On Sat, Oct 04, 2014 at 09:25:33PM -0400, grarpamp wrote:
> On Fri, Oct 3, 2014 at 5:04 PM, CustaiCo <custaico@...373...> wrote:
> > To just yank in somebody's code and bloat the code
> > base with a bunch of proxy code seems pretty pointless.
> 
> Once you exec msmtp it's in there anyways. Guess I don't
> see a problem with putting the little bit of socks5 in msmtp
> directly. It's not like socks5 RFC will ever change, for which
> I could see handing that off to external library people (if it
> was actually maintained).
> 
> If antinat does meet socks5 RFC spec, gives IPv6 and DNS
> through it, msmtp gets --socks5 option, and you could bundle
> antinat tarball/code with msmtp and have it build in one shot,
> that could work. But it's not really any different.

I'm right now looking at seeing if i can get it working with the source
from proxychains. The nice thing about that approach is I basically
don't have to touch the tls code at all. After proxychains has done its
work I'm left with a normal socket that I can just pass to gnutls or
whatever. 

> > torsocks and proxychains are exactly the type of thing I was trying to
> > avoid.
> 
> I meant that, as with nc (etc), torsocks was another well maintained
> place to get socks5 client code from, it's GPLv2.
> 
> Not sure if torsocks supports IPv6 yet, which would be needed for
> clearnet, CJDNS, Phantom and OnionCat/GarliCat.
> 
> Due to current maintenance, of all the LD_PRELOAD apps, torsocks
> seems the best preloader if you're stuck with using that method.

Yeah dante was huge. I ended up with nearly 2 megabyte library to link
with with compiling it with just the socks client code only. proxychains
*should* be working soonish as long as long as I don't get blocked
getting it to link without issues. It took me a little while to get it
to build, but the fact that the unlinked library is only 81kb is very
promising. 

I gave nmaps netcat a look but its license was not compatible. It
was GPL2 only. I was given a friendly reminder that msmpt is GPL3 and 
GPL3 and GLP2 are not compatible. proxysocks has the needed 'version 
Y or higher' language needed to make them play nice. 

> > Plus, a lazy I2P user would just use susimail anyway. :P
> 
> Yes, there are times to interface with clearnet, others to not.

Well, even a careful person didn't have much choice but to use web-mail
even with i2pbote until recently. 

CustaiCo