Modify

Opened 5 years ago

Last modified 4 years ago

#12568 new defect

ddns script http auth broken with busybox

Reported by: akostadinov@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Attitude Adjustment 12.09 Beta
Keywords: ddns Cc:

Description

Hello, ddns does not work in default installation because most providers require http auth. With busybox wget though I see the following:

# /bin/wget  "http://[REDACTED]:[REDACTED]@www.dnsdynamic.org/api/?hostname=[REDACTED HOST]&myip=[REDACTED IP]"
Connecting to www.dnsdynamic.org (84.45.76.100:80)
wget: server returned error: HTTP/1.0 401 Authorization Required

This problem does not exist when normal wget is installed. So IMO wget or curl should be a required package for ddns scripts package.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by anonymous

You are perhaps not aware of how huge OpenSSL is, and therefore curl or wget would causes images to fail fit in the 4 MB flash / 16 MB minimum router OpenWrt supports (well probably 32 MB RAM minimum for Barrier Break, but still 4 MB flash).

comment:2 Changed 5 years ago by anonymous

Have you tried to compile busybox wget with http auth?

CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y

I believe it's off by default - i grepped this one off my heavily modified .config.

comment:3 Changed 5 years ago by anonymous

work for me with no-ip.com, which is using http auth

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.