Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Problem with asss 1.1.2

 
Post new topic   Reply to topic Printable version
 View previous topic  PYTHON support Post :: Post PlayerAction/ShipChange problems  View next topic  
Author Message
DBeckham
Newbie


Joined: Aug 30 2003
Posts: 14
Offline

PostPosted: Fri Sep 12, 2003 5:23 am    Post subject: Problem with asss 1.1.2 Reply to topic Reply with quote

I cant seem to connect to the new version of asss, it just kicks me right out of (not just the zone) continuum,

Anyone else got this problem?

I tried doing a upgrade, that didnt work, then i tried unzipping to a new folder and running as is, with unmodified conf's & that didnt work.

Heres from the console running asss straight from a extracted asss-1.1.2.tar.gz

running in folder /usr/games/asss-1.1.2 as root

the client downloaded the news file & map as soon as the download was completed of the map it kicked me

Code: Show/Hide
asss 1.1.2 built at Sep 10 2003 01:55:08
Loading modules...
I <cmod> loading C module 'logman' from 'core'
I <cmod> loading C module 'mainloop' from 'core'
I <cmod> loading C module 'config' from 'core'
I <cmod> loading C module 'playerdata' from 'core'
I <cmod> loading C module 'lagdata' from 'core'
I <cmod> loading C module 'net' from 'core'
D <net> listening on 0.0.0.0:5000 (0)
I <cmod> loading C module 'chatnet' from 'funky'
I <cmod> loading C module 'arenaman' from 'core'
I <cmod> loading C module 'mapdata' from 'core'
I <cmod> loading C module 'capman' from 'core'
I <cmod> loading C module 'mapnewsdl' from 'core'
I <cmod> loading C module 'core' from 'core'
I <cmod> loading C module 'cmdman' from 'command'
I <cmod> loading C module 'auth_file' from 'funky'
I <cmod> loading C module 'persist' from 'scoring'
I <cmod> loading C module 'chat' from 'game'
I <cmod> loading C module 'stats' from 'scoring'
I <cmod> loading C module 'basicstats' from 'scoring'
I <cmod> loading C module 'log_console' from 'loggers'
I <cmod> loading C module 'log_file' from 'loggers'
I <cmod> loading C module 'log_sysop' from 'loggers'
I <cmod> loading C module 'clientset' from 'core'
I <cmod> loading C module 'security' from 'security'
I <cmod> loading C module 'banners' from 'game'
I <cmod> loading C module 'game_timer' from 'game'
I <cmod> loading C module 'flags' from 'game'
I <cmod> loading C module 'balls' from 'game'
I <cmod> loading C module 'koth' from 'game'
I <cmod> loading C module 'fm_normal' from 'game'
I <cmod> loading C module 'game' from 'game'
I <cmod> loading C module 'lagaction' from 'core'
I <cmod> loading C module 'cfghelp' from 'command'
I <cmod> loading C module 'filetrans' from 'admin'
I <cmod> loading C module 'quickfix' from 'admin'
I <cmod> loading C module 'jackpot' from 'scoring'
I <cmod> loading C module 'periodic' from 'scoring'
I <cmod> loading C module 'points_kill' from 'scoring'
I <cmod> loading C module 'points_flag' from 'scoring'
I <cmod> loading C module 'points_goal' from 'scoring'
I <cmod> loading C module 'playercmd' from 'command'
I <cmod> loading C module 'admincmd' from 'command'
I <cmod> loading C module 'help' from 'command'
I <cmod> loading C module 'sendfile' from 'funky'
I <cmod> loading C module 'fake' from 'funky'
I <cmod> loading C module 'autoturret' from 'funky'
I <cmod> loading C module 'record' from 'funky'
I <cmod> loading C module 'contenc' from 'security'
I <cmod> loading C module 'encrypt1' from 'core'
D <main> entering main loop
D <mapnewsdl> news file 'news.txt' reread
D <persist> collecting all persistent data and syncing to disk
D <net> [pid=0] new connection from 192.168.0.5:1370
D <core> [pid=0] login request: 'Bug!'
D <core> authenticating with 'auth-file'
I <core> [Bug!] [pid=0] player logged in
D <mapnewsdl> [Bug!] Sending news.txt (transfer 0x8051420)
D <mapnewsdl> finished map/news download (transfer 0x8051420)
D <contenc> [Bug!] asking key data, slot 870
I <arenaman> {0} creating arena
I <flags> {0} arena has flaggame 1 (5-7 flags)
D <balls> {0} ball 0 is at (7840, 9600)
I <balls> {0} arena has 1 balls
I <arenaman> {0} [Bug!] entering arena
D <mapnewsdl> {0} [Bug!] sending map/lvz 0 (2168 bytes) (transfer 0x8062e88)
D <mapnewsdl> finished map/news download (transfer 0x8062e88)
D <flags> {0} flag 0 is at (497, 498) owned by -1
D <flags> {0} flag 1 is at (498, 494) owned by -1
D <flags> {0} flag 2 is at (500, 500) owned by -1
D <flags> {0} flag 3 is at (499, 500) owned by -1
D <flags> {0} flag 4 is at (505, 499) owned by -1
D <flags> {0} flag 5 is at (498, 495) owned by -1
D <flags> {0} flag 6 is at (507, 495) owned by -1
D <game> {0} [Bug!] changed ship/freq to ship 8, freq 8025
I <lagaction> {0} [Bug!] specced for: spike
M <security> {0} [Bug!] security packet not returned
I <net> [Bug!] [pid=0] player kicked for no data (lagged off)
I <arenaman> {0} [Bug!] leaving arena
I <net> [Bug!] [pid=0] disconnected
D <arenaman> {0} arena being destroyed


