summaryrefslogtreecommitdiffstats
path: root/daemon
Commit message (Collapse)AuthorAgeFilesLines
* * set svn properties and update commentspiaip2009-06-131-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add timeout to logindpiaip2009-06-131-3/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make definition more verbosepiaip2009-06-121-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * ultilize AYT in logind piaip2009-06-121-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs: move util_passwd.o to cmbbs/passwd.c.piaip2009-06-122-9/+8
| | | | | | | | * note: in order to workaround the buggy/dirty synchronization hacks, changed 'passwd_query' and 'passwd_update' to passwd_sync_*. * util/* and daemon/* use directly passwd_query/update, and mbbsd should use passwd_sync_*. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * logind: add resolve_garbage() and refine messagespiaip2009-06-121-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs/cache.c: we don't need 'util_cache.o' anymore! simply common ↵piaip2009-06-123-3/+3
| | | | | | bbs library (libcmbbs.a). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix previous checkin - forgot to remove comment -_-piaip2009-06-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: some API/logs (eg, incorrect password attempts) require cwd=BBSHOMEpiaip2009-06-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add argument for log outputwens2009-06-111-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add log prefixes and refine initialize/daemonize sequencepiaip2009-06-111-32/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move SIGHUP handler after daemonizewens2009-06-111-3/+8
| | | | | | | Call event_reinit after daemonize (for kqueue) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make port binding to standalone configuration fine (etc/bindports.conf)piaip2009-06-111-28/+64
| | | | | | | * refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * force IDLEN only in CONVERT mode (for backward user behavior compatibility)piaip2009-06-111-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine out of service messagespiaip2009-06-111-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * after checking visio, we found we rejected non-ascii in password...piaip2009-06-111-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add opened fd counterpiaip2009-06-111-9/+13
| | | | | | | * fix wrong closed fds git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4555 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Increase maximum number of open fileswens2009-06-111-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4551 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add -v as verbose message outputpiaip2009-06-111-11/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine logind: deliver port info and add more keyspiaip2009-06-101-9/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * logind: add simple cursor key editing (reduced keyset)piaip2009-06-101-34/+186
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * support non-ascii in passwords(backward compatibility)piaip2009-06-101-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix defaul minimal terminal sizepiaip2009-06-101-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: some messages (eg, max guest alert) has reverse attribute in login ↵piaip2009-06-101-0/+10
| | | | | | daemon git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4533 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * sendmsg() with ancillary on Linux seems like requiring unix domain socket ↵piaip2009-06-102-2/+3
| | | | | | original path, even if the socket was already opened. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * port counting error (wrong indented if-block )piaip2009-06-091-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make tunnel file with BBS user permissionpiaip2009-06-091-10/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add ~/etc/logind_ports as bind list.piaip2009-06-091-24/+89
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * the long-waited high performance login daemonpiaip2009-06-093-0/+1186
| | | | | | | * works only with tunnel mode mbbsd git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize ip->desc lookup loopkcwu2009-05-241-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix Makefile and bind interfacewens2008-11-014-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix POP3 error responsewens2008-08-211-14/+17
| | | | | | | | Add daemonize flag Fix hanging connection git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add CAPA commandwens2008-08-211-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't close all fds, do it in daemon for more flexibilitywens2008-08-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Half complete POP3 daemon, only supports login.wens2008-08-212-0/+312
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4400 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Common daemonize functionwens2008-08-211-20/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reorder libraries.wens2008-06-282-4/+5
| | | | | | | Use time() in fhdr_stamp.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up ccache.wens2008-06-172-5/+5
| | | | | | | Add CXXFLAGS git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Unused variablewens2008-04-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4123 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Missed this in last commitwens2008-04-101-8/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4122 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change tobind/toconnect interface.wens2008-04-106-38/+23
| | | | | | | **OUTTACACHE is now UTMPD** git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Avoid memory and fd leak.wens2008-04-091-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use reentrant strtok_rwens2008-04-091-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean buffer first.wens2008-04-081-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix sending wrong ipwens2008-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Added fromd test clientwens2008-04-084-4/+44
| | | | | | | Clean headers git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New daemon: fromdwens2008-04-084-0/+242
| | | | | | | Move source description lookup out of SHM git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4090 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable building utmpserverpiaip2008-03-312-8/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.piaip2008-03-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) directory layout structure finetunepiaip2008-03-268-0/+1498
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4022 63ad8ddf-47c3-0310-b6dd-a9e9d9715204