Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
79 views

Enforce strict outbound ports (or ranges) for protocol

Is it possible to narrow the allowed range of outbound ports that can be used for a specific protocol (e.g. HTTP(S))? I understand that, by default, the system will randomly allocate any available ...
1
vote
3answers
416 views

Packet analyzer to intercept and filter incoming traffic before any client app

I am curious if most Linux distros make it possible to intercept incoming network traffic as soon as it enters the system and filter its content based on some rules before any other client can use it ...
1
vote
0answers
186 views

No AirPlay in XBMC on EeePC (Debian)

I have a Asus EeePC (900 model I think) and I've installed Debian 6.0 on it. I've managed to get WiFi working on it and I've installed XBMC. It's working with our NAS drive on the network but for some ...
2
votes
1answer
88 views

Custom application running on embedded device - do I need to register my listening port in /etc/services?

I have written an application that will run on an embedded device. The installation is very minimal and uses busybox and not many other things. Part of the software includes a listener thread that ...
0
votes
1answer
165 views

Local host always being added to /etc/hosts.deny when trying to SSH

I have a rather odd problem with my server. For some reason the local hostname for my workstation keeps getting added to the /etc/hosts.deny and when I try to SSH I get: ssh_exchange_identification: ...
0
votes
0answers
601 views

Tools to find OpenVPN UDP packet corruption

Are there Unix tools to troubleshoot UDP packet corruption? I'd like to avoid writing my own... I think ping might report when a packet is corrupted, but it doesn't really seem to have options ...
0
votes
1answer
151 views

Samba connection slowness after ip change

we have encountered with a problem when we chaged the samba server's ip address. There are so many OS varies from Windows,GNU/Linux, Solaris and IBM. The samba server is running on SOlaris. And all ...
25
votes
1answer
751 views

Why does it take up to several minutes to clean a listening TCP port after a program dies?

If I kill a program that is listening on a TCP port, it takes up to several minutes until the port is reclaimed by the system and usable again. I've seen several Q/A mentioning this phenomenon, but ...
5
votes
1answer
2k views

Very slow response from localhost when pinging

Networking is working fine on my gentoo machine. One connection is made, everything works fine with normal speed. But it is slow to wake-up : starting up connection is taking time. Even pinging ...
0
votes
1answer
7k views

Use of /etc/sysconfig/network-scripts/ifcfg-eth* files

What's the use of /etc/sysconfig/network-scripts/ifcfg-eth* files ? In some cases ifconfig lists the interface eth0 but I don't find the corresponding ifcfg-eth0 file whereas in other instances if I ...
5
votes
2answers
3k views

Use an USB tethered phone as network adapter

I am running CentOS 6 and was able to tether my HTC phone using a proxy called proxoid . This allows me to redirect HTTP. But how do I redirect the entire TCP traffic, e.g. if I need to setup openvpn ...
2
votes
1answer
405 views

Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?

I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements: Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
2
votes
2answers
3k views

Guest OS Ubuntu 12.04 no network connection

Recently added a new *.VDI image with Ubuntu 12.04 to my existing VirtualBox. The machine hangs with a "Waiting for network configuration" error, eventually times out after 60 seconds and boots in ...
2
votes
2answers
125 views

Remote access SSH problem

I have been asked to setup a lab with 1 PC (fedora 18 OS) and 4 SGI (IRIX 6.5 OLD OS). I am using a switch to connect them to university's network, and I asked tech guys to assign static IPs to them. ...
13
votes
4answers
1k views

Is there a top-like command that shows the network bandwidths and file accesses of running processes

For example, we'd like to see: PROCESS IF TX RX FILE(regular) R/W prog1 eth0 200kB/s 12kB/s -- -- wlan0 12kB/s 100kB/s -- ...
-1
votes
2answers
4k views

Unable to connect to remote host using ssh

I have recently installed Fedora in my system. But I am facing some problem in ssh login from remote machine. I am able to login in that system but every time its requires me to login using GUI in ...
3
votes
1answer
243 views

Is there a way to renice the network stack?

I have an ARM Linux board that is a router to 16 other boards. When all these download their updates via the router, the network routing effort starves the user space so that a software watchdog (and ...
5
votes
2answers
4k views

Network naming on Arch Linux

I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0, now I've reboot but if I type: ifconfig wlan0 up I have as a result: wlan0: ERROR while getting ...
2
votes
1answer
3k views

How to monitor other nodes to get RSSI?

I need to measure RSSI between two peers of nodes in same network. If I have these two information: SSID for their network. IP for the target node to get the RSSI regarding it. So I found this ...
1
vote
2answers
2k views

Why TCP TIME-WAIT State is present at both ends after a connection termination?

I am reading how the TCP states work and especially the connection termination part. All of the books or online material I read, shows that for the termination procedure these states are followed ...
3
votes
3answers
145 views

How to use a “hardware key” to control Linux networking

Sometimes I have trouble controlling myself while in front of the computer and I tend to procrastinate a lot doing Internet surfing. Fortunately I do not need Internet for most of my work. So I would ...
1
vote
1answer
621 views

No DNS on Debian wifi after unplugging the DNS cable

I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
8
votes
2answers
15k views

Getting current TCP connection count on a system

Instead of doing wc -l /proc/net/tcp, is there a faster way of doing it? I just need a total count of tcp connections.
3
votes
2answers
642 views

tshark dump only when string is matched

I'm working on a web capture script where I only want to dump the traffic if the HTML body or URL contains a string defined in a .txt file. Here is my tshark command which dumps src ip dest url (HTTP ...
1
vote
1answer
2k views

With two interfaces, how can I make one the default route and the other an alternate?

I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi) My idea is to route all traffic to eth0 ...
2
votes
3answers
2k views

