Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOS] crashes server dopewars-1.5.9 #26

Closed
benmwebb opened this issue Apr 23, 2004 · 4 comments
Closed

[DOS] crashes server dopewars-1.5.9 #26

benmwebb opened this issue Apr 23, 2004 · 4 comments

Comments

@benmwebb
Copy link
Owner

Hello, today i began learning your protocols and was testing a small test
client and it seems that it is real easy to crash the server, example
follows:

dopewars -S
[20:46:28] 0: dopewars server version 1.5.9 ready and waiting for connections on port 7902.

telnet localhost 7902
Trying 127.0.0.1...
Connected to localhost.
[20:46:43] 2: got connection from 127.0.0.1
Escape character is '^]'.
^^Ar1111111
^^AcTest
[20:47:05] 2: Test joins the game!
^^Ar1111111
^Ak1.5.9^8^4^12^bitch^bitches^gun^guns^drug^drugs^%m-%d-%Y^0^the Loan
Shark^the Bank^Dan's House of Guns^the pub^1$^
^Al0^D20000^10000^
^Al0^CBaretta^3000^4^5^
^Al1^C.38 Special^3500^4^9^
^Al2^CRuger^2900^4^4^
^Al3^CSaturday Night Special^3100^4^7^
^Al0^BAcid^1000^4400^
^Al1^BCocaine^15000^29000^
^Al2^BHashish^480^1280^
^Al3^BHeroin^5500^13000^
^Al4^BLudes^11^60^
^Al5^BMDA^1500^4400^
^Al6^BOpium^540^1250^
^Al7^BPCP^1000^2500^
^Al8^BPeyote^220^700^
^Al9^BShrooms^630^1300^
^Al10^BSpeed^90^250^
^Al11^BWeed^315^890^
^Al0^ABronx^
^Al1^AGhetto^
^Al2^ACentral Park^
^Al3^AManhattan^
^Al4^AConey Island^
^Al5^ABrooklyn^
^Al6^AQueens^
^Al7^AStaten Island^
^AC
^AJ2000^5500^^100^100^0^1^0^1^12^1984^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^^^^^^^^^^^^^8
^AK1270^20879^^9882^^^^1146^325^1050^^874^

then i just hit enter:
Connection closed by foreign host.

telnet localhost 7902
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

server = dead

Reported by: mdamaged

@benmwebb
Copy link
Owner Author

Logged In: YES
user_id=69439

Thanks for the bug report - I can reproduce your bug here.
Will let you know when I've fixed it. ;)

Ben

Original comment by: benmwebb

@benmwebb
Copy link
Owner Author

  • assigned_to: nobody --> benwebb

Original comment by: benmwebb

@benmwebb
Copy link
Owner Author

Logged In: YES
user_id=69439

Yes - there was a trivial bug in src/message.c. Now fixed in
current CVS.

Original comment by: benmwebb

@benmwebb
Copy link
Owner Author

  • status: open --> closed-fixed

Original comment by: benmwebb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant