How do I see the incoming traffic into my VM during the Nmap scan? [closed]

I’m testing this decoy feature from nmap, and pretend to be a bad guy. I will run it against my owned VM.

sudo nmap -sS -sV -D,, 

If I SSH into my server, wow do I see the incoming traffic into my VM (Ubuntu) during the Nmap scan ?

I’ve tried netstat -plant, and iftop, not so good.

How does Contingency with Cure Wounds work with incoming damage?

If a bard selects contingency as a magical secrets pick, and casts a 5th level cure wounds with the trigger “when I drop to 1 hitpoint”, how does the incoming damage work?

Say he is at 5 hit points. Then he gets hit with 30 damage. Does the extra 25 damage take away from the 5th level cure wounds that gets triggered?

Time complexity of finding a node with no incoming edges in a DAG: O(n) or O(m+n)

I’m reading Algorithm Design by Jon Kleinberg. In section 3.6, in order to compute the topological ordering of a DAG, one first finds a root node in this DAG, then deletes it from the DAG. The author claimed that this can be done in O(n).

How should I understand this time complexity? Just because we traverse all nodes in O(n)? But in the iteration for some node v, one also needs to traverse all its incident edges. Does that mean the time complexity should be O(m+n) or O(m)?

Honeypot logs VM’s gateway IP instead of incoming ones

There is a virtual machine ( Virtual Box) managed by OS Xubuntu and a kippo( ssh-trap) on this one. NAT have been adjusted in the VM’s setups with port forwarding by this way: ssh tcp 195.x.x.x 22 22 (rule’s name—protocol—current host IP—host port—virtual machine’s IP—VM’s port). The Honeypot logs all connection attempts but writes VM’s gateway IP instead of incoming ones. Can anybody explain how to troubleshoot this problem?

Configure specific NIC for incoming local network

I currently have an Ubuntu 18.04.3 I have 2 NICs setup with, both NICs point to different router’s. 1 is my normal network that is reachable through all my other devices and has access to the internet, the 2 one is a PFsense router that’s connected through VPN to the external network. The PFsense router is NATed behind my existing router and devices under this router can’t be reached by my other devices that aren’t under this router.

Here is my route table Route table

I want to be able to reach external internet through ens19 but still can connect to other devices on ens18 in my internal network

I’ve partially achieved this, i’m reaching the external network through ens19 and can reach the internal devices through ens18 from this machine, however if I try to connect to this device through ens18 it won’t work.

thank you in advance.

Route incoming OpenVPN (TCP) Traffic to local tor proxy with ufw

I have a OpenVPN running on my Ubuntu (18) Server and a tor proxy. OpenVPN is running on TCP Port 443 (to bypass strict firewalls). Tor is running internally as proxy on port 9050. I would like to route every traffic which is coming from OpenVPN through tor.

I have following ufw rules:


I would like to do that with ufw (if possible). As far as I know ufw works on the same way like iptables. So it should be possible with ufw?

My second question would be about DNS. Currently my OpenVPN does NOT push any DNS server. How does DNS works when I connect via OpenVPN and the server does not push any dns? It is possible to do DNS also over (openvpn and) tor?

OS X Firewall Block all incoming Connections Affecting Software Updates?

I just bought a 2017 Macbook Pro with the latest OS (Mojave). In the OS X Mojave Security and Privacy-Firewall settings, I set Firewall to “Block all incoming connections” as I am extra cautious, but will my software (such as Chrome web browser, Firefox, etc.) still get new updates? For example, will my Firefox browser still get the latest software updates or will I have to manually check for software updates because the firewall is blocking all incoming connections?

Incorrect Start time and End time of an Incoming meeting in a Calendar list in sharepoint 2016

I have a calendar list on sharepoint 2016 for managing meetings in our organization. The problem is when we send a meeting by outlook to this list the Start and End Time field has about 14 hours difference with the actual start time however the Created time field is correct. we all checked the time zone of server,sharepoint regional setting,outlook and all of them are the same. The point is that incoming meeting that send from gmail is set on a correct time in this list. Does anyone have an idea to solve this problem?