![]() |
[Sharing] Changing default port of your l2server.exe
Well It occured to me, the l2server is always running at port 7777 and well someone posted if he can change that in the help section so i figured why not experiment a bit :P
And success! :D you need of course to hex the l2server.exe so here goes: find address: .0052BD65 bold part is the default port (7777) : 68611E0000 you can change it to whatever you like :P (use windows calculator to convert decimal -> hexadecimal) I changed it to: 8888 (HEX: 22B8) (edit to: B822) so like this: 68B8220000 This can prevent unwanted site connections (that show server status) so no more connection flooding at your l2server (if no one knows your l2 port, he has to search to find it, this prevents a lot of unwanted connections!) This can also prevent connection from bots at some level :) Change the entry of your server in the lin2db, server table to outerport you selected :D so that the authd knows the new server port and people can connect from your client! http://www.lineage2.gr/shots/success.jpg |
I forgot you also have to change your l2.ini
and change the port from 7777 to whatever you chose for your server :) |
|
ustas maybe u posted the same thing
i dun know if this 12bd60 is the same as this .0052BD60 (in addressing) since i dont know a lot about hexing and i am doing my first steps i thought i share my success in hexing with all the people that might be interested in this and since i did not understand your post, it was just as a hint to me so i actually searched in the decoded file for this: 7777 -> 611E or 1E61 i found a couple of addresses containing these hex values i failed at first but then i succeded at last to changing the port... dont spoil it for me :( |
Only problem is that it takes a second to decode the l2.ini and get port from that.
|
newbies =)
UserPort=<whatever port you want> in l2server.ini |
In L2walker is hardcoded 7777 as game server port and cannot be changed. (Find me someone that can disassemble L2Walker...)
Will this be then a possible solution together with L2Player to avoid L2walker (at least) to connect to the server? L2.ini can be modified by anybody, but L2Walker cant. |
Quote:
|
Of course it can! Because port is not hardcoded, but being get from AuthD.
|
Ok 3 thinks, l2walker gets the l2server port from the authd,
so maybe we should change the authd default port and maybe patch the client Second every one assumes that l2server.exe is running at 7777 so expect all attacks even DDOS to that port Third i found out that you dont need to modify the port on l2.ini since the client gets the server port from authd. But eitherway it never hurts not to run at the default port... cause you minimize as much as possible the attacks mainly from newbies and script kiddies :P See my point? ps. Didn't see any value in l2server.ini :P so i figured it cannot be changed from there but anyways I achieved something I thought I could never do :P |
Quote:
|
mmmmmmmm
when you connect with client to server just : cmd>netstat -n and IP and active ports will be displayed in the console window.... wouldnt this just show up the port you are using w/e it is ? ps.: not my intemption to flame.Just trying to colaborate all i can =) |
Quote:
i guess you dont know what search is also :) |
both client and walker redirects you automatically to the new port. you can't prevent anything by changng the port
|
| All times are GMT. The time now is 21:45. |