Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

Manipulating skb_header_pointer using sockets [migrated]

I'm trying to create a test to show that the patch for CVE-2014-2523 has been correctly applied to our system. The issue is that a netfilter module has a few faulty calls made to skb_header_pointer. ...
4
votes
1answer
51 views

Create map network_iface_name <--> IPv4 address

I'd like to implement a bash script that creates a mapping between the network cards (or interfaces) names in my computer and their IP address (in CIDR format, if possible). The goal is having ...
0
votes
0answers
23 views

Kioptrix Level 1: Determining IP information for eth0 failed

I'm trying to set up a Kioptrix VM in VMware Player, in order to analyze it from a separate VM using Kali Linux. The VM can be found on this page: http://www.kioptrix.com/blog/test-page/ When ...
3
votes
1answer
72 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
0
votes
1answer
41 views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
1
vote
1answer
72 views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
0
votes
0answers
15 views

Once connection is lost wi-fi cannot be brought up again

I'm running Arch, using netctl-auto to connect, and it connects well. However, as soon as the connection is lost (e.g., timed out in a network where connection must be renewed after a period of ...
0
votes
0answers
60 views

How to make linux see my internet connection?

I'm sort of booting off of a Mint 17 LiveCD (the situation is described here: How can i make my pc boot back into windows?) and the network does not work. It's wired if it matter. I've also tried to ...
1
vote
1answer
27 views

masscan. how to configure Linux?

I've set this in my sysctl.conf: net.netfilter.nf_conntrack_max=268435456 Because, this border 16,777,216 achieved very quick. Also, I've decrease timeouts: net.ipv4.tcp_fin_timeout = 30 ...
1
vote
1answer
55 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
5
votes
1answer
59 views

Testing whether a file is local

I need to test in a script, whether a file is from a network mount or truly local. To be more clear: I need to test, whether parsing the contents will be fast or slow, but for my case local vs network ...
2
votes
1answer
65 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
1
vote
0answers
53 views

Guest VMs unable to ping each other within a custom host-only network in vmware workstation

I have created a custom host only network VMNet2 (without dhcp) in VMware workstation and connected my three VMs with this network. But the problem is: I cannot ping any VM from any other VM. However ...
0
votes
0answers
19 views

lost packets using traceroute

using mytraceroute I see 50% of ICMP echo request lost: 192.168.1.212 is internal server while 192.168.5.1 is my router: Host Loss% Snt Last Avg ...
3
votes
3answers
46 views

What happens to local LAN traffic on linux to non-loopback addresses?

One thing I've never quite understood on Linux is what happens to local traffic that isn't directed at loopback. For example, given the following network setup: [root@pe-323-master ~]# ifconfig eth0 ...
3
votes
0answers
57 views

Trying to understand Auto reconnect WIFI method

Iv'e found this method of reconnecting the WIFI dongle from this post , but want to be clear on how it works, before I try and implement it. 1) Go to /etc/ifplugd/action.d/ and rename the ifupdown ...
2
votes
2answers
115 views

How do I set the preferred wireless network in Linux Mint 17?

I'm currently in an environment with two wireless networks: OrganizationFoo, which is present pretty much everywhere I go, and OrganizationFooSubset, which is only present in a certain location. When ...
1
vote
1answer
98 views

SSH: Network is unreachable (caused by router)

I've searched solution in Google for 3 days, when I decided to write here. I have a router, so in my house is WLAN. I use laptop when I stay at home. In another city in my office I have a second ...
1
vote
1answer
52 views

Capture web traffic grouped by individual TCP streams

As far as I know a HTTP request and response constructs one TCP connection. To debug a web application on a GUI-less server, I'd like to be able to capture these TCP streams in a single ...
2
votes
0answers
15 views

Set up a failover route when remote host unreachable [migrated]

