summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
Commit message (Expand)AuthorAgeFilesLines
* - mail: ignore self from reject listpiaip2008-05-141-24/+1
* WARNING: THIS PATCHSET CHANGED SHM STRUCTURE. PLEASE READ UPDATING CAREFULLY.piaip2008-05-131-1/+8
* - mbbsd: fix mind init sizepiaip2008-05-121-1/+3
* - mbbsd: clean trailing stuff when fromd is enabled.piaip2008-05-121-2/+6
* - bbs: X (recommend) on vote_post should do like 'y' -- reply vote.piaip2008-05-121-164/+60
* Disable host alias when using FROMD.wens2008-05-121-2/+2
* - (exp captcha) random seed should be initialized earlier for captcha.piaip2008-05-101-3/+2
* - (internal) xchatd: remove unused codepiaip2008-05-081-1/+1
* - (internal) replace all localtime4() by localtime4_r().piaip2008-05-051-4/+5
* - alert on multi login which results in userinfo out-of-syncpiaip2008-04-271-1/+7
* - (internal) getans -> vanspiaip2008-04-171-3/+3
* - fix loginview crash (having NULL entries)piaip2008-04-131-0/+2
* - add calendar in login viewpiaip2008-04-131-1/+14
* - (internal) code refine: change [200] to [PATHLEN], [STRLEN], or [ANSILINELEN].piaip2008-04-131-1/+1
* Change tobind/toconnect interface.wens2008-04-101-1/+1
* Drop Solaris supportwens2008-04-091-9/+2
* Use fromd for 故鄉wens2008-04-091-0/+15
* - regform: enable kick-out mechanism for regform systempiaip2008-04-041-0/+1
* register: compact ID_RECORD title formatpiaip2008-04-031-0/+4
* - (internal) change mail/log to specific API.piaip2008-04-031-6/+8
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-2/+2
* - drop angel_reject features (requested from okcool@ptt)piaip2008-03-311-6/+0
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-291-3/+7
* - change show_file parameter to assign striping options in a better way.piaip2008-03-121-1/+1
* - eliminate compile warningspiaip2008-03-111-1/+1
* - mbbsd: correct default value promptspiaip2008-02-231-1/+1
* - mbbsd: improve promptspiaip2008-02-211-1/+1
* - friend: use constants, prevent magic numberspiaip2008-02-131-0/+1
* - change over18 calculation as standalone function, in order user changed bir...piaip2008-01-311-16/+7
* - mbbsd: consider "no birthday" as less than 18 years oldpiaip2008-01-301-2/+4
* - fix over18 calculationpiaip2008-01-301-4/+10
* - mbbsd: provide the possibility to optimize some API. keep port information.piaip2008-01-261-5/+29
* - pmore: disable massive scroll for smooth output in pftermpiaip2008-01-101-28/+1
* - mmbsd: improve DEBUGSLEEP proctitle for debugging multiple versionspiaip2008-01-101-1/+28
* - remove extra ';'piaip2008-01-051-1/+1
* - allow setting guest with/without DBCS interuppting escapespiaip2008-01-051-1/+5
* - unify login prompt. (it is suggested to not use DBCS version of ':' -piaip2008-01-031-1/+1
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-281-0/+1
* - mbbsd: why a output("1", 1)?piaip2007-12-251-2/+3
* - mbbsd: redraw on display changepiaip2007-12-251-2/+5
* - change screen APIs to ncurses-like namespiaip2007-12-211-13/+5
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-131-317/+7
* * extract common functions as library.kcwu2007-12-121-3/+3
* - move hard-coded board names to pttbbs.conf.piaip2007-12-051-4/+2
* - modify login: empty input is counted into attemptspiaip2007-12-021-1/+4
* General Update by PttSuggest:piaip2007-12-011-4/+18
* * revise code for entering board.kcwu2007-09-231-3/+3
* * workaround for some account which has no home dirkcwu2007-09-201-1/+2
* * use strtok_r() instead of strtok(). fix bad strtok() usages.kcwu2007-06-191-1/+2
* code clean upkcwu2007-06-101-2/+0
* * add shutdown flagkcwu2007-05-271-3/+7
* Revert r3495. Fix bug of birthday checking and statistic report for today-login.kcwu2007-05-071-14/+13
* horoscope flavor birthday cardvictor2007-04-161-1/+3
* not necessary to dereferencevictor2007-03-261-12/+12
* #define MAX_GUESTvictor2006-11-201-1/+1
* sleep longer when BAN_FILE presentwens2006-10-071-2/+0
* fix bug, forgot to change in revision [3420]kcwu2006-09-171-2/+0
* Allocate water[] on demend. Saved about 4400 bytes.kcwu2006-09-171-0/+2
* Don't include telopts[],telcmds[] symbols if not debugging.kcwu2006-09-171-0/+2
* enum usage fix, saved few bytes.kcwu2006-09-171-2/+2
* since only passwd_lock() when register, no need to call passwd_init() every l...kcwu2006-09-011-4/+0
* Unset all "WITHME" flag when login (but WITHME_NO left unchanged)scw2006-08-291-2/+2
* build banned ip list on compilewens2006-06-181-4/+4
* reject bad ips, including tor and bbsnetin22006-06-181-0/+18
* make emacs happyin22006-06-181-4/+6
* random sleep to make race condition harder.kcwu2006-04-081-1/+1
* reduce race condition period which lead to leave utmp record after user has b...kcwu2006-04-081-1/+1
* it's better to log current time.kcwu2006-04-011-1/+1
* make it harder to multi-login by race condition.kcwu2006-04-011-28/+46
* handle if process errorkcwu2006-03-301-1/+3
* prevent multi-login and slow login flooding.kcwu2006-03-301-20/+23
* more meaningful message for SIGXCPU.kcwu2006-03-271-1/+5
* verify userid when sethome path.kcwu2006-03-271-2/+3
* dirty workaround for race condition in multi-login checking.kcwu2006-03-231-18/+31
* redirect stderr(fd 2) to file.kcwu2006-03-231-2/+6
* support DETECT_CLIENT, hash telnet sequence.kcwu2006-03-231-1/+53
* load go score when loginscw2006-03-181-0/+3
* r3281@kcwu: kcwu | 2006-02-18 13:36:52 +0800kcwu2006-02-181-1/+10
* 1. add "cancel bad post" feature.ptt2006-01-041-0/+4
* debug:ptt2005-11-161-1/+1
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-271-0/+7
* single daemon for all portsin22005-10-211-16/+30
* changes mailalert to 1 bit only.ptt2005-10-131-1/+1
* make 's' search_board in board-list work with this case:piaip2005-09-261-1/+1
* Declare xsin only when needed.wens2005-09-251-3/+6
* fix mail_reply(0, fhdr, 0); caused segv due to mail +r flag,piaip2005-09-161-1/+2
* verbose msg and skip multilogin check for debugsleepingpiaip2005-09-161-2/+20
* catch SIGXCPU for debug.piaip.automake@3147kcwu2005-09-101-1/+4
* pager=waterball made readablepiaip2005-09-081-4/+4
* verbose message when login.piaip2005-09-071-9/+37
* partially fix #35piaip2005-09-041-3/+9
* log crash events in signal handler.kcwu2005-08-291-16/+42
* clear cuser on failed login to avoid gaining permissionsscw2005-08-281-0/+1
* missing type checkingvictor2005-08-241-0/+1
* show Welcome_login just after correctly loginingin22005-08-191-0/+1
* also block shell_login when OVERLOADBLOCKFDS.in22005-08-181-0/+3
* screen_backup() & screen_restore() update:scw2005-08-171-5/+2
* reduce memory usage by 70 bytes per user.victor2005-08-161-1/+1
* screen-resize awareness between screen_backup() and screen_restore().victor2005-08-151-5/+5
* fix bug:victor2005-08-131-1/+1
* remove real escapes (\033) from sourcepiaip2005-08-111-1/+7
* large terminal rules.piaip2005-08-061-3/+8
* warning free, make gcc 4.0 happyvictor2005-07-071-2/+2
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-041-7/+7
* better readability.in22005-06-141-4/+4
* fix last patch: logical dependency errorpiaip2005-06-121-5/+7
* sysops don't want their last login updatedpiaip2005-06-121-9/+6
* some people enabled hidden mode get detection screen everytime piaip2005-06-121-0/+2
* well, message revised again.piaip2005-06-111-1/+1
* detect evil client: some complained about the descriptionpiaip2005-06-111-0/+4
* pmore: general ui updates.piaip2005-06-101-1/+1
* incremental upgrade support (currently DBCSAWARE only)piaip2005-06-091-0/+19
* myfav update:piaip2005-06-081-1/+1
* New style to specify ANSI escape commands.piaip2005-06-081-7/+7
* (pmore) fixed scroll issues for new status linepiaip2005-06-031-0/+1
* don't save user data if shm corruptedkcwu2005-04-231-0/+4
* give a warning if too many subscribed favorites is added at the same timevictor2005-04-231-3/+9
* add NOFLOODING on utmpserverin22005-04-201-1/+2
* 1. make tty_read more clear and reablepiaip2005-04-181-3/+3
* discard 2521 due to some unknown memory problems.in22005-04-181-10/+0
* enabled 8 bit connection by default for most piaip2005-04-091-25/+39
* a patch to fix bug caused by changes of igetch()'s behavior piaip2005-04-091-9/+17
* "Bye-Bye Flying Horse" patchpiaip2005-04-081-55/+252
* handle telnet protocol and enable NAWS (resize terminal) capability.in22005-04-081-12/+4
* wrong socket option typestable.rc@2687victor2005-04-051-2/+3
* more statistickcwu2005-03-271-0/+9
* show message to tell user crashkcwu2005-03-271-1/+7
* long screen support at login.in22005-03-251-4/+37
* statistic for user's first login todaykcwu2005-03-191-3/+9
* localtime() may destory its return buffer after second callkcwu2005-03-191-6/+6
* statistickcwu2005-03-191-0/+7
* less hard coded path/string.kcwu2005-03-191-1/+1
* add 'const' qualifiers on function parameters.kcwu2005-03-191-15/+15
* user defined show 壽星 or notin22005-03-151-23/+29
* fix bug: if user disconnected during login, goodpost will be reseted to 0.kcwu2005-03-131-4/+4
* move 232 bytes from data section to rodata sectionkcwu2005-03-121-1/+1
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+0
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-12/+9
* don't delete password trial by default.kcwu2005-03-061-1/+1
* defer fav_load() to choose_board() if the user didn't subscribe new boards.kcwu2005-02-251-4/+6
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-241-1/+1
* add mallopt optionvictor2005-02-201-4/+28
* in CRITICAL_MEMORY, alloc water[] when it's needed.in22005-02-191-0/+10
* rewrite few lines.kcwu2005-02-121-4/+3
* Use chomp() instead of assigning '\0' directly.scw2005-02-121-1/+1
* make valgrind happykcwu2005-02-101-0/+10
* Clean up unused code and commented code.scw2005-02-051-3/+0
* replace rand() with random() for better randomnesskcwu2005-02-041-1/+1
* more ctime to ctime4wens2005-01-251-1/+1
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-8/+4
* generic support for ssh hostname via SSH_CLIENT env (with support for ipv6 li...wens2005-01-201-1/+5
* clear bad 'withme' flagskcwu2005-01-171-0/+2
* load assessment data to shmvictor2005-01-161-0/+4
* edit.c: dont use such a lot of strlen()victor2005-01-151-0/+5
* remove unneseccery barrier of poll closingvictor2004-11-181-6/+1
* Backup screen without hole. Save 8~11kb for normal user.kcwu2004-11-061-3/+4
* set socket send buf to 4kbkcwu2004-11-061-0/+2
* 1.fix infinite loopvictor2004-10-211-3/+6
* unsetenv before daemon forkkcwu2004-10-201-3/+3
* strip none-big5 string in user's mindkcwu2004-10-181-0/+1
* strip none-big5 char in user's nickkcwu2004-10-161-1/+1
* strip IAC char in user's nickkcwu2004-10-161-0/+1
* show chess rating not only in debug modekcwu2004-10-161-0/+2
* Add __attribute__((__noreturn__)) for the abort functions.scw2004-10-121-0/+4
* fix last commit, forget to load rating into shmkcwu2004-10-081-0/+1
* remove unused uflag: MIND_FLAG, COLOR_FLAGvictor2004-10-061-1/+1
* merge back from branch victor.solarisvictor2004-09-101-20/+25
* domain_name_query is changed to cidr formatvictor2004-09-031-17/+6
* GuEsT login to be case-insensitivevictor2004-08-251-1/+1
* debug goodpost & bad postptt2004-08-041-14/+0
* Reverting revision 2098 and 2100. These make kernel panic due to out of swap.scw2004-06-291-20/+8
* Parse a little TELNET control string.scw2004-06-291-8/+20
* Some functions in cache are never used in mbbsd.scw2004-06-281-1/+2
* Add statistic program for angel.scw2004-06-201-1/+1
* experiment on setting socket recving buffer size to 1kbkcwu2004-06-181-1/+4
* merge back from victor.screen branchvictor2004-06-121-2/+0
* replace some prints() with outs(),kcwu2004-06-101-1/+1
* fix compile error when PLAY_ANGLE undefinedkcwu2004-06-041-0/+2
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-2/+2
* same typo #ifdef->#ifptt2004-05-301-1/+1
* typo #ifdef -> #if ptt2004-05-301-1/+1
* 1. send etc/foreign_expired_warn only when FOREIGN_REG_DAY > 0 for Ptt3ptt2004-05-271-1/+1
* Merge from scw.angel.scw2004-05-241-2/+18
* s/\\n// foreach vmsg("xxx")victor2004-05-181-1/+1
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-2/+2
* change log_file()ptt2004-04-301-17/+3
* a little bug fixedptt2004-04-241-1/+1
* reoragnize functions ptt2004-04-241-16/+2
* for foreignerptt2004-04-241-2/+2
* integrate igetkey igetch egetchptt2004-04-241-1/+1
* debug of segfault on userlistptt2004-04-231-3/+3
* ugly outputvictor2004-04-211-1/+1
* revert cuser bug fixptt2004-04-211-1/+1
* revert cuser .... bug fixptt2004-04-211-1/+1
* revert cuser from pointer to buffer.ptt2004-04-211-81/+80
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1785 63ad8ddf-47c3-03...Ptt.register@1785ptt2004-04-191-0/+1
* fix if cuser == NULLin22004-04-181-1/+1
* log user's formatptt2004-04-161-11/+11
* \nvictor2004-04-161-1/+1
* wrong format in usiesvictor2004-04-141-2/+2
* passwd change backptt2004-04-071-1/+0
* remove unsigned int for moneyptt2004-04-071-1/+1
* check post perm on demandvictor2004-04-021-0/+5
* idelete the debug messageptt2004-04-011-9/+0
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1659 63ad8ddf-47c3-03...ptt2004-04-011-2/+9
* guest loginptt2004-04-011-1/+1
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1656 63ad8ddf-47c3-03...ptt2004-04-011-0/+1
* fix if cuser is NULLin22004-03-311-4/+4
* debug log_usiesptt2004-03-311-12/+13
* refiningptt2004-03-311-1/+2
* remove mmap of cuserptt2004-03-311-1/+0
* cuser debugptt2004-03-311-5/+5
* add mmap to cuser get ride of passwd_updateptt2004-03-311-92/+81
* faster passwd by lower the lseek.ptt2004-03-301-0/+1
* Fix bug when .boardrc full.scw2004-03-281-1/+1
* delay init_brdbufin22004-03-271-3/+0
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 63ad8ddf-47c3-03...ptt2004-03-121-0/+8
* NO_SYSOP_ACCOUNTin22004-03-081-0/+4
* let no PERM_LOGIN user read the mail before fill the register form.victor2004-03-021-3/+3
* Reduce file I/O on .boardrcscw2004-02-121-0/+1
* warning freein22004-02-091-0/+4
* add some comments for ofo water mode.in22004-01-161-4/+27
* follow the prottype of lib, change GB_CONVERT to CONVERTvictor2004-01-121-4/+4
* dirty hack for OVERLOADBLOCKFDSin22004-01-121-1/+2
* OVERLOADBLOCKFDSin22004-01-091-7/+26
* support utf8 convertion, but still buggyvictor2004-01-031-3/+15
* fix compile error if not define NOKILLWATERBALLin22004-01-031-1/+3
* fix race in write_request()in22004-01-021-16/+20
* NOKILLWATERBALL: dirty hackin22004-01-021-0/+2
* NOKILLWATERBALL: fix bug?in22004-01-021-20/+8
* NOKILLWATERBALL done.in22004-01-011-0/+1
* NOKILLWATERBALL,in22004-01-011-1/+6
* fix bugin22003-12-221-2/+2
* missing commitvictor2003-12-221-14/+4
* fix Ptt_prints bugvictor2003-12-221-4/+14
* use open() instead of fopen() in log_file()in22003-12-071-5/+6
* use rfork()in22003-12-041-0/+4
* #ifdef ASSESSvictor2003-12-021-0/+4
* fix assess, it may be rewritenvictor2003-12-011-0/+10
* 1.#ifdef GQ_CONVERTvictor2003-11-281-2/+9
* merge gb branch backvictor2003-11-281-2/+14
* dont mkdir for each loginvictor2003-10-301-4/+14
* code clean upkcwu2003-09-101-42/+27
* fix the bug with wrong length of fromhostvictor2003-09-101-4/+4
* merge from my branchvictor2003-09-091-1/+1
* admin.c: multiple reason for rejectionvictor2003-09-091-61/+95
* clean upkcwu2003-09-071-6/+3
* fix my problem @@victor2003-09-011-3/+1
* mbbsd.c for SSH_CLIENTvictor2003-09-011-1/+14
* wrong spell and missing :Pvictor2003-08-281-1/+1