Iam writing a code to print the all devices connected in the network using python pcapy. In the out put, it prints   "Tunnel adapter isatap" details .  Can anyone please tell me what it would means... i was expected to get print the interface name which ever is named with.  Please see the attached screen shot  Appreciate for the support
124166
I don't understand why is the "tunnel" metaphor used to describe a networking tunnel.  At first I thought the reason was because the data sent is encrypted, and so an eavesdropper will not be able to see the data (he sees the data wrapped in a tunnel!).  But what about the tunneling protocols that do not use encryption, why are they also called a "tunnel"!
77844
I have been told that we have two devices on a network:  10.40.225.142 and 10.40.225.144  These devices both have   Gateway 10.40.225.129  Subnet mask 225.225.225.128 (note 225 is Not a typo)   These are communication intermittently with a server 10.40.224.156  So my question is: Is that a valid subnet? I have only ever seen 255 or 0 in the first one - three octets.
109826
The following IP address is for my network interface  $ nmap 192.168.0.142  Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-09 11:33 EST Nmap scan report for ocean (192.168.0.142) Host is up (0.00047s latency). Not shown: 996 closed ports PORT     STATE SERVICE 22/tcp   open  ssh 80/tcp   open  http 111/tcp  open  rpcbind 3306/tcp open  mysql  Nmap done: 1 IP address (1 host up) scanned in 0.97 seconds   Are those services shown below but not above exactly those that are closed to the outside but open within my local machine?   Are the services whose security that I should worry about exactly those listed above?  Thanks.  $ nmap localhost  Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-09 11:34 EST Nmap scan report for localhost (127.0.0.1) Host is up (0.00046s latency). Other addresses for localhost (not scanned): Not shown: 993 closed ports PORT     STATE SERVICE 22/tcp   open  ssh 80/tcp   open  http 111/tcp  open  rpcbind 631/tcp  open  ipp 3306/tcp open  mysql 5432/tcp open  postgresql 9050/tcp open  tor-socks  Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds
124051
I 'm trying to install wireless access point device EP-2906, on my Desktop PC running Windows 7. Here is the  .  Page 7 says how I can set up it's IP address, but I can't find Wireless Network Connection icon. Is this because of my Desktop PC and in this case how can I set up a static private IP address for this device?
114459
When you call the object.__repr__() method in Python you get something like this back:    &lt;__main__.Test object at 0x2aba1c0cf890&gt;     Is there any way to get a hold of the memory address if you overload __repr__(), other then calling super(Class, obj).__repr__() and regexing it out?
53730
I decided that I'll learn python tonight :) I know C pretty well (wrote an OS in it) so I'm not a noob in programming so everything in python seems pretty easy, but I don't know how to solve this problem : let's say I have this address:    Now how can I create two strings from this, one containing the "base" name of the server, so in this example it would be   and another containing the thing without the last filename, so in this example it would be   . Also I of course know the possibility to just find the 3rd and last slash respectively but maybe you know a better way :] Also it would be cool to have the trailing slash in both cases but I don't care since it can be added easily. So anyone has a good, fast, effective solution for this? Or is there only "my" solution, finding the slashes?  Thanks!
74380
Is there a tool to print the power supply information, such as brand/model name and maximum (supported) output voltage? I need to add a second GPU and I would like to make sure it does support the extra voltage. P.s: I already installed a secondary GPU when I had the access and I rushed outside the server room. When I later checked, the second GPU was not recognized (now that I don't have the access anymore!! :P) I wanted to make sure if the problem was the lack of power voltage as the GPU was working on another machine and is not faulty. Currently, I don't have physical access to the PC currently (ssh only). I have tried to see other posts, also the other exisiting tools, i.e., sudo dmidecode -t 39, sensors, and ipmitool, but none of them show the information I'm looking for.
72868
Problem  I had a Linksys WUSB 6300 dual-band USB WiFi adapter happily running on on my desktop PC with driver module 8812AU.  When I first got it to work I used the  to get it to work with Secure Boot. It worked fine with Kernel version 4.4.0-23-generic and later also with 4.4.0-24-generic where I resigned it after the update.  After the update to 4.4.0-28-generic resigning for some reason does not have the desired effect anymore and it does not seem to load the driver module 8812AU.  After updating to 4.4.0-38-generic the behavior remains the same.  The Additional Drivers tool now shows me , so I am not sure if somehow the module files got messed up. I am pretty new to Ubuntu, so I wouldn't know how to tell. When it was still working it showed me .  So in consequence the network adapter is not working and I am out of ideas what to check or do in order to get it back to work.  Details  lsusb shows me that the adapter is recognized as USB device:  Bus 002 Device 002: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]   sudo lshw -C network only shows me the Ethernet and the internal WiFi (it has a very similar name). It is an integrated WiFi adapter which is working poorly under Ubuntu and is thus not useful for me.  Note: 8821AE is the internal WiFi. I am trying to get 8812AU to run which is not listed here because it does not seem to be loaded.  *-network    description: Ethernet interface    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:03:00.0    logical name: enp3s0    version: 11    serial: 54:a0:50:d5:4b:0b    size: 10Mbit/s    capacity: 1Gbit/s    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s    resources: irq:42 ioport:e000(size=256) memory:f7d00000-f7d00fff memory:f0000000-f0003fff *-network    description: Wireless interface    product: RTL8821AE 802.11ac PCIe Wireless Network Adapter    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:04:00.0    logical name: wlp4s0    version: 00    serial: 54:27:1e:d6:91:8d    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless    configuration: broadcast=yes driver=rtl8821ae driverversion=4.4.0-22-generic firmware=N/A ip=192.168.0.20 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn    resources: irq:46 ioport:d000(size=256) memory:f7c00000-f7c03fff   Running rfkill list all shows that nothing seems to be blocked:  0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no   Any help would be greatly appreciated!  Many thanks.
103386
Server has numerous IP addresses, set up on it's network interface.  How to find, who is listening to specific IP port 80?  netstat shows very long list. Are there any builtin means?  UPDATE  Also can't use findstr with also wishing to know process name because brocess name is displayed on separate line.
117729
I have a problem with my network adapter after upgrading from 13.04 to 13.10. The adapter works for literally several seconds after I establish the connection but then it looks as if it got clogged somehow.  This is what I see amongst my devices:  ~$ lspci | grep -i wireless 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01) ~$ uname -a Linux bubek 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux ~$ lsmod | grep 80211 lib80211_crypt_tkip    17387  0  lib80211               14040  2 wl,lib80211_crypt_tkip cfg80211              401436  1 wl   Now, how does is behave. Let's assume I connect to my wireless network and straight after I get connected I ping the default gw:  ~$ ping 10.1.0.1 PING 10.1.0.1 (10.1.0.1) 56(84) bytes of data. 64 bytes from 10.1.0.1: icmp_seq=1 ttl=64 time=226 ms 64 bytes from 10.1.0.1: icmp_seq=4 ttl=64 time=222 ms 64 bytes from 10.1.0.1: icmp_seq=7 ttl=64 time=260 ms 64 bytes from 10.1.0.1: icmp_seq=11 ttl=64 time=265 ms 64 bytes from 10.1.0.1: icmp_seq=16 ttl=64 time=117 ms From 10.1.0.16 icmp_seq=45 Destination Host Unreachable From 10.1.0.16 icmp_seq=46 Destination Host Unreachable   What has happened over here? Is there any possibility I can get it working? The only way I could write that post was that I used my phone and USB tethering :)  Thanks for any tips in advance!
107434
I was looking at the Proxy Pattern, and to me it seems an awful lot like the Decorator, Adapter, and Bridge patterns. Am I misunderstanding something? What's the difference? Why would I use the Proxy pattern versus the others? How have you used them in the past in real world projects?
75376
Fist let's block all Incoming, Outgoing signals  via iptables.     vi /etc/sysconfig/iptables   *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A OUTPUT -j DROP -A INPUT -j DROP -A FORWARD -j DROP COMMIT   start iptables:   service iptables start   My Ethernet Cable is plugged in. let's try something via terminal  ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.   that is all. just 1 line. after that it stalls. clearly iptables is blocking it successfully  now I am going to disconnect my Ethernet cable. my internet is disconnected.  let's try it again:  ping 8.8.8.8 connect: Network is unreachable   this time .. instantly.. it returns that message.  Clearly, weather it is "ping" or any other program.. it is determining if a network interface is up or not before it executes it's internet command.  of course soon as it executes.. it is not able to pass through iptable rules. but what seems evident is.. it does not first consult to the iptables..  it first checks to see if a network interface is connected or not.   I would like to figure out how I can manually let it know that network interface is connected.  in other words unless I tell it network interface is up.. it should simply behave the same way it behaves when network interface is not connected ( when the ethernet cable is not plugged in)  how can this be done ?
39204
I run Ubuntu 14.04. Using the terminal, I did netstat -taupen to see what processes are running and I got this result:  Local Address        Foreign Address     State        User   Inode    PID/Program Name 192.168.1.3:54179    23.62.236.99:80     TIME_WAIT    0      0        -   Why is this ip connected to one of my ports? Also, ShieldsUp says port 54179 is stealthed, so what is going on?
10604
I need to sniff all the wifi traffic that I can capture using wireshark in Ubuntu. My wireless interface is named as eth1 in the interfaces list. When I select that interface in Wireshark and start new sniff, I got following error;    As  thread says, I tried to installed the mentioned driver but I got an error in installation saying that that driver is not supported by my device. After that I tried the second answer in the same thread and run following command to enable monitor mode in my wireless card.  echo 1 &gt; /proc/brcm_monitor0   Then I saw a new Ethernet interface (not a wireless interface ) called prism0 in wireshark interface list. I couldn't start a sniff using that interface using monitor mode because in that interface settings, monitor mode check box has been disabled.  I have installed a broadcom wireless driver in Additional Drivers as follows:    Is there an error listing my Wifi interface as eth1 rather than wlan0 in the interfaces list? How can I start my wireless interface in monitor mode for sniffing?   Thank you.
47475
This may seem trivial but I'm looking for the quickest method to determine my PC's IP address within my network.   This changes regularly as I connect from one network to the next via DHCP The connection changes from wired to wireless Windows 7 PC (although ideally the perfect solution would work on all versions of Windows) Various adapters installed (e.g. VMWare, Tunnels, etc.)   I need to know this as I often run a local web server where I need to access files over the local network... and since it changes regularly I want the fastest method to retrieve the address.  My current flow is:   WindowsKey + R to open the Run dialog "cmd" + Enter to open a command prompt "ipconfig" + Enter to get the diagnostics info Scroll to or resize the window so that I can see the line in my Ethernet adapter Local Area Connection for my ipv4 Address Remember it to type elsewhere... or  Right click > select Mark > highlight the address > press Enter to copy it to the clipboard   This wasn't so bad with Windows XP when I had no additional adapters, tunnels, wireless connections etc. but the amount of data returned with this command makes it hard to pluck out.  Surely there must be a better, faster way! (bonus points if adding it to the clipboard is easily accomplished)
34023
I'm running VirtualBox with 2 network adapters: standard NAT (enp0s3) and a Host-only Adapter (enp0s8). I use the NAT to access the internet and the Host-only Adapter to SSH in from my local machine.  The box boots up with both adapters enabled, both have IP addresses, everything looking good.    I can SSH into this box over the host-only adapter, no issues there. But I can't get on the internet with it. However, if I disable the host-only adapter, then I can access the internet (but obviously I can no longer SSH into it over the local tunnel).    And finally, here is my netplan yaml config:  # This file describes the network interfaces available on your system # For more information, see netplan(5). network:   version: 2   renderer: networkd ethernets:   enp0s3:     dhcp4: yes     dhcp6: yes   enp0s8:       dhcp4: no     dhcp6: no     addresses: [192.168.52.101/24]     gateway4: 192.168.52.101   Any ideas? It seems like maybe all my outbound traffic is routing through the host-only adapter somehow.  Edit: attaching the output of ip route list in case it helps.  default via 192.168.52.101 dev enp0s8 proto static default via 10.0.2.2 dev enp0s3 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.15 10.0.2.2 dev enp0s3 proto dhcp scope link src 10.0.2.15 metric 100 192.168.52.0/24 dev enp0s8 proto kernel scope link src 192.168.52.101
95511
No, this ain't a duplicate of , as this explains how to restore eth0 naming, but not how to individually name a specific interface.  I don't want to assign based on MAC match. All I need is to assign name based on the USB path.  When I plug in an USB network adapter, on Ubuntu 17.04 it gets assigned a network interface name based on its MAC, such as encx000000000000. Now I would like to rename it to something more telling, based on its ID_PATH=pci-000:02:03.0-usb-0:1:1.0. In particular, I don't want to match based on MAC address. The rationale is that after interface replacement all would break down, but if someone simply replaces network interface hardware so that the new hardware is in the same place as the old one, the system will tuck on without needing IT and reconfiguration support.  So I created a file /etc/systemd/network/50-my-island.link:  [Match] Path=pci-000:02:03.0-usb-0:1:1.0 [Link] Name=island0   Unfortunately, the name is never assigned. Using udevadm info I can see that there is ID_NET_NAME=island0 set, but it does not apply. Trying NamePolicy= or NamePolicy=name under the [Link] section doesn't help either.  I'm lost! How can I assign my name in the .link file to my USB network adapter? Is this possible at all without resorting to some udev rule? Why then having .link files at all when they don't seem to work in my case? Where did I make an error?