0
votes
0answers
34 views

Why isn't the loop back interface replying to injected ICMP echo request?

I want to be able to send IP packets from a userspace program and receive responses on a TUN interface. To test, I'm injecting ICMP icho requests to the loopback interface from a user space ...
0
votes
0answers
35 views

Using Tap/Tun to intercept packets at IP level

I am working on a research project involving ARP poisoning. I would like to intercept packets on the IP level. If my machine receives a packet with an IP address not destined to it's own IP ...
1
vote
2answers
49 views

How do I delay tcp traffic on a socket?

I would like to test the interactions between a client program and a server program for race conditions. They connect to each other via tcp. The client does blocking calls to the server on multiple ...
1
vote
1answer
25 views

NetBIOS replying only to external requests

I have some IPs on the internal network I'm 100% sure have netbios enabled. (I say "internal network", but all the IP octets differ. It is just the same institution and geographical location). If I ...
0
votes
1answer
211 views

Setting up a working internet connection in solaris 11

the title of this post states most of my problem. I am trying to connect to the internet for like 3-4 hours. But for being a total newbie at unix environment I failed pretty badly. How can I configure ...
0
votes
2answers
98 views

ifconfig command on mac does not show IP address

When I run ifconfig, eth0 is not shown, and only en0 is displayed: >> ifconfig en0 | grep inet inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255 When I type My IP in Google, my IP ...
0
votes
1answer
55 views

adding a static route to a unix system