Ive included my exception.log it made, from the continuum directory.
I cant make head or tail of it though




exception.log - 14.58 KB
File downloaded or viewed 27 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Sep 12, 2003 8:14 am    Post subject: Re: Problem with asss 1.1.2 Reply to topic Reply with quote

Continuum probably blew up because it saw an invalid map or settings. Check to make sure that the map is actually valid and there. As for the setting conf files, it they are stock ones, they should be fine.

DBeckham wrote:
running in folder /usr/games/asss-1.1.2 as root


I recommend you not doing that. ASSS could easily have a buffer overflow, and since it is open source, I wouldn't be surprised if someone found one and could abuse it in the future. So running as root is asking for trouble. Plus, the idea in Linux systems is that you never actually need to run any program as root, unlike in Windows, which can help keep the system safer.

You should create an account that has only write access to asss's directory, so if there ever would be a problem with it in the future, the worst damage is that you could lose just that information, not the whole system.
Back to top
View users profile Send private message Add User to Ignore List Send email
DBeckham
Newbie


Joined: Aug 30 2003
Posts: 14
Offline

PostPosted: Fri Sep 12, 2003 9:23 am    Post subject: Re: Problem with asss 1.1.2 Reply to topic Reply with quote

Mine GO BOOM wrote:
Continuum probably blew up because it saw an invalid map or settings. Check to make sure that the map is actually valid and there. As for the setting conf files, it they are stock ones, they should be fine.


What i faild to say was it was running fine under asss 1.1.0 no problem
Tried upgrading the binaries & running it & got the problem. read from here
then i tried running it straight from a extracted asss-1.1.2.tar.gz extracted into a new folder


Mine GO BOOM wrote:
DBeckham wrote:

running in folder /usr/games/asss-1.1.2 as root


I recommend you not doing that. ASSS could easily have a buffer overflow, and since it is open source, I wouldn't be surprised if someone found one and could abuse it in the future. So running as root is asking for trouble. Plus, the idea in Linux systems is that you never actually need to run any program as root, unlike in Windows, which can help keep the system safer.

You should create an account that has only write access to asss's directory, so if there ever would be a problem with it in the future, the worst damage is that you could lose just that information, not the whole system.


