Tag Info

New answers tagged

0

If you don't use *drive or terminal services. Just find and block at firewall. i.e.: netsh advfirewall firewall add rule name="MetroMessengerXMPP" action="block" dir="out" program="c:\program files\windowsapps\microsoft.windowscommunicationsapps_16.2.3237.215_x86__8wekyb3d8bbwe\LiveComm.exe" remoteip="65.54.52.45,65.54.48.0/24" OR netsh advfirewall ...


3

Does the router forward the ping request to all devices on it's network? Usually not. If not explicitly specified it will answer the ping request itself (since it is also a layer 3 device, it is able to do this). Only traffic which has been configured to be port forwarded (like TCP/80) will be forwarded to a machine on the internal network. I've never ...


1

Thanks to ChrisInEdmonton for pointing me to this answer by Jeff Strunk. Diving into the code included in the mentioned commit, I concluded that both UDP and TCP source ports are chosen randomly between two values. These values are modifiable in runtime, and can be accessed via sysctl: sysctl net.ipv4.ip_local_port_range On my laptop these values were ...


2

Pretty clever way of doing it, but anyway short answer, yes this would work as port 9 pretty much nullifies any data it receives.


2

It depends on the port number, depending on the channel you leave open you are vulnerable to different types of exploits to your network. Now its a known default setting that a router has port 4567 open for some weird reason as it can allow malware to go through but you can just go through the following instructions to close it. First check if it is under ...


0

Not sure about a CLI for it, but according to the WebUI emulator model on Billion's web page for that model, all your port forwarding settings are under: Advance -> Configuration -> Virtual Server That same site also offers the User Manual if you want to go check if it (also) provides a CLI.


1

Two things to mention. Firstly you make a policy (-P) ACCEPT for each of INPUT, OUTPUT and FORWARD. Better you close (DROP) everything, especially on INPUT, and open only what is needed. Second, I do not know Python very well but usually this kind of connection do not send just one packet, but many more. Even if you do a timeout of 1 second, there will be ...


0

Just a quick update why your port falls outside that port range - When a vncserver is started, your assigned port number is 5900 + N, where N is the returned VNC server number. Example: vncserver New 'localhost:1' desktop is localhost:1 In that case your port will be 5901. In your example, your server is using 5912, which is outside of your port range.


0

Creating a command line QOTD server is trivial if you have netcat and fortune installed: # nc -lk -p 17 -e fortune Some versions of netcat may not have -e enabled, in which case use the busybox version, which does: # busybox nc -lk -p 17 -e fortune


1

You are maybe looking for ethtool -p . For example : ethtool -p eth0 will cause mentioned eth0 LED to blink, so that you can identify it on the box.


0

Assuming all interfaces are up, connect working network cable and check dmesg|tail. Should say something like eth<N>: link becomes ready If interfaces are down, bring them up with ifconfig eth<N> up


1

Figured it out. Turns out, Iptables was the wrong way to go about this. I used Haproxy and setup a backend that talks to that proxy server.


0

You can use portquiz.net, which is exactly the kind of server you're looking for. For example, following shell script does the job: for x in `seq 1 65535`; do echo -ne "$x " curl "http://portquiz.net:$x" \ --connect-timeout 1 \ -o /dev/null \ -q >/dev/null 2>&1 \ && echo 'open' \ || echo 'closed' ...



Top 50 recent answers are included