I am using a UNIX compatible distribution (unfortunately I can't disclose the OS) as a router for a shared internet connection I need to add a static route such that any HTTP request to my.router.com ...
0
votes
0answers
261 views

Cannot connect to local ip address OSX (Mavericks)

Here is the situation: I can ping and connect to localhost / 127.0.0.1 I can resolve hostname (dig / nslookup) I can ping my ip local ip address (10.63.66.185) and hostname from another machine I ...
0
votes
0answers
57 views

Exposing one network interface through another on Mac OS X

I have a network interface, as specified by ifconfig inet0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1400 ether 44:44:44:44:44:44 inet 20.23.10.51 netmask ...
1
vote
2answers
422 views

Unix ping and host commands result in different IP addresses for the same domain name

My understanding is that the unix ping and host commands should generate the same IP address given the same domain. If you look at these two commands: $ ping api.dev.myserver.com PING ...
2
votes
1answer
76 views

SCP command Clarification

I'm using the scp commands to pull some files from the remote server and one variation of the command is not working. I have 2 files names one.xml and two.xml in a remote server and I'm pulling these ...
0
votes
1answer
176 views

Tunneling to access a remote server: channel 2: open failed:

I've tried looking at similar articles here but they haven't helped. I am using a tunnel to forward traffic to port 8080 of a server using the following command: ssh user@ -L 8080:SERVER:8080 -N It ...
2
votes
1answer
100 views

rsync via gateway ssh while defining .pem key

I need to sync my local files through a gateway to an Amazon EC2 instance that requires specifying my .pem key. I can do this as a three step like so (assuming no typos): rsync -avzh -e ssh ...
7
votes
1answer
983 views

Using HDMI port as network protocol interface?

I was wondering if it's possible to use the 10.2 Gb/s HDMI port on several computers as a backbone networking interface for a home made cluster? Is there some kind of HDMI switch? Can HDMI transport ...
3
votes
5answers
9k views

how to use netstat to show what process is listening on a port

I'm on an OS X mountain lion laptop and have a couple of Vagrant boxes on it. I'm trying to figure out which process is listening on port 8080. My variations produce like a hundred lines but none ...
0
votes
0answers
151 views

Install a VPN Server on Ubuntu or CentOS which is router compatible

I am new to this networking stuff and for the last three days I have been trying to install PPTP VPN Server on my Ubuntu. Computers running XP can connect to it without a single problem, but when I ...
0
votes
0answers
754 views

How does iptables masquerading allow to access a different local subnet?

My Linksys router (IP 192.168.1.1 inside a /24 subnet) is connected to my ADSL modem (IP 10.0.0.138 inside a /24 subnet) to establish an internet connection via PPPoE. To be able to access the modem's ...
-2
votes
1answer
103 views

Configure the Ethernet Interface from the Command Line

I have connected to a Virtual Server with an SSH client using IP address: 172.xx.xx.154/22 I have been asked to configure eth1 to 172.xx.xx.155/24 with gateway IP Address of: 172.xx.xx.1 Any help ...
1
vote
1answer
56 views

Show network traffic over time in Unix

Some VPSes charge for outgoing network traffic per month, so how can I check on the Unix command line how much outgoing network traffic has run so far this month? An ASCII graph where X is days and Y ...
0
votes
1answer
56 views

How can I see which programs/users are talking to which network addresses and how much ? (Unix/Ubuntu) [duplicate]

Possible Duplicate: Is there a way to find out what application using most of bandwidth in Linux? I'm interested in which programs are using my network connection and how much. I wondered ...
2
votes
3answers
2k views

How to test stability of wireless router

I had a wireless router that would intermittently drop connections, so I had switched to using a different router. I have since updated the firmware on the problematic router. Is there an easy way to ...
4
votes
1answer
1k views

Access Apache server running in Fedora guest VirtualBox from host

I have trouble accessing Apache server from host. I’ve Fedora 15 VM VirtualBox installed on Windows 7. Within this VM I have Apache server running and working fine within the guest. Not sure what ...
0
votes
1answer
107 views

Tunneling from one unix server to other unix server using ssh

I am trying to connect one Unix server to another. Direct login is possible, but logging in through a tunnel is failing. I'm creating the tunnel connection using: ssh -N -f -L 6002:bsc2:22 ...
0
votes
1answer
61 views

Is it possible to open server ports on TUN devices?

If I make a VPN connection to a server (say myvpn.com; assume this server is not behind any router/firewall) via a TUN device and open a port (say 5555), will someone else be able to connect to me via ...
2
votes
2answers
3k views

What is the difference between curl, wget and telnet commands?

As far as I'm concerned, one can use curl, wget and telnet commands on Linux/Unix machines for the same purpose. What is the general differences between these commands and normal use cases?
1
vote
1answer
62 views

My sleeping process accepts TCP connections?

After sending the STOP signal to a process, it stops working as expected, but still accepts TCP connections. So is it working anyhow?
1
vote
0answers
159 views

tcpdump loses connection

I'm on Ubuntu – but it's the same on Debian. I'm using tcpdump in order to track the connection of computers on my private network. At some point, the internet connection of the computers launching ...
0
votes
0answers
96 views

Why the wireless connection in linux ubuntu often disabled suddenly?

I am using linux ubuntu. When I want to use a wireless or LAN, the connection is often turned off by the sudden. But suddenly the connection back to normal anyway. Maybe there's anyone who can help ...
4
votes
1answer
874 views

How do I get the computer name from an IP Address in Unix

I want to find a computer on my network, I have the IP address but not the name. How do I get the name? Thanks
0
votes
1answer
399 views

how to up/down remote NIC card or PORT using ifconfig or any other command?

please tell, how to remotely up and down the port using ifconfig unix command? $ ifconfig eth0 down $ ifconfig eth0 up where eth0 is my nic card interface!
0
votes
3answers
3k views

How do I figure out which user is behind an IP address?

I was able to get a connected IP addresses on my network by pinging the broadcast IP. Now how do I figure out more information about that individual IP address, say it is 192.168.0.199? Can I say ...
3
votes
3answers
7k views

Ethernet port not showing up in ifconfig

I asked this question on ubuntuforums.org, but haven't gotten any responses. I am new to Ubuntu, and am having trouble getting my onboard ethernet port working on a fresh install of Ubuntu 10.04 ...
4
votes
1answer
403 views

sshfs: cannot set file timestamp

Using sshfs with autofs on Ubuntu, I cannot set timestamps on remote files: $ touch /sshfs/server/some/file touch: setting times of `/sshfs/sshfs/server/some/file': Permission denied I do have ...
1
vote
2answers
52 views

What's appropriate hardware for getting started with UNIX network programming? [closed]

I'm interested in learning more about UNIX networking (socket programming etc). I prefer to use FreeBSD. What's appropriate computer hardware to purchase and get started on? I know this is a basic ...
4
votes
1answer
407 views

Why does Windows have a Unix-style etc/hosts? [closed]

Why does Windows have %systemroot%/system32/drivers/etc/hosts, as opposed to something more "Windowsy"? It feels like a relic from the BSD derivative Windows got some bits from eons ago. Is this ...
2
votes
2answers
74 views

How do I scan network requests of a software connecting the internet?

I'd like to know some way to scan programs networking activities. I mean record outcoming data sent by a program (e.g. program updater or a program itself). I guess this could be done using Wireshark ...
1
vote
1answer
296 views

lsof get traffic size with server

I have a server can I use lsof to find on a specific port the amount of traffic passed with servers? I used so far this in order to sort by highest size, but what info to i really get? how can I know ...
2
votes
2answers
64 views

Adding devices elsewhere on a network to /dev

I was wondering if it were possible to add devices to my computers /dev folder over a network. In linux philosophy, everything is treated as a file, and if I can have my /home/user1 and /home/user2 ...
1
vote
6answers
9k views

How can I get the IP address of a remote Unix/Linux machine whose name I know?

I have a Unix/Linux machine aster-star-98 in our company but it's on a different network. How can I get the IP address of that machine? If I could enter the complete address of the machine and ping ...
5
votes
1answer
3k views

ssh reverse tunnel listens always to localhost

I use the following command to set up a reverse tunnel: ssh -i dev.pem -vvv -R 8480:localhost:8080 user@host.com "sleep 6000" What ends up happening is that ssh starts to listen to the lo device, ...
2
votes
1answer
7k views

Unix: How to “refresh” network connections

I have a VM running Ubuntu and I'm experimenting with the various networking options. The problem I have is that I don't know how to get Ubuntu to "refresh" the network connections after I have ...
9
votes
5answers
1k views

Export NFS path containing “-” (dash)

I'm in a bit of a pinch with NFS exports file. Specifically, I can't find a way to export a directory containing "-" in the path name. Manual (exports(5)) states: Also, each line may have one or ...
-1
votes
4answers
11k views

Typical Network Troubleshooting Interview [closed]

I've had a network troubleshooting question asked to me a few times in interviews, that went along the line of: Q: You are sitting in front of your computer (in a corporate setting) and trying to ...
6
votes
5answers
450 views

ports and what they do

I am curious as to what a port number does. Are there specific port numbers for specific things? I know there is port 80 and I heard of 8000 in passing. I don't know why they are called that and ...
0
votes
1answer
458 views

DHCP server inside a virtual machine can't see other machines

I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any ...
0
votes
1answer
1k views

Mounting an nfs directory in UNIX on a system with two NICs

I'm trying to mount a folder located at 10.0.0.1:/pxe/ on eth1 but I'm not sure how to do this with two NICs enabled. The command mount 10.0.0.1:/pxe/ /mnt/pxe/ works fine when I only am using the ...
1
vote
3answers
9k views

How to create a cron job to upload files to an FTP server

I would like to create a cron job that uploads files from a directory on my computer to my FTP server. I would like it to do it daily at midnight. I know pretty much nothing about cron, so I ...
1
vote
2answers
1k views

Can a port be bound when the process has terminated?

Given: a process binds to a port on Linux, and that process is then terminated with either TERM or KILL signals. Is there anyway that the port could still be bound, or will the kernel clean up and ...
1
vote
3answers
214 views

My server has an IP. And I use this IP for everything. What IP is my laptop?

I usually do this: scp something user@ip But, that's because my other server has an IP. What is the IP of my laptop? (What if I am behind a wireless router?) How do I scp into my laptop?