I am fully aware of this & the securty on linux, i have been working on linux for many years now, as for running as root, it saves a lot of hasle, & i am running/testing asss 1.1.2 on a test pc "wile not connected to the internet" on a standalone network & i have no worries from someone trying to abuse a securty bug in asss when i am running asss on my standalone network.

one thing i dont understand is how running it as root would make it more easy to have a buffer overflow hence against a normal user, i am gussing you know about this side of it comapired to me with your programing experance, so there could be somthing i missed. i was running asss 1.10 as root no problems
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Sep 12, 2003 10:44 am    Post subject: Re: Problem with asss 1.1.2 Reply to topic Reply with quote

DBeckham wrote:
[..]one thing i dont understand is how running it as root would make it more easy to have a buffer overflow hence against a normal user, i am gussing you know about this side of it comapired to me with your programing experance, so there could be somthing i missed. i was running asss 1.10 as root no problems


If you get a buffer overflow error in a program, it may become possible to gain access to the user's account on the box, and if that user is root, you are screwed, but if it's a normal user, you have a securtiy breach, but not a total comprimize.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Sep 12, 2003 11:30 am    Post subject: Reply to topic Reply with quote

The idea is this in simple terms. Someone could send a faulty packet to a program, and it overflows a variable, so the data gets placed into the stack. Then, when the function returns, the stack is called back, but since you can place any data there you want, you can have it do something you wouldn't want. Like say do "rm -rf *". For a single user that has write-only in ASSS directory, you lose only ASSS. For root, you lose everything.

Plus, since it is still isn't complete and 100% testing-stable, it could have an error in it somewhere where it may screw around with data. And if you start to use other people's modules, you have a greater chance of someone having a bug in there that will edit files that it shouldn't.

As for the new reason not working: Can you connect into the zone using the VIE client?
Back to top
View users profile Send private message Add User to Ignore List Send email
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Sep 12, 2003 2:26 pm    Post subject: Reply to topic Reply with quote

I'm guessing this is the way to add a user:
http://www.nl.linuxfromscratch.org/lfs/view/stable/chapter05/addinguser.html
(I'm don't know anything about Linux)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
DBeckham
Newbie


Joined: Aug 30 2003
Posts: 14
Offline

PostPosted: Fri Sep 12, 2003 3:15 pm    Post subject: Reply to topic Reply with quote

Mine GO BOOM wrote:
As for the new reason not working: Can you connect into the zone using the VIE client?


If u mean the old client VIE made?, then i dont know, i never had that client
Ive only used continuum,

I was assuming because continuum worked with 1.10 ok then it would work ok with 1.1.2
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Sep 12, 2003 3:53 pm    Post subject: Reply to topic Reply with quote

Get SubSpace 1.35 from www.subspacedownloads.com
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Sep 12, 2003 4:58 pm    Post subject: Reply to topic Reply with quote

Other stuff to try is removing security, lagaction, contenc and encrypt1, use nullenc instead. Looking at the log the problem seems to be with the security module anyway.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
AlphaBoB
Seasoned Helper


Gender:Gender:Male
Joined: Aug 12 2003
Posts: 140
Location: Everywhere you want to be.
Offline

PostPosted: Fri Sep 12, 2003 5:10 pm    Post subject: Reply to topic Reply with quote

You'll stop using root after you are trying to type "rm -r /home/testuser/" but accidently slip off the "/" button and hit enter, and the comp does "rm -r /" to delete your whole system.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun Sep 14, 2003 4:25 am    Post subject: Reply to topic Reply with quote

This turned out to be a bug in some stuff I changed recently to do with ship locking. I'll make a 1.1.3 soon, but in the meantime, use this file: http://sscx.net/asss/core.so.gz or this patch: http://sscx.net/asss/core.patch
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 23 page(s) served in previous 5 minutes.

phpBB Created this page in 1.066895 seconds : 35 queries executed (96.4%): GZIP compression disabled