Can conky monitor other Linux computers on the network?

I know conky can monitor my personal computer, but can it monitor the other Linux servers I have on the network? I'd like to see data on CPU and memory usage and some critical processes each server ...
1
vote
0answers
2k views

Openswan established NATed tunnel but, I can't ping remote end's lan PC

I am establishing site to site tunnel. 192.168.2.0/24===10.103.6.40<10.103.6.40>---10.103.6.1...10.103.6.29<10.103.6.29>===192.168.1.0/24; Local ip: 10.103.6.40 Local lan: ...
3
votes
1answer
840 views

Route SSH to host through interface

Is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected? Since my IP is dynamic, I would like to use a name ...
1
vote
1answer
497 views

3G-modem for Linux supporting USB 3.0

I've laptop with three USB3.0-ports.OS is Linux Mint 13 (yeah, it's Ubuntu-based). My modem Huawei E1552/E1800 could work in two modes: 1) as flash with drivers 2) modem The device is operating as ...
1
vote
1answer
135 views

Help understanding interfaces in Backtrack

I am fairly new in UNIX and have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces. I am ...
1
vote
1answer
2k views

How can I disable IPv6 in custom built embedded setup

I have an embedded system built using buildroot. I have had a number of network issues, one of which is that my machine cannot see its gateway despite it being on the same subnet. I have tried using ...
1
vote
0answers
441 views

lxc networking quesion

I have a similar requirement to the OP of this thread. I want the following configuration: -Physical host (PhyHost) reachable from the network at IP 10.1.101.89 -LXC container (LxcHost) ...
2
votes
0answers
332 views

Periodicaly dropping packets [closed]

I'm here on an Ubuntu 12.10 Dell machine. Every 8.5 minutes packets get dropped, I don't lose the connection completely but for some seconds, no connections are successful. I had this problem before ...
1
vote
0answers
99 views

Network not working after fiddling with webmin

Can some please help me restore my networking? I have a VPS CentOS 6.3. Few minutes ago it was working well, Except I couldn't connect to the Yum repository. So I thought I could change some settings ...
4
votes
1answer
637 views

Incoming/Outgoing seperation for VPN

My situation is that I want all my outgoing connections from my Debian server to pass through a commercial VPN service I've subscribed to, but I still want to run public-accessible services on this ...
3
votes
1answer
438 views

Alternative to mrouted for DVMRP on Debian Squeeze

I need to implement DVMRP protocol to route multicast over Openvpn (tun) connection for some old 3Com NBX phones. I use Debian squeeze so mrouted is not available (obsolete). What can I use ...
5
votes
1answer
414 views

Simulating user activity

I want to simulate user activity on a virtual machine in a completely automated maner. That is, I would like to run a program or a set of scripts that would simulate an user using a computer for an ...
1
vote
1answer
210 views

ifconfig: more different device items than physical NICs/sockets

I have a simple router for home users (D-Link DIR-300) with embedded Linux (kernel 2.6.21) and a bunch of networking tools. Inspecting the internals of of this system through telnet, I've got this ...
0
votes
2answers
2k views

Is /etc/resolv.conf needed when using a static IP address?

I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with iface eth0 inet static ...
1
vote
2answers
222 views

Can Linux PC serve as network router?

I was wondering if it is possible for Linux PC to substitute router in small networks. I'm not expert in networking so this question may be stupid, but I don't see why one should not use Linux ...
1
vote
1answer
422 views

Unable to get embedded device to ping anything on the network

I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
2
votes
1answer
1k views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
2
votes
1answer
2k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
1
vote
2answers
720 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
0
votes
0answers
90 views

Wired connection going through wrong router

My son has a problem not getting a cosistant wifi signal in his bedroom so he uses another router wired to the gateway. The problem I have is that when I connect to the gateway his router issues me my ...
0
votes
1answer
629 views

Allowing access to NetBIOS port in Fedora 18?

I've recently installed Fedora 18 on one of the machines in my office, and I've installed Samba so I can browse the file system on my Windows machine. However, I'm having some trouble opening port ...
1
vote
2answers
786 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
6
votes
2answers
6k views

Ephemeral port : What is it and what does it do?

I suddenly came across the term "ephemeral port" in a Linux article that I was reading, but the author did not mention what it is. What is an ephemeral port in UNIX?
1
vote
1answer
241 views

kvm guest Network interface no Authenication

i have a kvm host based on ubuntu 10.04 host , and the guest is rhel 5.3 64-bit, on the guest i tried to execute mii-tool eth0 SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 ...
1
vote
1answer
1k views

NSLookup how to interpret output

Hi can someone help me to understand what this NSLOOKUP command's output [x]$ nslookup sample.abc.com Server: 161.43.32.162 Address: 161.43.32.162#53<-- ??? Name: sample.abc.com ...