A bug report for ftpcopy came in today: ftpcopy doesn't work
over socks5 using runsocks. After a little bit of
investigating it turned out that
the socks5 library includes a wrapper for select(). This
wrapper
sets some flag if a non-blocking socket is connected now.
Later this flag is needed inside the getpeername() wrapper.
Now there's no such wrapper for poll. Impact: Bang. Connect
failed. No, not really, but ftpcopy couldn't tell.
I'll include some way to turn of the usage of poll at
compiletime.
The clean solution would be to fix socks5, but i don't
really
like the nec peoples copyright, and i don't like the code.
Somebody forgot KISS.
Besides, what's socks good for?
Isn't it just an
excuse for not using the right firewall?
