-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5774758
commit c63dc8c
Showing
9 changed files
with
28 additions
and
1,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
GLUON_FEEDS='gluon packages routing' | ||
|
||
OPENWRT_REPO=https://github.com/openwrt/openwrt.git | ||
OPENWRT_BRANCH=openwrt-23.05 | ||
OPENWRT_COMMIT=33b45c0a0e1405d2b390e9231c29d5fb5314707a | ||
OPENWRT_BRANCH=openwrt-24.10 | ||
OPENWRT_COMMIT=faebcc61eb331f5898504933a49c18a5de02b8b1 | ||
|
||
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git | ||
PACKAGES_GLUON_COMMIT=3d08b0fee8dc5d96d8bcdb985fad1d5564de4022 | ||
|
||
PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git | ||
PACKAGES_PACKAGES_BRANCH=openwrt-23.05 | ||
PACKAGES_PACKAGES_COMMIT=4689289706f7c1c4ff907e7a5bcade1f99c38a61 | ||
PACKAGES_PACKAGES_BRANCH=openwrt-24.10 | ||
PACKAGES_PACKAGES_COMMIT=da072f76e4e6e41df6a0bc377e9d002a9e0ff471 | ||
|
||
PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git | ||
PACKAGES_ROUTING_BRANCH=openwrt-23.05 | ||
PACKAGES_ROUTING_COMMIT=67fb1bc0cbe1cf26748e83acb872513434bd0471 | ||
PACKAGES_ROUTING_BRANCH=openwrt-24.10 | ||
PACKAGES_ROUTING_COMMIT=3f15699240c076d5ee9ed697fa5ef45355423f6f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,13 @@ Signed-off-by: Matthias Schiffer <[email protected]> | |
|
||
diff --git a/package/network/services/dropbear/patches/700-failsafe-mode.patch b/package/network/services/dropbear/patches/700-failsafe-mode.patch | ||
new file mode 100644 | ||
index 0000000000000000000000000000000000000000..bd9cf1ce4234d94bcc5b782cc753f59993f999bc | ||
index 0000000000000000000000000000000000000000..9b619ce80b2963c67ac62bcf95b33b28b505ad2a | ||
--- /dev/null | ||
+++ b/package/network/services/dropbear/patches/700-failsafe-mode.patch | ||
@@ -0,0 +1,57 @@ | ||
+--- a/svr-auth.c | ||
++++ b/svr-auth.c | ||
+@@ -125,10 +125,11 @@ void recv_msg_userauth_request() { | ||
+--- a/src/svr-auth.c | ||
++++ b/src/svr-auth.c | ||
+@@ -124,10 +124,11 @@ void recv_msg_userauth_request() { | ||
+ AUTH_METHOD_NONE_LEN) == 0) { | ||
+ TRACE(("recv_msg_userauth_request: 'none' request")) | ||
+ if (valid_user | ||
|
@@ -28,38 +28,38 @@ index 0000000000000000000000000000000000000000..bd9cf1ce4234d94bcc5b782cc753f599 | |
+ { | ||
+ dropbear_log(LOG_NOTICE, | ||
+ "Auth succeeded with blank password for '%s' from %s", | ||
+--- a/svr-runopts.c | ||
++++ b/svr-runopts.c | ||
+@@ -77,6 +77,7 @@ static void printhelp(const char * progn | ||
+--- a/src/svr-runopts.c | ||
++++ b/src/svr-runopts.c | ||
+@@ -82,6 +82,7 @@ static void printhelp(const char * progn | ||
+ "-s Disable password logins\n" | ||
+ "-g Disable password logins for root\n" | ||
+ "-B Allow blank password logins\n" | ||
++ "-f Failsafe mode: always allow password-less root login\n" | ||
++ "-f Failsafe mode: always allow password-less root login\n" | ||
+ "-t Enable two-factor authentication (both password and public key required)\n" | ||
+ #endif | ||
+ "-T Maximum authentication tries (default %d)\n" | ||
+ #if DROPBEAR_SVR_LOCALTCPFWD | ||
+@@ -144,6 +145,7 @@ void svr_getopts(int argc, char ** argv) | ||
+@@ -166,6 +167,7 @@ void svr_getopts(int argc, char ** argv) | ||
+ svr_opts.noauthpass = 0; | ||
+ svr_opts.norootpass = 0; | ||
+ svr_opts.allowblankpass = 0; | ||
++ svr_opts.failsafe_mode = 0; | ||
+ svr_opts.multiauthmethod = 0; | ||
+ svr_opts.maxauthtries = MAX_AUTH_TRIES; | ||
+ svr_opts.inetdmode = 0; | ||
+ svr_opts.portcount = 0; | ||
+@@ -266,6 +268,9 @@ void svr_getopts(int argc, char ** argv) | ||
+ case 'B': | ||
+ svr_opts.allowblankpass = 1; | ||
+@@ -263,6 +265,9 @@ void svr_getopts(int argc, char ** argv) | ||
+ case '2': | ||
+ next = &reexec_fd_arg; | ||
+ break; | ||
++ case 'f': | ||
++ svr_opts.failsafe_mode = 1; | ||
++ break; | ||
+ #endif | ||
+ case 'h': | ||
+ printhelp(argv[0]); | ||
+--- a/runopts.h | ||
++++ b/runopts.h | ||
+@@ -106,6 +106,8 @@ typedef struct svr_runopts { | ||
+ int allowblankpass; | ||
+ case 'p': | ||
+ nextisport = 1; | ||
+--- a/src/runopts.h | ||
++++ b/src/runopts.h | ||
+@@ -110,6 +110,8 @@ typedef struct svr_runopts { | ||
+ int multiauthmethod; | ||
+ unsigned int maxauthtries; | ||
+ | ||
++ int failsafe_mode; | ||
|
File renamed without changes.
81 changes: 0 additions & 81 deletions
81
patches/openwrt/0004-xrx200-migrate-fritz7360-v2-using-incorrect-image.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.