Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ AmpeDx64 (https://postpacific.mmorpg-game.online/showthread.php?t=5763)

poltomb 26.09.2006 16:10

that appears to be the case.

FidoW 26.09.2006 16:33

Quote:

Originally Posted by kin (Post 68567)
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

Sham 26.09.2006 16:35

IIuDaPaCbl !!!

kin 26.09.2006 17:22

Quote:

Originally Posted by FidoW (Post 68572)
Not, i try that and isnt kicked

That's bad.
Quote:

Originally Posted by Sham (Post 68573)
IIuDaPaCbl !!!

/rus
Ты зарегился только чтоб это сказать?
/rus

HF 26.09.2006 17:34

Quote:

Originally Posted by kin (Post 68576)
/rus
Ты зарегился только чтоб это сказать?
/rus

if first baguser and his openition for fix :)
He confirmed this - fix work perfect :)

cypher 26.09.2006 17:45

Quote:

Originally Posted by FidoW (Post 68572)
Not, i try that and isnt kicked

Interesting ... but thinking what's the point in using IPFilter=true with no IPs defined ...

FidoW 26.09.2006 18:26

Quote:

Originally Posted by cypher (Post 68579)
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

kin 26.09.2006 18:28

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 26.09.2006 18:32

Quote:

Originally Posted by FidoW (Post 68580)
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

Dubie 26.09.2006 18:49

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

poltomb 26.09.2006 19:17

Quote:

Originally Posted by kin (Post 68581)
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)

kin 26.09.2006 19:22

No, if you login as normal user and only then make yourself the GM, that will pass.

SoaPy 26.09.2006 21:00

Quote:

Originally Posted by Dubie (Post 68583)
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.

mcrabben7 26.09.2006 21:05

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.

cypher 26.09.2006 21:30

Quote:

Originally Posted by mcrabben7 (Post 68595)
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

mcrabben7 26.09.2006 21:48

Quote:

Originally Posted by cypher (Post 68598)
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 :D

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.

kok 27.09.2006 06:16

Quote:

Originally Posted by cypher (Post 68598)
Well

Once again many thanks, cypher !

Squid 27.09.2006 14:44

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!

Zuko 27.09.2006 15:13

122 work good after first start and now about 9 hours. No server isues.

sab- 27.09.2006 16:47

Thanks, cypher!
Impressive work! Excellent!

LexxB 27.09.2006 17:26

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

hel 27.09.2006 18:30

same problem

top-gear 27.09.2006 18:32

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

paul 27.09.2006 19:30

/// is client side theirs no way it could check that nor would it need too.

TuMBLer 27.09.2006 20:32

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


All times are GMT. The time now is 17:36.