NetPro: Packet Analysis and Visualization tool

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: NetPro: Packet Analysis and Visualization tool

Post by Sdw »

Yeah there is changes in GC, savor didn't update yet but he has it all ready
AlexZ
Posts: 1
Joined: Sun Oct 08, 2017 6:00 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by AlexZ »

I have crack my brain. Please help me. I wish to use it on privet server but i always have mistake. My configuration:
Login server IP: 185.177.113.25:55555
GS server IP: 185.117.153.87:7788
My serviceconfig.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<sockets xmlns="http://www.l2emu-unique.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.l2emu-unique.net schemata/svcfg.xsd">

	<gameWorldSockets> <!-- injected into ServerList -->
		<gameWorldSocket clientAddressPrefix="0.0.0.0/0" ip="127.0.0.1" port="7776" />
	</gameWorldSockets>

	<authorizationSockets>
		<!-- Example local authorization daemon (login server), listening on port 2107 -->
		<!-- Example: NA -->
		<authorizationSocket>
			<listen ip="127.0.0.1" port="1779" />
			<service host="185.177.113.25" port="55555" />
		</authorizationSocket>
	</authorizationSockets>

</sockets>
To transfer traffic to NetPro i use Proxifier/ Proxy 127.0.0.1:1779 and rule to transfer all traffic from l2.bin from ports 55555;7788 to 127.0.0.1:1779.
This is in NetPro

Code: Select all

={ Admin UI }
[2017-10-09 08:17:31.469 +0300] INFO    Loader: Initializing...
[2017-10-09 08:17:45.218 +0300] INFO    Loader: Done.
[2017-10-09 08:18:43.987 +0300] INFO    ConnectorThread: LS Proxy: Connecting to /185.177.113.25:55555
-----------------------------------------------------------------------------------------------------------------------------------={ LS Proxy /185.177.113.25 }
[2017-10-09 08:18:44.097 +0300] INFO    EntityInfoCache: SECC count: 1 for /185.177.113.25:55555
[2017-10-09 08:18:44.189 +0300] INFO    EntityInfoCache: SECC count: 2 for /185.177.113.25:55555
[2017-10-09 08:18:44.280 +0300] WARNING util.concurrent.RunnableStatsManager$MethodStat.handleStats(): proxy.ui.savormix.io.AutoLogger - execution time: 20msec
[2017-10-09 08:18:45.099 +0300] INFO    FloatingPacketManager: Initialized.
[2017-10-09 08:18:54.477 +0300] INFO    EntityInfoCache: SECC count: 1 for /185.177.113.25:55555
This is in Proxifier

Code: Select all

[10.09 08:18:44] L2.bin - 185.177.113.25:55555 error : Could not connect through proxy WPF - Warning : proxy server returned an unexpected replay -70 Warning : proxy server returned an unexpected replay. Proxy server cannot establish a connection with the target.
Please help me.
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

Tell us What can we do to sniff packets in localhost (127.0.0.1) (LoginServer+GameServer+Client+Your application) in the same machine, because i'm starting to thing that no work...
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Default config is for localhost.

USAGE.txt should give you a very quick start.
You can also look into README.txt for a more in-depth look at how the application is implemented.

More details are necessary to pinpoint the issue why it doesn't work for you. NP does have a certain degree of backward compatibility, even though I don't do that for analytics and other bleeding edge stuff, so that MAY cause problems. There was a time when NP would reject all malformed packets from auth, but currently it allows damaged and otherwise inconsistent packets with a mere warning. Despite all this, your configuration may still have triggered a special case. Personally, I am running NP 24/7 on several machines for remote servers with occasional connections to local hosted Prelude BETA/336, C1/419, C4/656 (prelude auth patch) and GF/83 servers as well as bleeding edge l2j-ish servers, without problems.
Other people are using NP in KR and JP (classic) and sometimes for their local servers, so it should work.
Image
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

Well see it... If you wish to launch a server in one machine (loginserver and gameserver) an also you wish to sniff packets on the same machine nots possible.

If you have 2 different machines fisically... (in the same network or remotely at least one) then sniffer works...

Conclussion: 1 machine with client and sniffer conveniently working and each one (the server). Then nots possible to use 1 client, sniffer and server in the same machine...

Correct?.
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Sacrifice wrote: Fri Nov 03, 2017 8:14 pm Well see it... If you wish to launch a server in one machine (loginserver and gameserver) an also you wish to sniff packets on the same machine nots possible.

If you have 2 different machines fisically... (in the same network or remotely at least one) then sniffer works...

Conclussion: 1 machine with client and sniffer conveniently working and each one (the server). Then nots possible to use 1 client, sniffer and server in the same machine...

Correct?.
Assuming you update serviceconfig, you can even have 5 loginservers with 12 gameservers running locally, one NP instance and run 12 clients to login to each gameserver. All without having the machine connected to any network.
Image
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

Show me how I must to config to work with 1 client, 1 loginserver, 1 gameserver an NP in the same machine with this version of NP... https://bitbucket.org/l2emu-unique/netp ... T-noecj.7z then please.
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: NetPro: Packet Analysis and Visualization tool

