Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Help]Telnet (https://postpacific.loc-online.com/showthread.php?t=8091)

vayidm 18.07.2007 12:18

[Help]Telnet
 
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!

m4rk 18.07.2007 12:21

1st - what amped version are you running?
2nd - are you sure 2012 is completely blocked?

FidoW 18.07.2007 12:31

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.

~Marquis~ 18.07.2007 13:51

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")

FidoW 18.07.2007 14:51

Quote:

Originally Posted by ~Marquis~ (Post 92183)
Changing the name is also possible via the cache.

Im not saying the opposite, i was mention what other ways to do the same exists.

moogle 18.07.2007 16:24

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.

vayidm 18.07.2007 16:59

yea thanks a lot noob :P

WolwX 29.07.2007 15:34

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

Second file is on /login/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 = 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

Alright now you can launch your Login.bat and Gameserver.bat

: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 ;)

moogle 29.07.2007 15:36

neat stuff, most likely all the people here will bash you about l2j tho >_>
they just cant ignore it.

Truffe 29.07.2007 19:02

He needs help about L2OFF, not L2J.

moogle 29.07.2007 19:03

ive already fixed it for him. my post explains how...

Darklink 29.07.2007 19:04

yup l2j and l2off are two different things :P

WolwX 29.07.2007 19:05

So my helps are not welcome if I share my knowledges about L2J and my custom clients modif :confused: ...

I'm feeling that's since I have started to post on this forum ...

moogle 29.07.2007 19:06

they all hate l2j here.

Truffe 29.07.2007 19:08

I don't have anything against L2J.
But someone who asks for help with L2Off will find L2J's infos quite useless...

WolwX 29.07.2007 19:22

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 ....

Darklink 29.07.2007 20:15

yea, i am sure ur share is still very useful :D


All times are GMT. The time now is 15:25.