curl from firmware doesn't support proxy?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

saccleo

Occasional Visitor
after seting up a socks proxy , use "/usr/sbin/curl -x socks5://x.x.x.x:port cip.cc" to test, it return local ip address not the proxy's.
while the curl from entware works.
is the curl from firmware lack some feature.
 

L&LD

Part of the Furniture
Have we not covered that in your previous posts?
 

saccleo

Occasional Visitor
Have we not covered that in your previous posts?
i have known the reason that amtm can't work. and i want to solve this by setting socks proxy for curl.
while curl from firmware seems does not support proxy, it is possiable that i need some other necessary steps to make it works?
 

RMerlin

Asuswrt-Merlin dev
i have known the reason that amtm can't work. and i want to solve this by setting socks proxy for curl.
while curl from firmware seems does not support proxy, it is possiable that i need some other necessary steps to make it works?

Both Asus and myself compile curl without proxy support, to reduce on disk usage. You're the first one I've seen in 8+ years whose ISP requires the use of a proxy, so this is more than a niche scenario. Other portions of the firmware won't work properly as they rely on wget or on libcurl library calls, so just getting curl modified to support proxies wouldn't solve any of these other problems in your case.
 

Yota

Regular Contributor
Both Asus and myself compile curl without proxy support, to reduce on disk usage. You're the first one I've seen in 8+ years whose ISP requires the use of a proxy, so this is more than a niche scenario. Other portions of the firmware won't work properly as they rely on wget or on libcurl library calls, so just getting curl modified to support proxies wouldn't solve any of these other problems in your case.

I think many people, including me, need curl to support proxy. For example, I want to create a script to detect the activity proxies. If the built-in curl does not support I will need to use the entware version, which will bring a lot of unnecessary overhead.
So I hope you can consider enabling proxy support, thank you.
 
Last edited:

RMerlin

Asuswrt-Merlin dev
I think many people, including me, need curl to support proxy. For example, I want to create a script to detect the activity proxies. If the built-in curl does not support I will need to use the entware version, which will bring a lot of unnecessary overhead.
So I hope you can consider enabling proxy support, thank you.

You can use wget instead, it has proxy support.

Enabling proxy support in curl adds about 26 KB to the library, I'm trying to limit enabling esoteric features that add any size increase, as some of the newer models are starting to get dangerously large.
 

Yota

Regular Contributor
You can use wget instead, it has proxy support.

Enabling proxy support in curl adds about 26 KB to the library, I'm trying to limit enabling esoteric features that add any size increase, as some of the newer models are starting to get dangerously large.
I do not know that wget supports socks proxy, I think I will try it, if it works it will solve all problems, thank you very much.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top