Home | History | Annotate | Download | only in huntd
History log of /src/games/hunt/huntd/answer.c
RevisionDateAuthorComments
 1.24  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.23  30-Mar-2014  dholland Use bool (not int) for a boolean return type.
 1.22  30-Mar-2014  dholland Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.
 1.21  30-Mar-2014  dholland Remove all the conditional compilation for INTERNET. Now you can run
this on either a local or internet socket (including via inetd on
either) and it will, or is supposed to, DTRT.

Does not really support ipv6 yet, but in a number of places will no
longer vomit or exhibit UB if it encounters an ipv6 address.
 1.20  30-Mar-2014  dholland Clean up the names of the various pieces of socket apparatus.
Systematic naming is easier to follow...
 1.19  29-Mar-2014  dholland fix non-INTERNET build
 1.18  29-Mar-2014  dholland Reduce ifdefs by making a common function to talk to either syslogd or
stderr.
 1.17  29-Mar-2014  dholland don't declare own boolean type
 1.16  27-Aug-2009  dholland branches: 1.16.6; 1.16.12;
u_int32_t -> uint32_t
 1.15  12-Aug-2009  dholland sprinkle static and prune some dead code
 1.14  04-Jul-2009  dholland Whitespace.
 1.13  04-Jul-2009  dholland ANSIfy function declarations.
 1.12  04-Jul-2009  dholland Remove a pile of bogus casts. One object file diff, crosschecked and
found harmless.
 1.11  28-Jun-2009  dholland sprintf -> snprintf
 1.10  28-Jun-2009  dholland Fix possible remote DoS of a running hunt game, and prevent a possible
theoretical attack involving >= 1 billion ammo.
 1.9  28-Jan-2008  dholland branches: 1.9.10; 1.9.14;
clean for WARNS=4
 1.8  09-May-2006  mrg branches: 1.8.4; 1.8.10; 1.8.14;
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.7  05-Nov-2004  dsl Add (unsigned char) cast to ctype functions
 1.6  11-Jun-2003  wiz Merge with v20030416.
 1.5  26-Feb-2003  jdc Make this work on sparc64 (don't use long and assume sizeof(long) = 4).
Tested against a LE32 system (arm).
 1.4  20-Sep-2002  mycroft select() -> poll()
Also, turn off talk announcements; it's a wretched hack.
 1.3  10-Oct-1997  lukem Yet Another Monster Commit:
- WARNSify
- getopt returns -1 not EOF
- select() uses an fd_set, not int/long; modify code to use FD_* et al
instead of direct bitwise operations
- in otto.c::look (renamed to ottolook() to prevent name clash), the
case WEST section had a 'goto cont_east', instead of 'goto cont_west'.
(picked up by WARNS=1, because cont_west was an unused label because
of this typo). probably meant that otto got lost in the maze :-/
- deprecate register, convert bcmp() -> memcmp()
 1.2  04-Oct-1997  mrg fix compiler warnings on the alpha.
 1.1  04-Oct-1997  mrg branches: 1.1.1;
Initial revision
 1.1.1.2  11-Jun-2003  wiz Import of hunt as of 2003-04-16 from ftp://ftp.cgl.ucsf.edu/pub/hunt.shar.Z,
with files moved to proper subdirs.
Changes since 19930717: BSD licensed, and minimal fixes.
 1.1.1.1  04-Oct-1997  mrg hunt version 1993-07-17
 1.8.14.1  28-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #1330):
games/hunt/huntd/answer.c: revision 1.10
Fix possible remote DoS of a running hunt game, and prevent a possible
theoretical attack involving >= 1 billion ammo.
 1.8.10.1  23-Mar-2008  matt sync with HEAD
 1.8.4.1  28-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #1330):
games/hunt/huntd/answer.c: revision 1.10
Fix possible remote DoS of a running hunt game, and prevent a possible
theoretical attack involving >= 1 billion ammo.
 1.9.14.1  28-Jun-2009  snj branches: 1.9.14.1.2;
Pull up following revision(s) (requested by dholland in ticket #834):
games/hunt/huntd/answer.c: revision 1.10
Fix possible remote DoS of a running hunt game, and prevent a possible
theoretical attack involving >= 1 billion ammo.
 1.9.14.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.9.10.1  28-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #834):
games/hunt/huntd/answer.c: revision 1.10
Fix possible remote DoS of a running hunt game, and prevent a possible
theoretical attack involving >= 1 billion ammo.
 1.16.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed