Networking :: HTTP Ping - Brief Textual Description / Round Trip Time

Jan 23, 2011

Is there any tools in linux same as "http-ping. This tool shows for any request :
1-The HTTP return code (and its brief textual description)
2-The number of bytes returned by the server (excluding headers)
3-The time taken to complete the request (i.e. round-trip time)

View 5 Replies


ADVERTISEMENT

General :: Copy Remote Files On Nfs Without Round-trip?

Sep 20, 2011

I have a large amout of data (several GB) on a remote drive, that is transparently mounted via nfs. I'd like to copy these files into a subdirectory of where they are already residing, so everything stays on the same physical disk. For that reason, I would like to prevent an unnecessary round trip over the network.

It seems that cp files* subdir does the naive thing and reads all the data into memory and then writes it back. Is that true? Is there a special command that does the actual copying entirely on the server the disk is physically connected to?

View 1 Replies View Related

Networking :: Failed Http And Telnet Connections To Dns Round Robin Servers

Dec 2, 2008

So we have DNS round robin set up for 4 servers. If we ping dns name (basically an alias) server_connect it resolves with different IP address in round robin format. I.E. x.x.x.1 x.x.x.2 for the 4 different server IP addresses. When we do nslookup server_connect it will come back first time as server1_connect server2_connect through server4_connect so the server is able to resolve through ping and nslookup resolving the initial dns name (alias) to the dns name associated in the round robin. Problem is when we try to connect with http or telnet it comes back host unrecognized. I can put one of the 4 round robin servers in /etc/hosts and it connects fine so I'm thinking that either one of three things.
1) ttl
2) It does double connection first to identify itself to the round robin server and then handshake but second time it hits for the handshake the IP and dns name is different than what it expected so it fails.
3) Since we are trying to telnet to dns alias and it is returning different dns name it fails.

2 and 3 seem most promising but now I'm at a stand still.Anyone else come across this issue and if so how did you resolve.

View 1 Replies View Related

Networking :: Ping And FTP Connection Works But No HTTP?

Feb 6, 2010

My problem is the following:I can only connect to the internet and download through the FTP, but not through HTTP.I am in a hospital at this moment and have a netbook (Lemote Yeelong). Also there is a computer here with internet access.I would like to access the internet by using the cable from the computer.I configured my netbook just like the local computer (same host name, same MAC address, DHCP), just to be sure.I can ping google.com and I also can download from ftp.debian.org though ftp.However, when I try to connect to google.com through epiphany, it just loads and loads without success

View 4 Replies View Related

CentOS 5 Networking :: Lost The Ability To Ping/ssh/http Remote Server?

Dec 21, 2010

Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.

I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:

Quote:
localhost ~ $ ssh -vv x.x.x.x
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0

[Code]....

View 5 Replies View Related

Networking :: Cannot Ping With Command - Ping IP - Address But Can Ping With - Ping IP -I Eth0

Jul 15, 2011

I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.

But if I gave ping -I eth1 <IP> then I can ping.

I cannot install any package, so tell me solution which includes not installing any package.

View 2 Replies View Related

Ubuntu Networking :: Can't Find Internet Connection After A Trip?

Aug 2, 2010

my internet used to work with no problems at all, but then I went on vacations to Spain, and since I came back to france, my computer doesn't want to connect to internet from my house.It doesn't find the wireless connection and now not even the regular wire connection works! I have to admit that while I was in Spain, the computer aked me to install some updates and I did! now, I just have no idea of how to make it work!

View 1 Replies View Related

Networking :: Print AND Real-time Output Of PING Command ?

May 3, 2011

Let's say I am pinging a host, and want to output to a file each reply and its timestamp of when this started.

I know that it can be done with a loop and a shell script. Something like this

DO

echo "$(date)" >> results.txt ###includes the time and outputs results to txt###
ping -c 4 HOST >> results.txt ###a total of 4 pings at a rate of 1 per second###

REPEAT UNTIL USER PRESSES CTRL-C

Now, my first issue is that I need to be able to see results real-time as well.

Is there a way one can print to BOTH a screen and output? If one uses the ">>" command, it is essentially sending everything to the file. Running another ping command in parallel is not an option.

View 3 Replies View Related

CentOS 5 Networking :: ICMP Ping Latency Grows Over Time

Apr 20, 2011

I have a dedicated host on my lan to monitor other hosts/services using Nagios. I'm in the process of migrating to Zabbix on that host to perform the same purpose. Both Nagios and Zabbix monitor icmp ping latency (Nagios uses ping, Zabbix uses fping) and over time the latency to other hosts grows until threshold alarms are triggered. In one week, the average latency grows from sub-millisecond to over 100 milliseconds, and continues to grow until the Nagios host is rebooted. I have verified the latency numbers using ping/fping from the command line on the Nagios host.

The problem is that pings from the monitored hosts to the Nagios host show normal latency at the time the Nagios host is showing high latency from itself to the monitored hosts. The Nagios host and monitored hosts are all connected to the same Dell 24 port gigabit switch. I already posted this question on the Zabbix forums with a graph of the latency but there were no answers. [URL] why the icmp ping latency is growing over time and how I can fix it short of rebooting the host on a schedule.

