Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
At start I need to mention that I'm a complete newbie if we talk about networking, so don't judge me ;)
Problem:
I've got a Flask application running on my raspberry pi. I can access it via web browser using raspberry_ip:5000. I need to access this app outside of my local network.
I used to have port forwarding on my router so whenever I typed in browser my_public_ip:5000 I could use my app running in local network. However as many people say, port forwarding isn't the best and most secure method.
And here is my question: Can I access app on my raspberry using VPN (Private network where is only raspberry, and there is not risk of some kind of attack), becasue I guess it would be much more secure than port forwarding.
Maybe there is some other method to access this flask app outside of my network, without risking an unathorized access to local network.
sorry for my poor english
As long as the following are set, this solution sounds fine to me.
Your Flask application is secured by user authentication.
The Web communication is secured by an SSL certificate(using server HTTPS).
In order to be more secure, I would put a Web server in front of Flask, such as Nginx, therefore you are exposing the Nginx process to the Internet rather than Flask.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 hours ago.
Improve this question
Have you heard about Russia blocking IPs of Amazon’s servers (millions of them) in order to block messenger Telegram? There are a lot of cases when people are saying that their unrelated to Telegram applications, but located on Amazon servers, laid down as well as a consequence.
I was wondering if this teqnically possible situation. If I, for example, use Amazon’s server for my app, do I share an IP with others? Does it mean that if somebody blocks this IP to block another app, then I screw up as well? Or these are all fake sayings, and block is targeted enough to avoid this?
Is it possible to share IP on server among multiple applications?
Definitely. This is why transport protocols like TCP and UDP use port numbers. These port numbers serve as sub-addresses for the IP.
Some application protocols can even share the same IP address and port combination, like HTTP. An HTTP vhost (or a proxy) can direct the request to the desired server instance depending on the URL parameters.
So, when Internet censorship is applied on the IP address basis, it's not uncommon to filter more than intended.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want to find out a person's ip address who is abusing me on facebook. Whenever I log into facebook he shows up in the chat and threatens me. I am kinda hacker but how can I find his ip address in chat using wireshark or something. He is really starting to piss me off. Please HELP.
Wireshark is a fantastic tool but will only be able to monitor network traffic passing through your own network - in this instance, you would be able to monitor your own side of the Facebook Messenger conversation.
There is no direct TCP/IP connection from this person's computer to your computer involved. Both they and you connect to Facebook's web servers and messages are sent and received using HTTP protocol and AJAX.
Most communication services operate in this way these days, partly to protect the privacy of its users, partly for improved performance and reliability, and partly for regulatory compliance. Possible solutions normally include:
Reporting abuse to the service provider and in most cases they will be pleased to investigate it for you;
Blocking the person from contacting you in future using the tools built-in to the service;
Reporting abuse to your local Police, who can legally obtain the IP address and login history from Facebook. They will not pass this information onto you for retribution but if sufficient evidence is available the person bothering you could be arrested and charged for harassment, malicious communications, defamation and/or breach of peace, depending on the local laws where you/they live.
Reference: CyberSmile.org: CyberBullying and the Law
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I’m setting up a server on openshift. I’m on the Bronze Plan and have a pretty common setup, I assume. Tomcat 7 with a MySQL database, scalable cartridge, so nothing fancy. I’ve been able to setup the custom domain and I am aware of the missing SSL certificate. That stuff is pretty well documented.
But I could not figure out how to get mails working. I’m not talking about sending mails from the application itself, I’ve seen questions covering that topic. I mean mail in general, all mails from and to the domain (I’m more concerned with to the domain for now). I for example need a working info#speedapp.io mail address.
Sorry if that is bluntly obvious to anyone else. But I’m coming from a shared Tomcat hosting provider, where the web frontend for mails was already configure.
You need to sign up for email services at a third party host, you can not use OpenShift to host your email.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Hi this will be an easy question.
Ftp, as an example, works on ports 20, 21. How many different people can connect to the same ftp server on the same port (21) at the same time?
As many as the server and the server OS can handle. There is no specific limit.
All the comments citing specific clients are incorrect, as is the one stating '1-8 as far as I know.' The comment about 'FTP Site Default settings' only applies to Microsoft IIS.
Port is the virtual interfacing used to differentiate services. In your case FTP server listen on particular port 21 which differentiate all other services/servers running on the same system listening to the same IP address (eg: DHCP server on 67 etc.,).
So the port are used only at Transport and Application layer (to bind to the particular port). The number of connections is limited with the help of "listen" system call (in case of linux), which will used in server binding.
Note: Observe any PCAP traces and socket programming to understand the usage of port.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to learn about VPN using OSX and have a question I cannot find the answer to. Any help will be appreciated.
I have an office machine running OSX server 10.7. I set up VPN on it today and set up my laptop (running OSX 10.8) to access it. I am able to connect, but have a problem accessing a machine by its IP address on the office network. I suspect I have and issue because both my networks use the block 10.0.1.xx. Before I change one of my networks IP range I wanted to ask if this is the actual problem or if there is an easier way to resolve this. How would my laptop know that 10.0.1.127 is on the office network and it needs to look over the VPN connection?
Thanks for any help. Trying to wrap my brain around this whole VPN thing.
Thom
You are correct, having both address blocks set to the same address space is very confusing for your workstation. The actual problem is more gateway related, as your machine now has two gateways with (likely) the same IP address.
There is no good way to get that to work using the same IP range on both the local and remote networks.
Note that I said "Good way" I'm certain it's possible, just more trouble than it's worth.