|
|
|
 |

May 22nd, 2004, 10:17 PM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Re Jotunheim: That illustrates why I really should get some timestamps in that log file
Re the netstat: I can see why you would think that would be the solution. I actually wrote the entire script to do it, and it was first when I attempted to use it I was shown the error of my ways. The problem is that the apache server runs under restricted priviledges, for obvious reasons. One of the things it cannot do is access /proc/net, which is the source of the netstat info. Thinking about the info that resides in /proc/net, I think that this is a good thing . In conclusion, I need sudo 
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

May 22nd, 2004, 11:10 PM
|
Major General
|
|
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Well, /proc/net and netstat are normally world-readable...so unless the thing has been chrooted into being unable to see any of that at all, I'm not entirely sure how you managed to break that.
Then again, I don't futz with Apache much. I should try my hand at messing with your server code, though.
|

May 23rd, 2004, 08:22 AM
|
Second Lieutenant
|
|
Join Date: Nov 2003
Location: houston TX
Posts: 493
Thanks: 32
Thanked 1 Time in 1 Post
|
|
Re: New & raw web based Dominion II game server
Is there any way for mere Users to clear out their old stopped games on mose?
I'd like to clean up after myself, but the mechanism is not obvious.
Also if one can successfully start a game, but it autostops instantly (and again upon "successful" restart)does this imply the server is at its limit?
My new instance of Pain_of_Human is exhibiting this behavior... have I done something bizarre or is the failure message mildly FUBARed?
Thanks to Mose for his lovely site.
Quite the Mensch.
Rabe the Awkward Admin
|

May 23rd, 2004, 09:20 AM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
As for clearing out old games, you can disown them from the welcome page, if you havn't already. At some point, I'll make a prober cleanup method that hides the old games, and maybe even deletes them.
Norfleet: Obviously, your Linux setup isn't hardened. I'm not running an unhardened linux on the open net  As for the permissions for /proc/net, these are mine (provided by the Gentoo hardened folks)
code:
ravn root # ls -ld /proc/net/
dr-xr-x--- 4 root wheel 0 May 23 10:10 /proc/net/
And no, the apache user does NOT belong to the wheel group. The wheel group is of course the special group that can e.g. su to root.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

May 23rd, 2004, 09:39 AM
|
Second Lieutenant
|
|
Join Date: Nov 2003
Location: houston TX
Posts: 493
Thanks: 32
Thanked 1 Time in 1 Post
|
|
Re: New & raw web based Dominion II game server
I tried to modify the name of my new Pain of Human game to avoid the "/" problem, but I don't seem to be able to modify the name even though the field has selectable text.
Am I having a late night brain fart or can game names not currently be changed, even those containing syntax errors?
Rabe the Remedially Reserved
|

May 24th, 2004, 01:44 AM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Games can't be renamed. That is because I made the mistake of using the game name as the key on the mysql databases. It makes it easier to navigate the tables by hand, but makes it much harder to rename games.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

May 23rd, 2004, 04:55 PM
|
Second Lieutenant
|
|
Join Date: Nov 2003
Location: houston TX
Posts: 493
Thanks: 32
Thanked 1 Time in 1 Post
|
|
Re: New & raw web based Dominion II game server
Thanks for your efforts and quick response. New game started.
Is there a option to turn off score graphs?
I couldn't manage it.
Rabe the Re-doer
P.S. What color would you like your shrine when I finally remodel? 
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|