[Code]...

View 5 Replies View Related

Fedora Security :: Iptables Masquerade, Can Ping But No Http Access?

Dec 13, 2009

I've got two routers, 10.0.0.0/23 and 192.168.2.0/24, which are joined by a Linux box with interfaces eth0 (10.0.0.2) and ra0 (192.168.2.2). I've got masquerading for ra0, and a route to 192.168.2.0/24 on 10.0.0.0's router. I CAN ping hosts on 192.168.2.0 from 10.0.0.0 just fine, but I CANNOT access web pages.Strangely, If I enable masquerading on eth0, and add a route to 192.168.2.0s router to 10.0.0.0, I can ping AND access web pages from 192.168.2.0Here is my current iptables

Code:
*filter
:INPUT ACCEPT [0:0]

[code]...

View 14 Replies View Related

Networking :: Craft A Valid Http/1.1 Request For Getting Http Headers (not The Html File Itself)

Sep 27, 2010

Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.

nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....

I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.

View 2 Replies View Related

Networking :: Port Bonding Won't Use Active-backup Using Round-robin?

Dec 9, 2010

I'm trying to configure my Red Hat server to use port bonding for two interfaces going to a switch, and I followed this redhat guide [URL]...-redhat-server but when I attempt to bring the bond up, it simply uses mode 0 (round robin) instead of mode 1, which I specifically configured in /etc/modprobe.conf by doing

Code:
options bond0 mode=1

Any ideas why the bond would continue to use round robin when I set it to active-backup?

View 2 Replies View Related

Networking :: Use Round Robin DNS Service For Setting Up A High Availability Solution?

Nov 16, 2010

we use round robin DNS service for setting up a high availability solution ? i want to know whether it will work.

View 1 Replies View Related

Networking :: Debian 5 - After SysCp Installation And Configure Ping Valure - Ping - Unknown Host

Jul 9, 2010

Ive got a problem on my server ....installed Debian 5 , Webmin and than syscp settung up syscp ready ....

I try to ping "localhost" ansver ping: unknown host
I try to ping "localhost." there is a host with IP 127.0.0.1

I need it to change it in "localhost"

Is that the bind9 maybe?

View 1 Replies View Related

Ubuntu Networking :: Unable To Ping Over Wireless But Can Ping Over Wired?

Jul 24, 2010

I have two machines on this network, one running Ubuntu and the other running Fedora.

When I'm using the Wireless network on the Ubuntu machine, I cannot ping the Fedora machine. Everything else works. I can browse the net fine.

If I switch over to the Wired Network then I can ping the other machine.

I don't understand why ping doesn't work only over the Wireless. I can ping the router so I'm guessing it's getting blocked by the router but I didn't block ICMP traffic.

I tried asking on IRC and they ran out of ideas too to find out where the problem is.

View 7 Replies View Related

Ubuntu :: Edit Background Color Of Some Textual Output In Terminal?

Dec 28, 2010

When I type (in new 10.10) soem cmdline comands like "ls -l" then some of the directories have a different fore-and background color (e.g. black on green) while the remaining other directoreis are blue on white.

Where can I find out the meaning of the diferent colors and how can I change them?

If I go to menu

Terminal->Edit->Profile Preferences->Color

then I can set only the full overall background and foreground color. But here only certain parts have a different color. the main color (black on white) is suitable. I do not use system theme.

View 4 Replies View Related

Networking :: BIND9 SLOW Ping When Ping By Hostname

Feb 1, 2011

I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.

I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.

I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.

Configs below:

Ping by hostname - there is a 5-6 second delay between each one of the responses:

Code:

Ping by IP - the responses come VERY quickly one after the other:

Code:

/etc/resolv.conf:

Code:

Code:

rev.0.168.192.in-addr.arpa:

Code:

View 10 Replies View Related

Networking :: Can't Ping Past Gateway / Can Ping Server From Outside

Apr 29, 2010

So, I have an Virtual Machine running CentOS 5.4. It sits behind a hardware firewall which also does NAT'ing. I've set up plenty of these, so I know for sure the firewall and NAT rules are set up correctly. From the host, I can ping anything in my subnet and the gateway. But I can't ping anything else beyond the gateway. I can perform DNS queries and when I try to ping, it finds the appropriate IP address.But from the outside, I can ping the PUBLIC address (It's a 1 public to 1 private address NAT, not 1 public to multiple private). I've tried it with IPTABLES on and off, with no change.

View 11 Replies View Related

Networking :: Ping Connection To Router OK But No Ping Between Boxes In LAN

May 26, 2010

I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.

Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.

View 2 Replies View Related

Programming :: Sockets - P2 - P3 Http Connection Taking More Time Than The Expected?

Mar 31, 2011

Iam using socket programming in one of my problem. The scenario is like this.

