moth/ctf
Curt Hash 3dd84a10f4 In order to make it harder for clients to allow connections from
pollster while blocking everyone else, pollster will now change
IP addresses every minute. The pollster box will need a secondary
interface (default: eth1) in order to do this. Before each poll,
the mac address of the interface is changed to a random address
with a particular vendor code (default: 00:01:c0 (FitPC)) and a
new address is requested via DHCP. All connections made from
pollster are bound to the new address, forcing them out through
the secondary interface. This caused some problems, since the
poll function for cat.cgi previously relied on urllib, which did
not support binding. I ended up having to subclass
http.client.HTTPConnection and override __init__() and connect().
These changes necessitated two new global configuration variables:
	(1) POLL_MAC_VENDOR : the vendor code to use in the random MAC
	(2) POLL_IFACE : the secondary interface to use

I also fixed a bug where an empty string would be interpreted as a
valid team name.
2010-01-22 16:57:45 -07:00
..
__init__.py Moved irc.py into ctf. 2009-10-05 15:30:37 -06:00
config.py In order to make it harder for clients to allow connections from 2010-01-22 16:57:45 -07:00
flagd.py Fix exception in flagd.py:FlagServer.handle_close 2009-10-08 10:31:28 -06:00
game.py Moved irc.py into ctf. 2009-10-05 15:30:37 -06:00
histogram.py more merged changes from server 2010-01-19 15:31:15 -07:00
irc.py Kevin now joins +kevin, not #kevin 2009-10-05 16:51:45 -06:00
points.py more merged changes from server 2010-01-19 15:31:15 -07:00
pointscli.py New ctf python module 2009-10-05 13:33:20 -06:00
pointsd.py Add a little disaster recovery 2009-10-07 08:31:54 -06:00
puzzler.py Makefile - transfer .py files instead of .pyc 2009-10-15 15:22:07 -06:00
register.py Mostly cosmetics 2009-10-08 16:42:26 -06:00
scoreboard.py more merged changes from server 2010-01-19 15:31:15 -07:00
teams.py teams.py now writes the team color to file. 2009-10-07 12:28:33 -06:00