Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.09.2006, 16:10   #101
poltomb
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

that appears to be the case.
poltomb is offline  
Old 26.09.2006, 16:33   #102
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by kin View Post
Great fix for builders!!! First time I tried to login with my GM it just kicked me out because of this:
Code:
[Builder]
UseIPFilter=true
; list of allowed IPs or host names, delimited by ";"
; i.e.: 127.0.0.1;xx.xx.xx.xx;foo.no-ip.com
IP=
If you become the GM in the game (I mean some chitters), will it kick you out?
Not, i try that and isnt kicked
FidoW is offline  
Old 26.09.2006, 16:35   #103
Sham
Архивный участник
 
Join Date: Sep 2006
Posts: 1
Default

IIuDaPaCbl !!!
Sham is offline  
Old 26.09.2006, 17:22   #104
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Quote:
Originally Posted by FidoW View Post
Not, i try that and isnt kicked
That's bad.
Quote:
Originally Posted by Sham View Post
IIuDaPaCbl !!!
/rus
Ты зарегился только чтоб это сказать?
/rus
kin is offline  
Old 26.09.2006, 17:34   #105
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by kin View Post
/rus
Ты зарегился только чтоб это сказать?
/rus
if first baguser and his openition for fix
He confirmed this - fix work perfect
HF is offline  
Old 26.09.2006, 17:45   #106
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Quote:
Originally Posted by FidoW View Post
Not, i try that and isnt kicked
Interesting ... but thinking what's the point in using IPFilter=true with no IPs defined ...
cypher is offline  
Old 26.09.2006, 18:26   #107
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by cypher View Post
Interesting ... but thinking what's the point in using IPFilter=true with no IPs defined ...
I have IPs defined... i was making test... AmpeDx64 update config from ini so is so fast test that....

I add IP.. and try to login with a builder ... can log in good
I delete IP ... and try to login with a builder.. .cant log in
Now I add my IP again... and login with a builder... now... i update IP filter with other IP, i deleted mine... and builder that is logged is not kicked, he can use all commands... but i cant login with another builder... so... i dont try directly to set builder ingame... only updating IP... but if a builder is logged from a not authorized IP.. isnt kicked
FidoW is offline  
Old 26.09.2006, 18:28   #108
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

I just copied a piece of your Readme
For me it works only when I go to the server first and enter my IP before logging as I don't have fixed IP.
kin is offline  
Old 26.09.2006, 18:32   #109
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Quote:
Originally Posted by FidoW View Post
I have IPs defined... i was making test... AmpeDx64 update config from ini so is so fast test that....

I add IP.. and login with a builder ... can log in good
I delete IP ... and login with a builder.. .cant log in
Now I add my IP again... and login with a builder... now... i update IP filter with other IP, i deleted mine... and builder that is logged is not kicked, he can use all commands... but i cant login with another builder... so... i dont try directly to set builder ingame... only updating IP... but if a builder is logged from a not authorized IP.. isnt kicked
If you logged already, it won't kick you anyway. My point was if you logged and using //setbuilder make GM another person. What would happen to that person. I believe it won't be kicked! And that makes "IPFilter=true" usable only if someone wants to log with GM rights only
kin is offline  
Old 26.09.2006, 18:49   #110
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

Well, if you make someone a GM ingame they need to relog to have it kick in.
So they would get checked at login.
If they have a hack/exploite to get GM status by injecting or what ever it would get them on login.
So it should be fine I think.
I could be wrong tho. lol
Dubie is offline  
Old 26.09.2006, 19:17   #111
poltomb
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

Quote:
Originally Posted by kin View Post
I just copied a piece of your Readme
For me it works only when I go to the server first and enter my IP before logging as I don't have fixed IP.
For al lthe people who dont have a fixed IP, you can get a static domain from no-ip.org that points to your address. But you will still need to update your ip at no-ip.org (this can be handy for people who dont have easy access to the server files)
poltomb is offline  
Old 26.09.2006, 19:22   #112
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

No, if you login as normal user and only then make yourself the GM, that will pass.
kin is offline  
Old 26.09.2006, 21:00   #113
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Quote:
Originally Posted by Dubie View Post
Well, if you make someone a GM ingame they need to relog to have it kick in.
So they would get checked at login.
If they have a hack/exploite to get GM status by injecting or what ever it would get them on login.
So it should be fine I think.
I could be wrong tho. lol
no dubie, dont need to restart to get access to the gm commands, for example if i do //setbuilder bla bla on a char, he dont have instantly the powers, but he dont need to restart, if he died is the same effect, he will return to the village and will have all the powers.
SoaPy is offline  
Old 26.09.2006, 21:05   #114
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Nah, in-game GM hack is possible most likely. Send the right packets and it would work I bet.

