I would like to ask if it is possible to ask RTSP server, how many streams does it provide and what are their URL addresses. I have an IP camera from China. Unfortunately, I have not any documentation. There is the port 554 opened. I have tried tellneting to it, trying "DESCRIBE rtsp://my_ip_address/media.amp RTSP/1.0". It was answering with verison of RTSP server and error code. Trying to connect by VLC player (url /media.amp, /stream0, /0 etc) but without success. Is there any way, any command, how to ask the rtsp server for URLs which it is providing?
If you have no clue you can just test popular IP cam RTSP addresses.
You could also try ONVIF device manager to try and discover available RTSP feeds.
https://sourceforge.net/projects/onvifdm/
Related
I need to know, if it is possible to connect with Mikrotik script to TCP/IP Websocket to transfer some data e.g. with PC or PLC (which can provide server socket).
Thanks for any answer.
You can use /tool fetch to download files from remote server with http, https , ftp or tftp protocol. Then you can parse downloaded file to extract variables. see https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch
There is no explicit websocket support, but as noted in the other answer, you have the ability to connect to a simple website, even do a POST. You could also do something clever with tftp. If none of this suits, you could probably use metarouter with something like busybox to achieve the connection.
We are not on the same network. Website uses WebRTC and Janus-Gateway. I tryed using ngrok and tools like that. But even if i point ngrok to janus-gateway and it CAN connect, webrtc data still doesn't send.
What would be a solution for this?
Thanks!
P.S I am accessing the other computer Trough RDP(Remmina), maybe that could be of some use?
Resolved(was problem in my endpoint urls).
I'm trying to connect to an FTP server over HTTP. Is there any way I can use a VPN like Hamachi and tunnel through my home PC, then connect tothe FTP via HTTP or another port?
The main problem with FTP over HTTP is not port mapping, but being able to translate HTTP commands to FTP. Something like mod_proxy_ftp should help. Note that FTP over HTTP proxies tend to support only fetching of files and listing of directories, i.e. they convert a directory URL to a LIST commands, and a file URL to a RETR command.
I realize I might not have answered your exact question, so apologies if there is a strong reason why you need to use VPN and not a proxy. Still I can't see how a VPN would do the protocol conversion.
Is there any light weight tools which can filter and output http headers/responses in human readable form? Something like wireshark. I have tried tcpdump; but it is hard to read.
If you able to configure proxy settings on the embedded device you can (like in web browser) you can be very flexible. I like for example Fiddler tool http://www.fiddler2.com/fiddler2/. If you start fiddler tool on you "normal" computer with Windows 7/XP etc, fiddler runs as a proxy with a port (typically 8888). If you configure on the embedded device IP address with this port as a proxy, you will see or be able generate auto-responses etc. inside of fiddler of your computer.
So you can solve the problem without installation on embedded device any software.
I don’t want to write a long text here, but I recommend watching video http://microsoftpdc.com/Sessions/CL25, where Fiddler developer Eric Lawrence explains Fiddler’s features.
When creating apps that interface on various TCP protocols (apart from HTTP), we need to test our app and how it communicates with a real server.
Now typically with shared hosting you can't install any low level service to talk protocols like POP3, IMAP for email, SIP or XMPP and for instant messaging.
So are there "test" servers that exist (like example.com) that help you debug or test if you app is speaking that protocol correctly?
Or maybe its easy enough to install some email/IM protocol server on another local PC and then we can use Wireshark to test with that?
I think wireshark is probably your best bet. I have never heard of publicly available test servers, I would install a server on your LAN and use that for testing.
Windows Server comes with a built in SMTP server. Try here for some information
There is a list of XMPP servers here, I have personally used OpenFire on Windows.