-
-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add socks5 support #2
Comments
Hi sijad, Feel free to help Axel. Initialy, send me a patch and I will add you to the project, if you want it. Regards, Eriberto |
should I work on broken v3? |
as v3 is 80 commit behind I think continuing v2 is better right now |
Today, I am doing several commits. Please, take advantage of this. |
is it a good idea to use a library like https://github.com/darkk/redsocks? |
I think it would be much better to avoid adding other dependencies unless strictly required. Don't you think it is possible to implement basic socks support without a library? |
I'm not sure, I can tell you after reading http://www.rfc-editor.org/rfc/rfc1928.txt |
The comparison of maxconns and num_connections was inverted, resulting in a buffer overflow. Debugging Session: gdb --args ./src/axel https://speed.hetzner.de/100MB.bin [...] Initializing download: https://speed.hetzner.de/100MB.bin File size: 104857600 bytes Program received signal SIGSEGV, Segmentation fault. 0x000055555555a81a in axel_divide (axel=0x55555556b410) at axel.c:853 853 axel->conn[i].currentbyte = seg_len * i; (gdb) p i $1 = 87 (gdb) p axel->conf->num_connections $2 = 1024 (gdb) bt #0 0x000055555555a81a in axel_divide (axel=0x55555556b410) at axel.c:853 #1 0x00005555555586e4 in axel_open (axel=0x55555556b410) at axel.c:317 #2 0x0000555555561bb4 in main (argc=2, argv=0x7fffffffe778) at text.c:379 Fixes: 5aac471 ("Fix request range calculation") Fixes: #205 [ismael: Added commit message] Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
This is wonderful to see updated Axel, currently when I wan use socks5 as proxy for example I get this error:
I'm not a very good programmer but I'd love to spend time on this, let me know if you think this is a good idea
The text was updated successfully, but these errors were encountered: