-
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
7c977fb
commit 6bdf592
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=1efcdb2446602c3b120b265c1d189039fdb9c0e7 | ||
OPENWRT_BRANCH=openwrt-24.10 | ||
OPENWRT_COMMIT=e3bbeabe9248938ab506bc55c13ff545a72f1d9b | ||
|
||
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=c691e6f4c7ea2b40909270e4523b0fa6dcfbb9ae | ||
PACKAGES_PACKAGES_BRANCH=openwrt-24.10 | ||
PACKAGES_PACKAGES_COMMIT=d33977e50de97c5697eb92aad90db3dec5daf902 | ||
|
||
PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git | ||
PACKAGES_ROUTING_BRANCH=openwrt-23.05 | ||
PACKAGES_ROUTING_COMMIT=e351d1e623e9ef2ab78f28cb1ce8d271d28c902d | ||
PACKAGES_ROUTING_BRANCH=openwrt-24.10 | ||
PACKAGES_ROUTING_COMMIT=0ff4ab0506f2ab09b829699bef6b8be8bf8f87f1 |
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.