Problem is, checking every user's IP can be done, but it's a lot of CPU time. But if cypher made a thread check users constantly, EVERY user on the server, it would work. Another thing is to inject a CHeckBuilderIP() function at the GMCommand handler, which links to every GM command. Not 100% sure if it'd stop GM command packet injections, but it'd stop commands at least. He could then make it kick them if they tried to use a GM command and weren't GMs, or if they were GMs without a proper IP.

Just rambling. I was thinking of doing a DLL just for GM IP protections and was going to start on it, but I guess cypher beat me to the punch. I have been busy with school, anyways, meh.

Good luck with all the future stuff. I'd be interested to see how you did some of the fixes, but I doubt you'd share code :P Oh well, good job anyways. Sharing a free DLL is still awesome.
mcrabben7 is offline  
Old 26.09.2006, 21:30   #115
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Quote:
Originally Posted by mcrabben7 View Post
Nah, in-game GM hack is possible most likely. Send the right packets and it would work I bet.

Problem is, checking every user's IP can be done, but it's a lot of CPU time. But if cypher made a thread check users constantly, EVERY user on the server, it would work. Another thing is to inject a CHeckBuilderIP() function at the GMCommand handler, which links to every GM command. Not 100% sure if it'd stop GM command packet injections, but it'd stop commands at least. He could then make it kick them if they tried to use a GM command and weren't GMs, or if they were GMs without a proper IP.

Just rambling. I was thinking of doing a DLL just for GM IP protections and was going to start on it, but I guess cypher beat me to the punch. I have been busy with school, anyways, meh.

Good luck with all the future stuff. I'd be interested to see how you did some of the fixes, but I doubt you'd share code :P Oh well, good job anyways. Sharing a free DLL is still awesome.
Well, checking the IPs (not re-resolving the hosts) on each BuilderCmd should not be generating any sensible cpu usage or lag .. already tested on old C3. Maybe I'll add the packet to filter chain and a flag in ini for those who don't like it, we'll see.

You're right, not going to post the src anytime soon, but still, I also didn't encrypt the binary ... those really passionate may find whatever they're looking for

Cheers
cypher is offline  
Old 26.09.2006, 21:48   #116
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Quote:
Originally Posted by cypher View Post
Well, checking the IPs (not re-resolving the hosts) on each BuilderCmd should not be generating any sensible cpu usage or lag .. already tested on old C3. Maybe I'll add the packet to filter chain and a flag in ini for those who don't like it, we'll see.

You're right, not going to post the src anytime soon, but still, I also didn't encrypt the binary ... those really passionate may find whatever they're looking for

Cheers
I meant if you made a thread and had a list of all logged users, and checked them in that thread. Be laggy I bet! Builder command method is better :P That was my 2nd idea in that post

Yea, if I really wanted I could disasm your DLL I suppose. I did it to Linex and ZZcat's when I first started ^^ Good times, lol.
mcrabben7 is offline  
Old 27.09.2006, 06:16   #117
kok
Архивный участник
 
Join Date: Jun 2005
Posts: 39
Default

Quote:
Originally Posted by cypher View Post
Well
Once again many thanks, cypher !
kok is offline  
Old 27.09.2006, 14:44   #118
Squid
Архивный участник
 
Join Date: May 2005
Posts: 123
Default

Hi all! I'm have problem with patch build 122. Server crash after 10-15 min.
I'm rolling back to build 120 - server work perfect

Check plz.

P.S. cypher, thanks for work!
Squid is offline  
Old 27.09.2006, 15:13   #119
Zuko
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

122 work good after first start and now about 9 hours. No server isues.
Zuko is offline  
Old 27.09.2006, 16:47   #120
sab-
Архивный участник
 
Join Date: Jul 2005
Posts: 36
Default

Thanks, cypher!
Impressive work! Excellent!
sab- is offline  
Old 27.09.2006, 17:26   #121
LexxB
Архивный участник
 
Join Date: Feb 2006
Posts: 3
Default Problem

First of all, Great work, thanks Cypher!

I have a little problem.
When i'm trying to cancel char deleting, server is disconecting me.

Sry for my eng
LexxB is offline  
Old 27.09.2006, 18:30   #122
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

same problem
hel is offline  
Old 27.09.2006, 18:32   #123
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Thanks I'll try it on the next server restart. Btw you can just add an option, if someone uses a builder command // or /// to check the ips on the list. if not on the list = kick and log. it wouldnt cause a lag problem i suppose
top-gear is offline  
Old 27.09.2006, 19:30   #124
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

/// is client side theirs no way it could check that nor would it need too.
paul is offline  
Old 27.09.2006, 20:32   #125
TuMBLer
Архивный участник
 
Join Date: Apr 2005
Posts: 127
Default

I set up IPFilter like

Code:
[Builder]
UseIPFilter=true
; list of allowed IPs or host names, delimited by ";"
; i.e.: 127.0.0.1;xx.xx.33.*;xx.xx.*.*;foo.no-ip.com
IP=127.0.0.1;127.0.0.2;myname.no-ip.org;myname1.no-ip.org
and i was kicked with
myname.no-ip.org address
TuMBLer is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:58.