• The Forums are now open to new registrations, adverts are also being de-tuned.

Any IT guys on here??

thebig1

Active Member
Joined
Nov 16, 2014
Messages
429
Car
Mercedes C63
Hi Guys,

Any IT guys on here that are good at redirecting information to different places from one IP?
 
Sure,

I have a tracker on my car, personal one. It sends data to one IP and Port number I specify. Usualy a website that turns the data in to map etc. The issue is it will only do one IP and port but I want to send the information too two different ones. So is there anyway I can say, send the data to my home wireless route and then rerout it to the other two IP address etc.
 
So if you've got something receiving the data and turning it into map data, thats the point you should then send that data to the other IP's.

But thats the simple version, depends on how the data is received, is it PHP? Do you have access to this site/code ?

You could save of the data then set a remote dump to the other IP's.
 
Thats the issue that both the websites that use this data to map are generic and owened by comanies so no access to them.
 
You're outa luck then, unless you want to setup you're own 'site' so you can redirect it to you're IP, but you're going to need to know the format of the data and how to convert it...
 
As said you need to intercept the traffic, so unless you can specify an IP of a machine under your control, you're out of luck.

You could run packet sniffing, like man-in-the-middle, but that's more complicated than this system would allow. If this device communicates directly via 3g/4g then you can't be it's access point to intercept and relay a thing...
 
Chances are what you're asking isn't that hard.

But the question is how much is it worth. And how much work is needed.

You'd need a server with a fixed IP and you'd probably need to experiment on it to determine the nature of the traffic from your tracker - in particular the means by which it sends or connects and sends.

Assuming it's just firing off UDP or making a quick TCP connection and transfering a packet then that's not hard for a competent programmer to deal with.

However if there is some sort of data response required from the server (eg. if it's a TCP connection) then you'd need to work out what was needed and then emulate it
 
One possible option...

Change the config file on the tracker (if possible) to send to your IP:port.

On your IP, set up a rule that redirects all traffic to that port, to the existing server IP and back.

Now you have a datastream via your network. You can either get a wiretap or a mirrored port to sniff the data.

Issue is, that data will most likely be in a proprietary format, so your next task will be do decipher it... and figure out how to handle it...

m.
 
I do have a program that came with the tracker to allow the data to be sent to my pc. I have a dns.org account with fixed IP that routes to my wifi router for things like remote access to IP security cameras, if that helps?
 
Why not simply get it to save the data into your dropbox folder on that master computer?

This way it is automatically distributed via dropbox to all computers you want it distributed to.

If its just GPS coordinates, then you can simply input these to google maps for a location rather than using the web service.
 
Last edited:
The services I use have alerts for geofence, speed etc and Iphone apps.
 
So what alerts do you get, email, text??

If the service is Web based ..and you get alerts, surely you can already access everything you need from any phone, tablet or computer?

I'm still unclear what you are trying to achieve if I am honest.
 
I get what he is after but not why.

I am guessing he has a similar tracker to me. You send it commands to pre program the gprs connection destination IP and port. With this enabled you get to see a real time google map tracking your car.

What he wants to do is have the same application running on two separate systems at the same time.

I did just have a quick look at iptables port forwarding but I don't think its possible to redirect each packet to two different destinations.

Might just be easier to phone the tracker and get the google map link sent back as a text

This is what you get if you request a text
Screenshot_2015-02-12-21-35-22_zpsn2lwuy7c.jpg


This is the application for real time tracking
trackerapp_zpsqt0ipfne.jpg
 
Last edited:
If the app uses UDP traffic then samplicator can be used on Linux to do exactly what you want.

https://github.com/sleinen/samplicator

You would need a Linux VPS/Server running samplicator. Configure samplicator to relay the UDP traffic, from a chosen port, to the multiple remote servers you desire.

Point your phone app at the IP / configured samplicator port of the VPS/Server.
 

Users who are viewing this thread

Back
Top Bottom