![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 64
|
Hey
Is there a way to block people from hacking your server via telnet. Cause seems some could actually run scripts and then chnage my name, kick me and some other stuff Anyone know how i could block this?Btw i have got firewall and i am blocking port 2012. Thank you! |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
1st - what amped version are you running?
2nd - are you sure 2012 is completely blocked? |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
The only way to do that is with CacheD interactive port (2012).
Change name possible with SQL injection but kick a char... no way except from cached or a GM inside the game. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
Windows firewall open automaticly the 2012 port when you start for the first time the cache. Anybody can send packet to the cache and do almost what he wants. Changing the name is also possible via the cache.
#4 ChangeCharacterNamePacket("dSS") |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jul 2007
Posts: 23
|
yeaaa i was connecting through cached on 2012, this dummy didnt close it but i showed him how :P. anyone else reading this heres how to do it.
when you run the servers and windows firewall says unblock this program, click the keep blocking for all. now when they are all running, goto the firewall and add 2 rules. 1) Name: L2Server Port: 7777 or whichever one you set for your settings, for most 7777 will do. 2) Name: L2AuthD Port: 2106 or whichever one you hexed engine.dll to, its 2106 by default. Now only those ports will be open even if the server opens other ports no one will be able to access it. |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2006
Posts: 64
|
yea thanks a lot noob :P
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2007
Posts: 20
|
Hello I don't know if that's can help someone here cause I'm not sure there is most user of L2J but I try anyway =>
:arrow: First of all active the Telnet on your Windows To do that you need enter in the Services parameters => two way to enter on 1st way go on your "Configuration Panel" and on your "Administration Tools" and choose "Services" 2nd way just go on your "run" box and type "services.msc" When you are on the "Services" window find "Telnet" and double click on his line to open a parameter box On this box you need to change the launch option and choose "Automatic" to be sure he start with your computer and of course active it clicking on the "Launch" switch. Perhaps you will have an error with the launch so just look on the "Dependence" parameter of you Telenet parameter box and verify that all the services named here are already launched Now Telnet is ok let's go on the configuration of L2J :arrow: Second configuration of L2J To active properly the telnet with your L2J you need change the parameter of 2 L2J files First file is on /gameserver/config/ = telnet.properties Code:
#Telnet is disabled by default. EnableTelnet = True #PUT HERE ANY PORT YOU WANT BUT REMEMBER YOU #NEED ONE NOT ALREADY USED BY ANOTHER PROGRAM #AND OF COURSE REMEMBER TO OPEN IT #This is the port telnet server will bind to StatusPort = 7778 #If the following is not set, a random password is generated on server startup. StatusPW = yourpasswordhere #This list can contain IPs or Hosts of clients you wish to allow. #Hosts must be resolvable to an IP. #The format is as follows: #ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3 #Make sure there are no spaces between hosts/ips ListOfHosts = 127.0.0.1,localhost Code:
#Telnet is disabled by default. EnableTelnet = True #PUT HERE ANY PORT YOU WANT BUT REMEMBER YOU #NEED ONE NOT ALREADY USED BY ANOTHER PROGRAM #AND OF COURSE REMEMBER TO OPEN IT #This is the port telnet server will bind to StatusPort = 2107 #If the following is not set, a random password is generated on server startup. StatusPW = yourpasswordhere #This list can contain IPs or Hosts of clients you wish to allow. #Hosts must be resolvable to an IP. #The format is as follows: #ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3 #Make sure there are no spaces between hosts/ips ListOfHosts = 127.0.0.1,localhost :arrow: Third Connection at L2J's Telnet Go in your windows start and go in the section "run" box and type "telnet" no you are in the window of Telnet but think one thing : there is two Telnet connection possible one for the Login and one for the Gameserver. To login to your l2j telnet type open hostname/ip port exemples : open localhost 7778 or open 1xx.xx8.0.50 2107 (choose the good port as set in the telnet.properties files depend if you want connect to Login or to Gameserver) then for the Login's telnet you need use your login information to your server Login: youradminloginingame Password: youradminpasswordingame and for the Gameserver's telnet you need use the password put in the telnet.properties of you /gameserver/config/ Password: passwordsetontelnet.properties Okayy Now you are done. just type in the telnet window "help" to show all you can do with Telenet Now Just Enjoy
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jul 2007
Posts: 23
|
neat stuff, most likely all the people here will bash you about l2j tho >_>
they just cant ignore it. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
He needs help about L2OFF, not L2J.
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jul 2007
Posts: 23
|
ive already fixed it for him. my post explains how...
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Jul 2007
Posts: 38
|
yup l2j and l2off are two different things :P
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jun 2007
Posts: 20
|
So my helps are not welcome if I share my knowledges about L2J and my custom clients modif
...I'm feeling that's since I have started to post on this forum ... |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jul 2007
Posts: 23
|
they all hate l2j here.
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
I don't have anything against L2J.
But someone who asks for help with L2Off will find L2J's infos quite useless... |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Jun 2007
Posts: 20
|
Lol sorry if I don't have find something telling the request was for L2Off not for L2J ...
At less this guy have found the right help and I wish some people will found help for L2J too cause when they will use the search button for telnet, they will find for sure that's post called simply [Help]Telnet .... |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jul 2007
Posts: 38
|
yea, i am sure ur share is still very useful
|
|
|
|
|