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 2 years ago.
Improve this question
Ubuntu 20.04
LSWS 5.4.8
QUIC is working in WebAdmin, but don't work at any Virtual hosts. How can I enable that thing in virtual host on subdomain. UDP ports are opened, Firewall is disabled.
Commands outputs:
443 udp listening,
ufw status
Any ideas?
QUIC settings
Default QUIC setting is enabled, you really no need to set anything on LSWS for it.
Firewall
To me, that nc -vu command is not enough to verify UDP 443 port unless it will return some information back. I would recommend verify it with tcpdump, e.g.
Run tcpdump on the website's server.
tcpdump -vv udp port 443 -X
Run nc command from any client server.
nc -vu YOUR_DOMAIN 443
and you should see some output on server if there's any UDP port 443 traffic in and out.
Trust Certificate
You will need to setup HTTPS with trusted certificate. Here we can use openssl command to do a quick verify
openssl s_client -connect YOUR_DOMAIN:443
Check if the Verify return code is 0.
If above methods all shows good, please share the output result and site URL so we can check more.
Related
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 3 years ago.
Improve this question
I tried to log in to my aws ec2 instance with putty. Every time I connect to my school wifi it keeps saying connection Time Out. But when I try to connect with my phone network it's working fine again.
I already set the security inbound rules to everyone, only myIP. but still not working.
Here is the error... "Network error!!!Connection Time Out"
Your School wifi must be operating behind a firewall and traffic is filtered. For example - in most companies only few sites are allowed to browse and rest all are blocked by firewall rules.
Port 22 is blocked in most of public networks. You can try connecting putty after connecting from your mobile network.
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 5 years ago.
Improve this question
Here I am exploring the security features, and when I enter "firewall-cmd --panic-on" to the CLI, the system just hangs idle.
Centos 7
Kernel 3.10
I think this is not supposed to happen, b/c as I read the documentation, I see I should be able to firewall-cmd --panic-off, but I cannot even ssh through another terminal unless I restart the server.
Is the system corrupt?
Is there a bug with "firewall-cmd --panic-on"?
How can I figure out the source of the problem?
--panic-on
Enable panic mode. All incoming and outgoing packets are dropped, active connections will expire. Enable this only if there are
serious problems with your network environment. For example if the
machine is getting hacked in.
As this switch drops all incoming connections and kills established active connections, so you can not issue --panic-off using ssh. You have to run firewall-cmd --panic-off using console access. running firewall-cmd --panic-on will apply configuration in runtime level so by simply restarting the server you can access ssh session. never run firewall-cmd --panic-on --permanent you can verify panic status by running firewall-cmd --query-panic
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 5 years ago.
Improve this question
I need to connect to my virtual box running on my local machine to transfer files from my local system to VM by using WinSCP.
How do I find the IP address?
When I go to the settings and network tab, there I find something related to IP, but when I use that, it says cannot find or invalid.
Login to virtual machine use below command to check ip address. (anyone will work)
ifconfig
ip addr show
If you used NAT for your virtual machine settings(your machine ip will be 10.0.2.15), then you have to use port forwarding to connect to machine. IP address will be 127.0.0.1
If you used bridged networking/Host only networking, then you will have separate Ip address. Use that IP address to connect virtual machine
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am learning sockets in C, but i can't find any information about getting a list of all the connected devices in my WLAN network (I am using Linux).
Can anyone provide me of information or where i can start learning?
You need to check all the associations on your Wireless Access Point(Wifi router).
Most of the Wifi routers have a web ui where all the associated devices are displayed.
If you have telnet/ssh/console access to your AP, you may try either of the following depending on your wifi hardware and driver.
Broadcomm wireless card:
iw assoclist
Atheros wireless card:
wl_atheros assoclist
You may also try iwlist(8), a linux program to get information from a wireless interface.
iwlist [interface] scan
or
iwlist [interface] ap/accesspoint/peers
Please refer to your wifi driver documentation for support details.
Look into the ARP cache. ARP stands for Address Resolution Protocol and it is how machines turn an IP address into a hardware address.
There is no truly universal way to get a list of all networked devices, but, ARP comes close.
Pinging or just opening and closing a connection to a well known port on every address on your subnet would fill out the ARP cache pretty quickly...
If you know your network IP addres I would advise you to do a broadcast ping to your network broadcast address and note the devices that answer.
For example if your network is 192.168.1.0/24 your broadcast IP address will be `192.168.1.255 and the command on linux is ping -b 192.168.1.255. You can then get the result of the command in your program and work on it to extract the ip of the other connected devices.
Disclamer : Some devices may be configured to never answer ping request, then they will be invisible with this method...
Edit : If you are using IPv6 you can have a look at the Neighbor Discovery Protocol (NDP) which kind of replace ARP.
You should consider using existing tools in a Linux env. To begin take a look here: Get all connected IP´s on the Linux machine
Do not re-invent the wheel. If you can.
man netstat
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 connect to a networked machine's FileZilla server but my FileZilla Client is giving the following error while connecting. The error is:
"Connection attempt failed with ECONNREFUSED - Connection refused by server"
Windows Firewall is turned off on that machine and i had provided the valid credentials in my FTP Client.
Thanks in advance
FTP protocol may be blocked by your ISP firewall, try connecting via SFTP (i.e. use 22 for port num instead of 21 which is simply FTP).
For more information try this link.
Use port number 22 (for sftp) instead of 21 (normal ftp). Solved this problem for me.
I solved this error
A connection attempt failed with "ECONNREFUSED - Connection refused by server"
by changing my port to 22 that was successful
For me, I was receiving this error when connecting to the new IP Address I had configured FileZilla to bind to and saved the configuration. After trying all of the other answers unsuccessfully, I decided to connect to the old IP Address to see what came up; lo and behold it responded.
I restarted the FileZilla Windows Service and it immediately came back listening on the correct IP. Pretty elementary, but it cost me some time today as a noob to FZ.
Hopefully this helps someone out in the same predicament.