I have a Debian Wheezy server tunned by Xivo (let's named it A), this server has 2 interfaces: eth0 and eth1 There are no default gateway and only few server are statically reached from A. eth0 have ...
3
votes
2answers
64 views

Testing the Success of a Congestion Algorithm

How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms. I'm current looking at ...
2
votes
3answers
98 views

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that. However, now I am unable to access the Network ...
1
vote
0answers
28 views

Packets sent through TUN interface not routed

I have a C program attached to a TUN interface. In my C program, I'm building packets and writing them to the TUN interface. Now to check if packets are really sent from my TUN interface I use ...
1
vote
2answers
56 views

Start the networking from scratch

Let us assume I have a computer that for some reasons has had all the networking information, in particular the stuff in /etc, wiped. Furthermore whatever caused the information to be wiped prevents ...
1
vote
2answers
115 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
0
votes
0answers
31 views

Tools to inspect local network, and find local IP address of device?

This is my specific context (Latex/TikZ code for the diagram below): Now this local "Router", has broke down several times, and several different devices have had its role (sometimes they have a ...
1
vote
0answers
48 views

How do I control ip routing in the new firewalld?

I have the following scenario: Our fedora server is connected to the internet on eth0 and has a second nic, wlan0 acting as an access point. The purpose of the access point is to provide a connection ...
1
vote
1answer
80 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
0
votes
1answer
66 views

What is the foolproof/proper way to set hostname and domain on CentOS

I've seen a few ways of changing hostnames of domain names. One way is to issue the hostname command followed by the name such as: hostname localhost.localdomain /etc/sysconfig/network also has a ...
3
votes
3answers
49 views

linux interface to get connected IPs

Is there an interface to get the currently connected IPs and their state in Linux? I am aware of ss and netstat, but I want to use /proc/ or some other "official" kernel interface that already has ...
3
votes
0answers
82 views

Ubuntu eth0 not detected

After installing a new version of this distro, eth0 is not detected automatically. command inxi -SNxz result: Network: Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe bus-ID: 01:00.0 ...
1
vote
1answer
15 views

Re-routing request and response to server behind a VPN

My situation is as follows: I have a server (A) set up with a VPN connection to a third-party server (B). I have a collection of other servers (C, D, E...) that share the same private network as my ...
0
votes
0answers
15 views

Flow control configs for ethernet interface gets reset in few seconds

I set the RX & TX flow control (aka "pause parameters") configs to an ethernet interface, as such: sudo ethtool -A eth0 rx on tx on When viewing the configs with sudo ethtool -a eth0, only RX ...
5
votes
1answer
147 views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
1
vote
2answers
59 views

Is it bad to select remember me option in the browsers of a compromised machine?

I was reading an article on how to sniff network packets. (of course for knowledge purposes only). I came across these particular lines. For instance, say I was sniffing traffic on the network, ...
1
vote
1answer
40 views

Configure NAT filtring behavior with iptables

I'm using this rule to configure SNAT: iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 193.49.142.107:4000 I want to specify a rule to filter out packets not destined to the internal ...
0
votes
0answers
22 views

How can I make CentOS 6 treating WiFi flexibly like Ubuntu 12.04?

In my office, I have AT&T Uverse. The router is a 2wire 3600HGV. The WiFI is provided by a Cisco Linksys E1000 that is plugged in the 2wire device. With my notebook running Ubuntu 12.04 LTS ...
1
vote
2answers
35 views

what is 'smakynet' in the netstat result?

after logging into a server, I used netstat to check out the ports of this server and wanted to find which port was communicating with me My IP is 143.248.143.198 and my search results are like ...
1
vote
0answers
10 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
2
votes
1answer
45 views

Why is the 'foreign address' not IP address but something like this?

I never learned network programming and this kind of stuff properly. Only know very basic stuff like IP address and just a vague concept of what ports and TCP/IP are. Here, I connected to my lab's ...
1
vote
1answer
57 views

Randomize external port when doing NAT with iptables

I want to configure a NAT behavior different from the default one implemented by iptables. In this example: iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 193.49.142.107:2000-400 The ...
1
vote
1answer
30 views

Monitor internet for dropouts

I've been having issues with my wifi with frequent drop outs. So I've decided to check if the drop outs are wifi related or internet related by connecting my laptop via ethernet and monitoring it for ...
3
votes
1answer
49 views

Replacement to CUPS Browse Protocol

The CUPS "browsing" protocol was marked as deprecated being removed at v1.6 of CUPS, due to problems with broadcast and managed networks/WiFi. It's an UDP protocol to broadcast information about ...
1
vote
1answer
65 views

ssh ubuntu to android : No route to host

I am trying to log into my android phone (running sshdroid), using my laptop (ubuntu 12.04). I am on a university sub-network (on wifi), and so is my phone. I tried the following command: ssh ...
3
votes
3answers
98 views

Is there some way I can start a (repeating) ping while the network is unreachable?

My ping command (on Debian 6 or 7) will repeatedly attempt to ping a server even while the network is down, if the network was up when it was started. Is there some way to start ping while the network ...
3
votes
0answers
26 views

Linux network stops when transferring files [duplicate]

Running Debian, when transferring files from the server to my pc, the transfer is suddenly interrupted. Some smaller files (couple of MB) seem to work most of the time, but bigger files mostly fail at ...
3
votes
2answers
103 views

WiFi not working after restoring from hibernation (authentication times out)

My Intel 6205 wireless network card does not work after hibernating. It sometimes also does not work on boot, failing in the same way. Occasionally, it also stops working after ~10 minutes of ...
1
vote
1answer
38 views

LVS is not accessible from the outside

I'm currently busy setting up a LVS - Linux Virtual Server: root@debian1:~# ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port ...
0
votes
0answers
94 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...