Post by Sdw »

Don't "SaveGame"
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

Sdw wrote: Sat Nov 04, 2017 8:38 am Don't "SaveGame"
Yeah!!
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Sacrifice wrote: Sat Nov 04, 2017 7:26 am Show me how I must to config to work with 1 client, 1 loginserver, 1 gameserver an NP in the same machine with this version of NP... https://bitbucket.org/l2emu-unique/netp ... T-noecj.7z then please.
1. No changes to NetPro and game server. Both are ready as they are, listening on a loopback address.
2. Configure gate* to listen on [any loopback address]:2107
3. Cconfigure client to connect to 127.0.0.1 (either cmdline, hosts or ini changes). Do not mod any client files, client should use port 2106 as it does by default.

* - auth for prelude type login clients. This means clean Prelude BETA, Prelude LIVE, C1, C2 and C2C3 (530). This also includes patched csauth2 clients, that is C4 and C5 (any revision), which cannot work in their clean state any longer (thank nProtect for blacklisting).
Image
skyline9394
Posts: 2
Joined: Sun Nov 05, 2017 10:43 am

Re: NetPro: Packet Analysis and Visualization tool

Post by skyline9394 »

hi i have problem conenct to TW NC server
can some one tell me how to coonect to TW server ?
i have make a video
https://www.dropbox.com/s/wfby7adpcvit6 ... 3.mp4?dl=0
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

SaveGame wrote: Sat Nov 04, 2017 2:31 pm
Sacrifice wrote: Sat Nov 04, 2017 7:26 am Show me how I must to config to work with 1 client, 1 loginserver, 1 gameserver an NP in the same machine with this version of NP... https://bitbucket.org/l2emu-unique/netp ... T-noecj.7z then please.
1. No changes to NetPro and game server. Both are ready as they are, listening on a loopback address.
2. Configure gate* to listen on [any loopback address]:2107
3. Cconfigure client to connect to 127.0.0.1 (either cmdline, hosts or ini changes). Do not mod any client files, client should use port 2106 as it does by default.

* - auth for prelude type login clients. This means clean Prelude BETA, Prelude LIVE, C1, C2 and C2C3 (530). This also includes patched csauth2 clients, that is C4 and C5 (any revision), which cannot work in their clean state any longer (thank nProtect for blacklisting).
No work in localhost, to capture packets in localhost, because if you launch loginserver and gameserver in the same machine that netPro, then collides because are using the same port.
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Sacrifice »

To do that you must use a... "promiscous mode"
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Sacrifice wrote: Mon Nov 06, 2017 8:29 am
SaveGame wrote: Sat Nov 04, 2017 2:31 pm
Sacrifice wrote: Sat Nov 04, 2017 7:26 am Show me how I must to config to work with 1 client, 1 loginserver, 1 gameserver an NP in the same machine with this version of NP... https://bitbucket.org/l2emu-unique/netp ... T-noecj.7z then please.
1. No changes to NetPro and game server. Both are ready as they are, listening on a loopback address.
2. Configure gate* to listen on [any loopback address]:2107
3. Cconfigure client to connect to 127.0.0.1 (either cmdline, hosts or ini changes). Do not mod any client files, client should use port 2106 as it does by default.

* - auth for prelude type login clients. This means clean Prelude BETA, Prelude LIVE, C1, C2 and C2C3 (530). This also includes patched csauth2 clients, that is C4 and C5 (any revision), which cannot work in their clean state any longer (thank nProtect for blacklisting).
No work in localhost, to capture packets in localhost, because if you launch loginserver and gameserver in the same machine that netPro, then collides because are using the same port.
I already told you everything you need. You did not specify why you did not execute step 2. (can't? won't? skill too low?), yet you still keep posting barely legible English that stuff will not work.

If you absolutely have to run gate on 2106 (that sounds like nonsense when running a local server if you ask me), then: change NetPro config/serviceconfig.xml to listen on a different port (e.g. 12345) and then patch Engine.dll for the client to connect to 12345 instead of 2106.
Sacrifice wrote: Mon Nov 06, 2017 8:42 am To do that you must use a... "promiscous mode"
You are trying too hard. Just relax and read USAGE/README.txt instead of wasting time reading books about unrelated subjects and then copypasting big words from them.
In a related story, here's what L2 players have to say about this situation:
nameTaken wrote:Nuky is going full drama. i told him to relax and he ignores ppl. relax = trash word to him
Barkey wrote:RSR dont smash ur keyboard or screaming , relax
Image
skyline9394
Posts: 2
Joined: Sun Nov 05, 2017 10:43 am

Re: NetPro: Packet Analysis and Visualization tool

Post by skyline9394 »

skyline9394 wrote: Mon Nov 06, 2017 7:46 am hi i have problem conenct to TW NC server
can some one tell me how to coonect to TW server ?
i have make a video
https://www.dropbox.com/s/wfby7adpcvit6 ... 3.mp4?dl=0

hi SaveGame can u help me ?
Post Reply