Bez tytułu

z Voluminous Stork, 1 dzień temu, napisane w Plain Text, wyświetlone 18 razy. [paste_expire] 11 miesiące.
URL https://pastebin.k4be.pl/view/0de09660 Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
  1. ircd@nlx:~/unrealircd$ ./unrealircd hot-patch bundle-20261107
  2. --2026-11-07 15:18:49--  https://www.unrealircd.org/patch?type=hot-patch&patch=bundle-20261107&version=6.2.7
  3. Resolving www.unrealircd.org (www.unrealircd.org)... 104.18.24.153, 104.18.25.153, 2606:4700::6812:1999, ...
  4. Connecting to www.unrealircd.org (www.unrealircd.org)|104.18.24.153|:443... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: unspecified [text/html]
  7. Saving to: ‘patch’
  8.  
  9. patch                                                          [ <=>                                                                                                                                     ]   7.13K  --.-KB/s    in 0s      
  10.  
  11. 2026-11-07 15:18:50 (69.5 MB/s) - ‘patch’ saved [7306]
  12.  
  13. --2026-11-07 15:18:50--  https://www.unrealircd.org/patch?type=hot-patch&patch=bundle-20261107&version=6.2.7&sig=1
  14. Resolving www.unrealircd.org (www.unrealircd.org)... 104.18.25.153, 104.18.24.153, 2606:4700::6812:1999, ...
  15. Connecting to www.unrealircd.org (www.unrealircd.org)|104.18.25.153|:443... connected.
  16. HTTP request sent, awaiting response... 200 OK
  17. Length: 833 [text/html]
  18. Saving to: ‘patch.asc’
  19.  
  20. patch.asc                                                  100%[========================================================================================================================================>]     833  --.-KB/s    in 0s      
  21.  
  22. 2026-11-07 15:18:50 (9.39 MB/s) - ‘patch.asc’ saved [833/833]
  23.  
  24. gpg: key 101001DAF48BB56D: "UnrealIRCd releases and patches (for verification of software downloads only!) <releases@unrealircd.org>" not changed
  25. gpg: Total number processed: 1
  26. gpg:              unchanged: 1
  27.  
  28. gpg: Signature made Sat Oct 31 17:54:46 2026 UTC
  29. gpg:                using RSA key 36E6F65706E36B0937280299101001DAF48BB56D
  30. gpg: Good signature from "UnrealIRCd releases and patches (for verification of software downloads only!) <releases@unrealircd.org>" [unknown]
  31. gpg: WARNING: This key is not certified with a trusted signature!
  32. gpg:          There is no indication that the signature belongs to the owner.
  33. Primary key fingerprint: 36E6 F657 06E3 6B09 3728  0299 1010 01DA F48B B56D
  34. GPG: Verification succeeded. Patch file is genuine.
  35.  
  36.  
  37. patching file src/modules/blacklist.c
  38. Possibly reversed hunk 1 at 1039
  39. Hunk 1 FAILED 1012/1012.
  40.  
  41.  EVENT(blacklist_recheck)
  42.  {
  43. -       Client *client;
  44. +       Client *client, *next;
  45.         time_t last_check;
  46.  
  47.         if (BLACKLIST_RECHECK_TIME == 0)
  48.                 return;
  49.  
  50. -       list_for_each_entry(client, &lclient_list, lclient_node)
  51. +       list_for_each_entry_safe(client, next, &lclient_list, lclient_node)
  52.         {
  53.                 /* Only check connected users */
  54.                 if (!IsUser(client))
  55. patching file src/modules/extended-monitor.c
  56. Hunk 1 FAILED 120/120.
  57.  
  58.  int extended_monitor_notification(Client *client, Watch *watch, Link *lp, int event, void *data)
  59.  {
  60. +       if (!IsUser(client))
  61. +               return 0;
  62. +
  63.         if (!(lp->flags & WATCH_FLAG_TYPE_MONITOR))
  64.                 return 0;
  65.  
  66. patching file src/modules/labeled-response.c
  67. Possibly reversed hunk 1 at 417
  68. Hunk 1 FAILED 24/24.
  69.  
  70.  ModuleHeader MOD_HEADER = {
  71.      "labeled-response",
  72. -    "5.0",
  73. +    "5.0-hot-patch-bundle-20261107",
  74.      "Labeled response CAP",
  75.      "UnrealIRCd Team",
  76.      "unrealircd-6",
  77. patching file src/modules/mode.c
  78. Hunk 1 FAILED 518/518.
  79.         return m;
  80.  }
  81.  
  82. +static int listmode_full(Ban *ban)
  83. +{
  84. +       int cnt = 0;
  85. +
  86. +       for (; ban; ban = ban->next)
  87. +       {
  88. +               if (++cnt >= MAXBANS * 2)
  89. +                       return 1;
  90. +       }
  91. +       return 0;
  92. +}
  93. +
  94.  const char *mode_ban_handler(Client *client, Channel *channel, const char *param, int what, int extbtype, Ban **banlist)
  95.  {
  96.         const char *tmpstr;
  97. patching file src/modules/nick.c
  98. Hunk 1 FAILED 1354/1354.
  99.                         }
  100.                 }
  101.  
  102. +               if (client->local->class == aconf->class)
  103. +                       return 1;
  104. +
  105.                 if (!((aconf->class->clients + 1) > aconf->class->maxclients))
  106.                 {
  107. +                       if (client->local->class)
  108. +                               client->local->class->clients--;
  109.                         client->local->class = aconf->class;
  110.                         client->local->class->clients++;
  111.                 } else
  112. patching file src/modules/sjoin.c
  113. Hunk 1 FAILED 105/105.
  114.         }
  115.  }
  116.  
  117. +static int listmode_full(Ban *ban)
  118. +{
  119. +       int cnt = 0;
  120. +
  121. +       for (; ban; ban = ban->next)
  122. +       {
  123. +               if (++cnt >= MAXBANS * 2)
  124. +                       return 1;
  125. +       }
  126. +       return 0;
  127. +}
  128. +
  129.  /** SJOIN: Synchronize channel modes, +beI lists and users (server-to-server command)
  130.   * Extensive technical documentation is available at:
  131.   * https://www.unrealircd.org/docs/Server_protocol:SJOIN_command
  132. patching file src/modules/starttls.c
  133. Hunk 1 FAILED 98/98.
  134.         SetStartTLSHandshake(client);
  135.         if ((client->local->ssl = SSL_new(ctx)) == NULL)
  136.                 goto fail;
  137. +#ifdef SSL_OP_NO_RENEGOTIATION
  138. +       /* No TLS renegotiations. OpenSSL 3.0.0 and later already do this by default */
  139. +       SSL_set_options(client->local->ssl, SSL_OP_NO_RENEGOTIATION);
  140. +#elif defined(SSL_OP_NO_CLIENT_RENEGOTIATION)
  141. +       /* Same, but for LibreSSL <4.1.0 which doesn't have SSL_OP_NO_RENEGOTIATION */
  142. +       SSL_set_options(client->local->ssl, SSL_OP_NO_CLIENT_RENEGOTIATION);
  143. +#endif
  144.         SetTLS(client);
  145.         SSL_set_fd(client->local->ssl, client->local->fd);
  146.         SSL_set_nonblocking(client->local->ssl);
  147. patching file src/modules/svsmode.c
  148. Possibly reversed hunk 1 at 637
  149. Hunk 1 FAILED 63/63.
  150.  
  151.  void unban_user(Client *client, Channel *channel, Client *acptr, char chmode)
  152.  {
  153. -       Extban *extban;
  154. -       const char *nextbanstr;
  155.         Ban *ban, *bnext;
  156.         Ban **banlist;
  157.         BanContext *b;
  158. patching file src/modules/user.c
  159. Hunk 1 FAILED 23/23.
  160.  #include "unrealircd.h"
  161.  
  162.  CMD_FUNC(cmd_user);
  163. +int user_is_handshake_finished(Client *client);
  164. +
  165. +extern WhoWas MODVAR WHOWAS[NICKNAMEHISTORYLENGTH];
  166.  
  167.  #define MSG_USER "USER"
  168.  
  169. patching file src/modules/whowasdb.c
  170. Possibly reversed hunk 1 at 639
  171. Hunk 1 FAILED 580/580.
  172.                         break;
  173.                 }
  174.  
  175. -               if (nick && username && hostname && realname)
  176. +               if (nick && username && hostname && realname && server)
  177.                 {
  178.                         /* This is basically duplicating the code from create_whowas_entry() in src/whowas.c.
  179.                          * But we have no choice, as we can't use that function since we don't have a Client *.
  180. patching file src/modules/blacklist.c
  181. patching file src/modules/extended-monitor.c
  182. patching file src/modules/labeled-response.c
  183. patching file src/modules/mode.c
  184. patching file src/modules/nick.c
  185. patching file src/modules/sjoin.c
  186. patching file src/modules/starttls.c
  187. patching file src/modules/svsmode.c
  188. patching file src/modules/user.c
  189. Possibly reversed hunk 1 at 111
  190. Hunk 1 FAILED 23/23.
  191.  #include "unrealircd.h"
  192.  
  193.  CMD_FUNC(cmd_user);
  194. +int user_is_handshake_finished(Client *client);
  195. +
  196. +extern WhoWas MODVAR WHOWAS[NICKNAMEHISTORYLENGTH];
  197.  
  198.  #define MSG_USER "USER"
  199.  
  200. patching file src/modules/whowasdb.c
  201. Patch failed to apply (no files changed)
  202.  

odpowiedź "Bez tytułu"

Tutaj możesz odpowiedzieć na wklejkę z góry

captcha