Added binkp MD5 password crypt

This commit is contained in:
Michiel Broek
2003-07-06 20:37:58 +00:00
parent 42b0fd381b
commit 7021a07b4d
12 changed files with 770 additions and 91 deletions

View File

@@ -1222,16 +1222,17 @@ void s_mailer(void)
mvprintw(16, 2, "10. No EMSI session");
mvprintw(17, 2, "11. No Yooho/2U2");
mvprintw(15,31, "12. No Zmodem");
mvprintw(16,31, "13. No Zedzap");
mvprintw(17,31, "14. No Hydra");
mvprintw(14,31, "12. No Zmodem");
mvprintw(15,31, "13. No Zedzap");
mvprintw(16,31, "14. No Hydra");
mvprintw(17,31, "15. No MD5");
mvprintw(12,59, "18. Phonetrans 1-10");
mvprintw(13,59, "19. Phonetrans 11-20");
mvprintw(14,59, "20. Phonetrans 21-30");
mvprintw(15,59, "21. Phonetrans 31-40");
mvprintw(16,59, "22. Max. files");
mvprintw(17,59, "23. Max. MB.");
mvprintw(12,59, "16. Phonetrans 1-10");
mvprintw(13,59, "17. Phonetrans 11-20");
mvprintw(14,59, "18. Phonetrans 21-30");
mvprintw(15,59, "19. Phonetrans 31-40");
mvprintw(16,59, "20. Max. files");
mvprintw(17,59, "21. Max. MB.");
}
@@ -1286,14 +1287,15 @@ void e_mailer(void)
show_bool(16,23, CFG.NoEMSI);
show_bool(17,23, CFG.NoWazoo);
show_bool(15,52, CFG.NoZmodem);
show_bool(16,52, CFG.NoZedzap);
show_bool(17,52, CFG.NoHydra);
show_bool(14,52, CFG.NoZmodem);
show_bool(15,52, CFG.NoZedzap);
show_bool(16,52, CFG.NoHydra);
show_bool(17,52, CFG.NoMD5);
show_int( 16,75, CFG.Req_Files);
show_int( 17,75, CFG.Req_MBytes);
switch(select_menu(23)) {
switch(select_menu(21)) {
case 0: return;
case 1: E_LOGL(CFG.cico_loglevel, "1.14.1", s_mailer)
case 2: E_STR( 8,23,20,CFG.Phone, "The mailer default ^phone number^ for this system")
@@ -1307,20 +1309,21 @@ void e_mailer(void)
case 10:E_BOOL(16,23, CFG.NoEMSI, "If set then ^EMSI handshake^ is diabled")
case 11:E_BOOL(17,23, CFG.NoWazoo, "If set then ^YooHoo/2U2^ (FTSC-0006) is disabled")
case 12:E_BOOL(15,52, CFG.NoZmodem, "If set then the ^Zmodem^ protocol is disabled")
case 13:E_BOOL(16,52, CFG.NoZedzap, "If set then the ^Zedzap^ protocol is disabled")
case 14:E_BOOL(17,52, CFG.NoHydra, "If set then the ^Hydra^ protocol is disabled")
case 12:E_BOOL(14,52, CFG.NoZmodem, "If set then the ^Zmodem^ protocol is disabled")
case 13:E_BOOL(15,52, CFG.NoZedzap, "If set then the ^Zedzap^ protocol is disabled")
case 14:E_BOOL(16,52, CFG.NoHydra, "If set then the ^Hydra^ protocol is disabled")
case 15:E_BOOL(17,52, CFG.NoMD5, "If set then no ^MD5 crypted^ passwords are used with binkp sessions")
case 18:e_trans(0);
case 16:e_trans(0);
break;
case 19:e_trans(10);
case 17:e_trans(10);
break;
case 20:e_trans(20);
case 18:e_trans(20);
break;
case 21:e_trans(30);
case 19:e_trans(30);
break;
case 22:E_INT(16,75, CFG.Req_Files, "Maximum ^files^ to request, 0 is unlimited")
case 23:E_INT(17,75, CFG.Req_MBytes, "Maximum ^MBytes^ to request, 0 is unlimited")
case 20:E_INT(16,75, CFG.Req_Files, "Maximum ^files^ to request, 0 is unlimited")
case 21:E_INT(17,75, CFG.Req_MBytes, "Maximum ^MBytes^ to request, 0 is unlimited")
}
};
}
@@ -1921,6 +1924,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " No Zmodem %s\n", getboolean(CFG.NoZmodem));
fprintf(fp, " No Zedzap %s\n", getboolean(CFG.NoZedzap));
fprintf(fp, " No Hydra %s\n", getboolean(CFG.NoHydra));
fprintf(fp, " No MD5 passwords %s\n", getboolean(CFG.NoMD5));
fprintf(fp, " Max request files %d\n", CFG.Req_Files);
fprintf(fp, " Max request MBytes %d\n", CFG.Req_MBytes);