I am testing a device (a GPS tracking) that is sending data (the GPS position) to a given IP on a given port. I don't know what kind of data format it sends, is there a way to listen on my CentOS server for incoming data on a given port and maybe print it on screen ?
Monitoring a given port for unknown incoming data
989 Views Asked by adrianTNT At
2
There are 2 best solutions below
Related Questions in GPS
- identify GPS mobile phonegap
- Android runtime permissions on android versions below M?
- iOS Distance between two GPS Location
- GPS not showing current location on map
- java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(int)' on a null object reference
- using Gps Getting Latitude and Longitude
- Position marker in Google Map is not disapearing when position is lost
- How to set/get GPS Accuracy on Android Emulator?
- GPSTracker Class not working
- How to Switch ON and OFF GPS
- GPS App compile errors
- OpenGTS platform
- FusedLocationProviderApi Fatal exception: GoogleApiClient is not connected yet.
- SQL LINESTRING() versus multiple rows
- Trouble connecting to gpsd
Related Questions in CENTOS
- how to install memcached PECL on centos 7 server
- Seg fault when trying to compile PhantomJS from source on CentOS 7
- Bash script to find && mkdir
- Another time: SDL init failure, reason is: No available video device
- How to use user custom pulgin in qgis in centos
- /usr/lib/* files had been deleted, how to restore these files
- Cannot set GPIO pins in FT230X in Centos
- Java 8 , JCE Unlimited Strength Policy and SSL Handshake over TLS
- Why rsync fails with jenkins
- Access PHP Error Logs - Vagrant CentOS VM setup by Puphpet
- the git hooks post-update seems not working
- How to print a result from multiple root elements in XML using Perl
- MySQL change root password. Find root username
- ffprobe or avprobe not found. Please install one
- How to get PHP to be able to read system environment variables
Related Questions in PORT
- C# FTP server never receives incoming transfer connection after processing EPRT command
- How to set 3306 port free after uninstalling MySQL?
- List all VM's by their port mirroring settings PowerShell
- How to make Puppet track TCP ports to avoid conflicts?
- Automatically forward ports from clients
- How to find port number of network connected device?
- Tcp Port connection shows incompatible value
- What are the port i can use to send email in java?
- Epson POS printer, ePOS Sdk. What's the default port?
- How to fix Tomcat has failed to start: the port X is already in used?
- Reference web projects from other web projects in solution
- How to run tomcat7 web app through https over port 8443?
- See data that an app is secretly sending to web server in the background
- The requested address is not valid in its context when I try to listen a port
- Send a open port request to router
Related Questions in TRACKING
- imfindcircles doesn't track blobs correctly
- Heap - How free bytes are tracked?
- How long should it take until a new Universal Analytics property starts collecting data?
- Google Tag Manager External Links with Multiple Domains
- Tracking SKSpriteNode
- Pixel Activated Multiple Times for Facebook Pixel Tracking
- Generating Unique Invoice tracking in dot net
- Can `window.onerror` be used to log the error's stack trace as a global error handler
- Tracking Email when they Click Using PHP
- create open email tracker for mail native app
- passing variable from php tag to other tag in same page
- Why are email senders placing tracking images at the end of the content?
- Python/OpenCV - Colored Droplets Recognition and Tracking
- How to receive GPS data on Web server?
- Universal Analytics subdomain tracking
Related Questions in NETSTAT
- How can I figure out which process is opening the certain tcp port?
- Cannot establish connection to application listening on 0.0.0.0:8443
- netstat output differences from cygwin to mac
- How to kill the application that is using a TCP port in C#?
- Is it possible to deterministically trace how port 80 is forwarded and where the configuration is on a given system?
- Why isn't my port exposed? netstat output included
- IPV6 ServerSocket is still listening even after application crash
- Monitoring a given port for unknown incoming data
- netstat -t doesn't show connections but netstat -nt does
- Is there any way to find out how many http connections are open while browsing a web page
- c++ server doesn't close TCP socket connection after the connection process is killed on client
- How to parse netstat command to get the send-q number from the line
- HttpClient: Only one usage of each socket address(protocol/network address/port) is normally permitted
- How to get output from ExecDos::exec
- How to count SYN/ESTABLISHED connection to server?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Expanding on the comment I left earlier (at the time I could not test): if you have access to Python on your machine, you can create the following simple script - e.g. in a file you call
myServer.py(attribution: http://ilab.cs.byu.edu/python/socket/echoserver.html - you will find much more information about Python network programming there; well worth a visit):When I ran this on my Mac by typing
And then went to my browser where I typed
I got the following in my browser:
And my console looked like this (I hit ctrl-c after servicing the request):
I think this should be a reasonable way for you to take a look at the traffic from the GPS. It should be easy to see how you can change the response back to the client - right now it's just the request being echoed, but you can obviously send anything with
Let me know if you have any further questions about this. Note I used port
50000- I was guessing it would be available. The way my machine was set up I could not use port 80 (the default html port) but that's mostly a question of firewall configuration etc.