=>one module is working as a socket server(process p1) is able to handle client sockets on that port.
=>one module is working as socket client (process p2) is connected to server socket and Tx/Rx data on this socket. This module has some more threads, based on received data from server socket it will connect to http on other thread and get information...
=>one more module is working as socket client (process p3) is also connected to server socket and doing some other transactions.

Here my problem is when in presence of p2, p3 http connection taking more time than the expected. If we wont start p3(means only one server-client socket) then http connection is fast enough.

View 1 Replies View Related

General :: High Ping Time On Ubuntu 10.10?

Mar 2, 2011

ubuntu 10.10 with broadcom wireless adapter when i make ping on google i got: time=2000 ms i tested on another computer i got 350 what the problem?

View 2 Replies View Related

Ubuntu :: Hibernate For A Brief Trip To Windows And Return?

Nov 22, 2010

First of all, I searched the forums but I couldn't find anything- I don't want to be the poster who posts something that's been solved 14 times already Anyway, primary question first and then "why" below- I was wondering if there was a quick way to hibernate Ubuntu to Swap -> boot to Windows 7 and work -> Hibernate Windows 7 -> boot to Ubuntu and work, repeat until Windows glitches

I have, new Acer Aspire:
i3 370M
4GB RAM
640GB HDD as follows, from inside to outside:
X GB 3 Primary Windows partitions, 125 GB unnallocated, 50GB /home, 6 GB .boot, 4 GB SWAP

Ok, why would I want to do that? I ask because while Ubuntu boots fast at just under 1 minute at the end of my hard drive (90Mbps, I had it install from "end" when I partitioned the boot file), Windows boots slowly at about 2.5 minutes on the inside of my drive (23sh Mbps). To be able to switch between them would be useful for iTunes, ProEngineer, Matlab, and other stuff that is Windows based. Windows boots much faster from hibernation. I love Ubuntu, the speed and simplicity and the actual FRIENDLY atmosphere (what a concept WINDOWS) But I find myself needing to do some quick editing in Windows, then I can go back to my business on Ubuntu. Is there some kind of selective boot managing like GRUB that I can bring up after telling one to hibernate? Because once on SWAP, it should hold relatively indefinitely until I return, right??

Any ideas??? It sounds like some clever Terminal coding could manage the Linux side of the booting, but Windows might have to be tricked into a selective boot..

View 9 Replies View Related

General :: Ping To Show The Requests 'time Out' Instead Of Omitting The Output?

Apr 12, 2011

How can I make the Linux ping to show the requests 'time out' instead of omitting the output?

Just like the Windows version of ping.

View 3 Replies View Related

Fedora Networking :: Xp Can Ping 10 - But Can't Ping Xp

May 21, 2009

I have connected xp and fedora through crossover cable . xp has ip address 192.168.0.1/24 (manually assigned) fedora has 192.168.0.2/24 with default route equal to 192.168.0.1

I can ping fedora from xp computer but i can't able to ping xp from fedora computer.

I have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.

Now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.

View 8 Replies View Related

Networking :: Ping Using PHP Exec("ping -n 1 $ip",$output[],$retval)?

Apr 23, 2010

I try to ping with php : exec("ping -n 1 $ip",$output[],$retval); it works fine in window. but in linux i got this error : ping: icmp open socket: Operation not permitted are there any ways to solve this ?

View 5 Replies View Related

Fedora Networking :: VM Can Ping Host And Internet But Host Can't Ping VM

Jan 19, 2010

Host - Fedora 12 64bit
KVM
VM - Windows Server 2008 64 bit
bridge-utils

VM can ping host and Internet but host can't ping VM.

I set VM static IP 192.168.0.205.

It turns out dynamic IP - 192.168.0.55

On host:

View 2 Replies View Related

Ubuntu Servers :: Nagios On 10.04 Server Using Apt-get - HTTP WARNING: HTTP/1.1 404 Not Found

Aug 4, 2010

I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?

View 1 Replies View Related

Ubuntu :: How To Check Last Round Of Updates

Jan 20, 2011

The last round of updates to 10.04 changed the initrd image, which I wasn't expecting. How do I check the updates to make sure that this is in fact the expected behavior? I.e., how do I go back and check which updates were supposed to have been installed, check what was actually installed, and see which one modified the initrd and why?

View 4 Replies View Related

Ubuntu :: Installation Cannot Continue / Go Round It?

Feb 23, 2011

I have been trying to install on my toshiba satellite c655 laptop the ubuntu operating system. Anytime it gets to where i can use it as a live DVD and I would want to install, it gets to stage 3 of 7 and gets stuck. No error messages are given, the install dialog can be minimized and other task done but the installation will never continue. Anyone with idea about how to go round it.

View 3 Replies View Related

General :: Round Disk Space With Awk?

Jun 2, 2011

I want to use awk to list all the mount points, disk size and space available. Now I have all that info but I want to round the totals, so there is no delimiters, how can I do that?

PHP Code:
#!/bin/sh
date
df=`df -Pl | grep "^/dev" | awk '{print $6, $2/1024 , $4/1024}' | sed "s/%//"`
echo "$df"

[Code]...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved