/[LeafOK_CVS]/lbbs/src/login.c
ViewVC logotype

Log of /lbbs/src/login.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.80 - (view) (annotate) - [select for diffs]
Sun Jan 4 13:24:00 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.79: +2 -0 lines
Diff to previous 1.79
Clear current line before prompt for username / password


Revision 1.79 - (view) (annotate) - [select for diffs]
Sat Jan 3 10:27:14 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78
Update copyright info


Revision 1.78 - (view) (annotate) - [select for diffs]
Fri Dec 26 11:26:01 2025 UTC (2 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.77: +0 -2 lines
Diff to previous 1.77
Remove duplicate log


Revision 1.77 - (view) (annotate) - [select for diffs]
Fri Dec 26 11:17:41 2025 UTC (2 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.76: +15 -13 lines
Diff to previous 1.76
Refine log of user authentication


Revision 1.76 - (view) (annotate) - [select for diffs]
Sun Dec 21 12:45:47 2025 UTC (2 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.75: +12 -7 lines
Diff to previous 1.75
Fix bug: checklevel2() should be called after load_user_info()
User with special privilege is not allowed to re-confirm EULA in plain telnet mode.


Revision 1.75 - (view) (annotate) - [select for diffs]
Fri Dec 19 06:16:27 2025 UTC (2 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.74: +24 -24 lines
Diff to previous 1.74
Append \n to the end of logging message by log_...()
Remove ending \n from each logging message


Revision 1.74 - (view) (annotate) - [select for diffs]
Tue Dec 2 08:48:05 2025 UTC (3 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.73: +96 -12 lines
Diff to previous 1.73
Force re-confirm user agreeement if time of EULA is later than last_login_dt


Revision 1.73 - (view) (annotate) - [select for diffs]
Tue Dec 2 08:04:29 2025 UTC (3 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.72: +6 -0 lines
Diff to previous 1.72
Check update time of EULA while user login


Revision 1.72 - (view) (annotate) - [select for diffs]
Sat Nov 29 01:55:00 2025 UTC (3 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.71: +0 -3 lines
Diff to previous 1.71
Remove duplicate log


Revision 1.71 - (view) (annotate) - [select for diffs]
Fri Nov 28 14:35:38 2025 UTC (3 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.70: +7 -0 lines
Diff to previous 1.70
Prevent user with special privilege from logging in via plain (non-SSH) mode


Revision 1.70 - (view) (annotate) - [select for diffs]
Mon Nov 17 12:47:41 2025 UTC (3 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69
Fix error reported by gcc under MSYS2


Revision 1.69 - (view) (annotate) - [select for diffs]
Sun Nov 16 11:06:06 2025 UTC (3 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
Update mysql.h file path


Revision 1.68 - (view) (annotate) - [select for diffs]
Tue Nov 11 00:28:05 2025 UTC (4 months ago) by sysadm
Branch: MAIN
Changes since 1.67: +4 -0 lines
Diff to previous 1.67
Use config.h


Revision 1.67 - (view) (annotate) - [select for diffs]
Wed Nov 5 02:06:50 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.66: +6 -0 lines
Diff to previous 1.66
Use enum / const int instead of macro define constant integers


Revision 1.66 - (view) (annotate) - [select for diffs]
Tue Nov 4 14:58:56 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65
Refine file header information comments


Revision 1.65 - (view) (annotate) - [select for diffs]
Tue Nov 4 13:49:51 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.64: +7 -15 lines
Diff to previous 1.64
Update file header information comments


Revision 1.64 - (view) (annotate) - [select for diffs]
Tue Nov 4 11:20:16 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.63: +5 -2 lines
Diff to previous 1.63
Update username check criteria to keep compatible with some special username (length = 3)


Revision 1.63 - (view) (annotate) - [select for diffs]
Mon Nov 3 06:21:01 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62
Update username check criteria


Revision 1.62 - (view) (annotate) - [select for diffs]
Wed Oct 22 16:12:50 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
Add data fields of user


Revision 1.61 - (view) (annotate) - [select for diffs]
Wed Oct 22 05:50:13 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
Refine handling of Guest


Revision 1.60 - (view) (annotate) - [select for diffs]
Sat Oct 18 14:35:04 2025 UTC (4 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.59: +16 -7 lines
Diff to previous 1.59
Insert visit_log while user login


Revision 1.59 - (view) (annotate) - [select for diffs]
Thu Oct 16 10:10:48 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.58: +3 -4 lines
Diff to previous 1.58
Refine SQL


Revision 1.58 - (view) (annotate) - [select for diffs]
Thu Oct 16 05:26:55 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.57: +0 -4 lines
Diff to previous 1.57
Cleanup debug code


Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Oct 16 05:24:52 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.56: +18 -7 lines
Diff to previous 1.56
Fix bug


Revision 1.56 - (view) (annotate) - [select for diffs]
Thu Oct 16 04:38:59 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.55: +17 -1 lines
Diff to previous 1.55
Add exp gain for stay online


Revision 1.55 - (view) (annotate) - [select for diffs]
Wed Oct 1 02:48:54 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.54: +7 -3 lines
Diff to previous 1.54
Pass NULL action to keep the last action


Revision 1.54 - (view) (annotate) - [select for diffs]
Wed Oct 1 02:21:15 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.53: +3 -1 lines
Diff to previous 1.53
Refine user_online_update()


Revision 1.53 - (view) (annotate) - [select for diffs]
Sun Sep 28 12:28:10 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
Add definition of BBS_allowed_login_failures_per_account


Revision 1.52 - (view) (annotate) - [select for diffs]
Sun Sep 28 12:25:14 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.51: +10 -6 lines
Diff to previous 1.51
Optimize account lock policy of failure logins


Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Aug 26 03:15:27 2025 UTC (6 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
Disconnect after displaying user register prompt message


Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Jul 23 01:18:00 2025 UTC (7 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.49: +1 -0 lines
Diff to previous 1.49
Move ip_mask() to dedicated ip_mask.c(.h) files


Revision 1.49 - (view) (annotate) - [select for diffs]
Wed Jul 2 04:17:33 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.48: +11 -11 lines
Diff to previous 1.48
Support UTF8 instead of GBK


Revision 1.48 - (view) (annotate) - [select for diffs]
Sat Jun 21 02:15:18 2025 UTC (8 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.47: +6 -6 lines
Diff to previous 1.47
Re-order included order files


Revision 1.47 - (view) (annotate) - [select for diffs]
Wed Jun 18 02:29:54 2025 UTC (8 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.46: +35 -0 lines
Diff to previous 1.46
Add user online status update


Revision 1.46 - (view) (annotate) - [select for diffs]
Tue Jun 17 13:17:04 2025 UTC (8 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.45: +0 -2 lines
Diff to previous 1.45
Move macro definitions to autoconf


Revision 1.45 - (view) (annotate) - [select for diffs]
Tue Jun 17 02:06:48 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44
Replace time(0) with time(NULL)


Revision 1.44 - (view) (annotate) - [select for diffs]
Mon Jun 16 09:42:28 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.43: +91 -76 lines
Diff to previous 1.43
Fix bug


Revision 1.43 - (view) (annotate) - [select for diffs]
Sat Jun 14 09:20:13 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.42: +11 -1 lines
Diff to previous 1.42
Add implementation of article post / modify / reply


Revision 1.42 - (view) (annotate) - [select for diffs]
Sun Jun 8 09:25:24 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
Refine display_data


Revision 1.41 - (view) (annotate) - [select for diffs]
Sat Jun 7 08:33:08 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.40: +47 -5 lines
Diff to previous 1.40
Refine


Revision 1.40 - (view) (annotate) - [select for diffs]
Sat Jun 7 06:16:25 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.39: +7 -7 lines
Diff to previous 1.39
Change UID from long int to int


Revision 1.39 - (view) (annotate) - [select for diffs]
Thu Jun 5 05:24:56 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
Add SSH2 support


Revision 1.38 - (view) (annotate) - [select for diffs]
Wed Jun 4 13:42:53 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
Rename log_std() to log_common()


Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Jun 3 13:14:26 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
Refine


Revision 1.36 - (view) (annotate) - [select for diffs]
Tue Jun 3 05:33:06 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
Update include / lib path


Revision 1.35 - (view) (annotate) - [select for diffs]
Thu May 29 13:17:33 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
Refact display_file_ex()


Revision 1.34 - (view) (annotate) - [select for diffs]
Mon May 26 12:06:05 2025 UTC (9 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.33: +24 -1 lines
Diff to previous 1.33
Apply user tz setting


Revision 1.33 - (view) (annotate) - [select for diffs]
Mon May 26 02:56:59 2025 UTC (9 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.32: +15 -14 lines
Diff to previous 1.32
Add mysql_error message


Revision 1.32 - (view) (annotate) - [select for diffs]
Mon May 19 01:45:45 2025 UTC (9 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
Pause on login failure or logout


Revision 1.31 - (view) (annotate) - [select for diffs]
Mon May 19 01:44:49 2025 UTC (9 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.30: +1 -8 lines
Diff to previous 1.30
Refine menu and display


Revision 1.30 - (view) (annotate) - [select for diffs]
Thu May 15 14:34:13 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.29: +5 -16 lines
Diff to previous 1.29
Refine


Revision 1.29 - (view) (annotate) - [select for diffs]
Thu May 15 14:17:53 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
Refact display_file_ex, remove display_file
Convert split_file_lines into split_data_lines with mmap


Revision 1.28 - (view) (annotate) - [select for diffs]
Tue May 13 02:59:33 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.27: +4 -17 lines
Diff to previous 1.27
Refact bbs_main


Revision 1.27 - (view) (annotate) - [select for diffs]
Sun May 11 13:48:26 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.26: +27 -3 lines
Diff to previous 1.26
Refact username/password validator


Revision 1.26 - (view) (annotate) - [select for diffs]
Sun May 11 04:09:08 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.25: +0 -2 lines
Diff to previous 1.25
Change getch to non-blocking
Refine select parameter
Remove sleep


Revision 1.25 - (view) (annotate) - [select for diffs]
Sat May 10 15:23:42 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
Refine SIGTERM handling


Revision 1.24 - (view) (annotate) - [select for diffs]
Sat May 10 11:09:02 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.23: +15 -11 lines
Diff to previous 1.23
Refact tcplib
Refine handling of user input timeout


Revision 1.23 - (view) (annotate) - [select for diffs]
Tue May 6 14:14:26 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
Update


Revision 1.22 - (view) (annotate) - [select for diffs]
Tue May 6 13:28:38 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.21: +83 -20 lines
Diff to previous 1.21
Add anti-spam check


Revision 1.21 - (view) (annotate) - [select for diffs]
Tue May 6 12:10:22 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
Refine


Revision 1.20 - (view) (annotate) - [select for diffs]
Tue May 6 05:31:26 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.19: +3 -4 lines
Diff to previous 1.19
Update copyright and license information


Revision 1.19 - (view) (annotate) - [select for diffs]
Tue May 6 05:12:29 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.18: +4 -0 lines
Diff to previous 1.18
Refact chicken and money
Add database save/load for money


Revision 1.18 - (view) (annotate) - [select for diffs]
Mon May 5 11:46:04 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17
Refine


Revision 1.17 - (view) (annotate) - [select for diffs]
Mon May 5 11:11:06 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.16: +7 -5 lines
Diff to previous 1.16
Refine


Revision 1.16 - (view) (annotate) - [select for diffs]
Mon May 5 09:30:22 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15
Refine


Revision 1.15 - (view) (annotate) - [select for diffs]
Sun May 4 14:54:55 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.14: +72 -24 lines
Diff to previous 1.14
Refine


Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Apr 30 09:18:19 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.13: +29 -24 lines
Diff to previous 1.13
Add missing header files
Update compile dependency


Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Apr 28 12:45:57 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.12: +76 -44 lines
Diff to previous 1.12
Remove legacy code and refine


Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Apr 28 04:23:38 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.11: +3 -31 lines
Diff to previous 1.11
Remove legacy code


Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Apr 28 03:31:00 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.10: +252 -252 lines
Diff to previous 1.10
Update


Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Mar 10 06:09:34 2020 UTC (6 years ago) by sysadm
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
Replace MD5 with SHA256 for password encryption


Revision 1.9 - (view) (annotate) - [select for diffs]
Fri May 6 16:37:59 2005 UTC (20 years, 10 months ago) by sysadm
Branch: MAIN
CVS Tags: lbbs_1-0-0-0_MIL
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
*** empty log message ***


Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Mar 20 17:37:14 2005 UTC (21 years ago) by sysadm
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
*** empty log message ***


Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Mar 19 14:44:21 2005 UTC (21 years ago) by sysadm
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6
*** empty log message ***


Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Mar 2 16:33:49 2005 UTC (21 years ago) by sysadm
Branch: MAIN
Changes since 1.5: +9 -2 lines
Diff to previous 1.5
*** empty log message ***


Revision 1.5 - (view) (annotate) - [select for diffs]
Sat Oct 23 18:41:41 2004 UTC (21 years, 4 months ago) by sysadm
Branch: MAIN
Changes since 1.4: +47 -16 lines
Diff to previous 1.4
*** empty log message ***


Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Oct 22 19:51:01 2004 UTC (21 years, 4 months ago) by sysadm
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
*** empty log message ***


Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Oct 22 15:20:32 2004 UTC (21 years, 4 months ago) by sysadm
Branch: MAIN
Changes since 1.2: +204 -20 lines
Diff to previous 1.2
*** empty log message ***


Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Oct 21 17:28:46 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
Changes since 1.1: +62 -1 lines
Diff to previous 1.1
*** empty log message ***


Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Oct 20 07:46:26 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
Process user login request


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1