• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Baraka Proxy

Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
Hi, I release today one of my Tera project : . ( , , )(updated to v1.2.2)

This program is a proxy and can record packet like "packet sniffer".
Tested on Linux (tested on a Gentoo) and Windows 7.

You can disable sniffer mode "Baraka_Proxy.exe --packet_sniffer 0" to have a simple proxy.
It's include a simple html server (on ports 8080 & 4566).

How to use Baraka_Proxy with offical launcher ? Edit (in admin mode) "C:\Windows\System32\drivers\etc\hosts" and add this line :
Code:
127.0.0.1                   sls.service.enmasse.com    # TERA US
127.0.0.1                   web-sls.tera.gameforge.com # TERA EU
127.0.0.1 can be change by another IP.

Packet_sniffer mode record Client & Server packet like it :
clofriwen - Baraka Proxy - RaGEZONE Forums


Win32 release have this modes activated : sniffer, httpd, localhost, US, EU, Sniffer_Thread.

If you want OpCode name in filename of packets, well, in same directory of binary, make a directory called "OpCodes" (case sensitive under Linux). Inside this directory, put all you want, named like you want (mine is 4206.txt, 3907.txt, 3603_EU.txt, ...) (Baraka_Proxy auto-detect your client version).
WARNING : use only text file with Decimale.
NO HEXADECIMAL !


Last client can connect to a Baraka_Proxy without last OpCode, it's will work.
Baraka_Proxy 1.1.0 don't need a OpCode to start.
Baraka_Proxy 1.2.0 have a threaded packet writer for a less ping slow down.

Baraka_Proxy was in frist time a dev tools, but it's can by-pass a IP Banned (you need to run Baraka_Proxy on a server without IP Banned) (like )

Added Support of Cross-Compiler MXE (compile a Win32 binary from Linux). Better stability than my previous compiler.

Added a notify icon for windows version.

Options :
Code:
Delete internal IP :
        ./Baraka_Proxy --set 0
Set internal IP :
        ./Baraka_Proxy --set ???.???.???.???

Enable/Disable debug (? = 0 / 1)
        ./Baraka_Proxy --debug ?
Enable/Disable sniffer (? = 0 / 1)
        ./Baraka_Proxy --sniffer ?
Enable/Disable httpd (? = 0 / 1)
        ./Baraka_Proxy --httpd ?
Enable/Disable localhost (? = 0 / 1)
        ./Baraka_Proxy --localhost ?
Enable/Disable US (? = 0 / 1)
        ./Baraka_Proxy --US ?
Enable/Disable EU (? = 0 / 1)
        ./Baraka_Proxy --EU ?
Enable/Disable Log_File (? = 0 / 1)
        ./Baraka_Proxy --Log_File ?
Enable/Disable Silence (? = 0 / 1)
        ./Baraka_Proxy --Silence ?
Enable/Disable Sniffer_Thread (? = 0 / 1)
        ./Baraka_Proxy --Sniffer_Thread ?

I hope it's can help some people ;)
More info here
 
Last edited:
Newbie Spellweaver
Joined
May 9, 2014
Messages
43
Reaction score
8
English:
I've tested it and work fine.
Then what we can do after those files ? Because there are so many.

French:

je l'ai testé et il fonctionne à merveille. Cependant, qu'est ce qu'on pourra faire après avec ces fichiers, car il y'en a beaucoup.
Enfin on a besoin de plus d'informations
 
Junior Spellweaver
Joined
Dec 5, 2015
Messages
181
Reaction score
145
These files contains all data (client and server). You can use it for dev tools (for example)
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
i think in futur, i will add a MySQL connexion inside Baraka. Like that, we will have OpCode order with data, and filling up databases (npc location, monsters location, spawn location, rez location, ...).
All feature of baraka can be enable/disable (simple proxy, sniffer mode, ...).
 
Newbie Spellweaver
Joined
Aug 23, 2008
Messages
74
Reaction score
19
Awesome work. You released that what I wanted to release for months now.
I like you solution for the redirection of the game connection: I always worked with a loopback adapter bound to the ip of unused server.
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
A new of Baraka_Proxy can be get, but not on Git. MP me to have. Git will be updated after Sharun was ready. GoneUp you can have my new source of Baraka_Proxy v2.0.0 , i think you will find it interesting.
 
Back
Top