networking

Wheres the bottleneck?

I have two test computers networked together. One has a gigabit ethernet, the other a 10 megabit. Theoretically, data trasferred between the two should reach about 1megabytes p/s. Now im using a PHP script to read data from one host to another using fread. Both reading file and file to be read are chmod 777. Both computers are runnin...

How to find the largest UDP packet I can send without fragmenting?

I need to know what the largest UDP packet I can send to another computer is without fragmentation. This size is commonly known as the MTU (Maximum Transmission Unit). Supposedly, between 2 computers, will be many routers and modems that may have different MTUs. I read that the TCP implementation in windows automatically finds the max...

Retrieve network share comment

How does one retrieve a network share comment in Windows ? ...

Is it possible to connect iPhones through NAT traversal techniques over 3G for peer 2 peer gaming

Is it possible to connect an iPhone to another iPhone or any other network client talking that game's protocol. I was thinking that I could use the same NAT Traversal technique used in the XBox 360 to host games on users XBox's through Firewalls. For NAT traversal to work effectively I'd have to have a central server that would allow c...

SVN Server running on Windows Vista in a Home Network, Accessing from Mac OS X

I have SVN running on my main windows development box on my home network. I access the server from various development laptops depending on what I'm doing. I also do this with a Mac OS X development laptop but I apparently have to use the IP Address of the SVN Server. This is causing problems because the IP address of the SVN server ch...

How to collect network statistics using c# such as Ping ms, Download rate, Packet loss

Hi there, I am thinking of creating an open source application that given a list of high speed download sites/files it can generate a list of calls to these sites in order to form the following statistics. Ping Times Download Rate Packet Loss I was thinking whether or not there are builtin or external libraries in .NET to do that ki...

Monitoring outgoing internet traffic

Is there a way to monitoring internet traffic programatically? I would like to log the pages users are visiting on the Internet. Can this be achieved with .NET code, is there a 3rd party .NET component that could be used to retrieved data. Information about Internet traffic must be stored to a database so I cannot use a plugin or somet...

Obtaining Own External IP Address in POSIX C

I'm looking to obtain my own IP Address in order to publish that information in to a Peer-to-Peer network. In POSIX/C we have getaddrinfo(NULL, ...), but this always seems to returns INADDR_ANY or INADDR_LOOPBACK, which is useless to me. Any suggestions? ...

Could you recommend some networking paper for me?

Hi, all I am learning Computer Networking this semester, on which I find it quite interesting in learning why Internet is designed like today. And I also enjoy reading paper referred to in the teaching slides, like End-to-End Argument in System Design and The Design Philosophy of the DARPA Internet Protocols. Could you recommend some o...

Disconnect and Reconnect a connected datagram socket

Iam trying to create an iterative server based on datagram sockets (UDP). It calls connect to the first client which it gets from the first recvfrom() call (yes I know this is no real connect). After having served this client, I disconnect the UDP socket (calling connect with AF_UNSPEC) Then I call recvfrom() to get the first packet fro...

Why does TCP header contain both ACK and SEQ fields?

Since TCP header is a relatively large overhead, why don't we compress it in the way that ACK and SEQ share the same field, and they can still be distinguished by flags in the header? ...

How to concatenate two tcpdump files (pcap files)

How to concatenate two tcpdump files, so that one traffic will appear after another in the file? To be concrete I want to "multiply" one tcpdump file, so that all the sessions will be repeated one after another sequentially few times. ...

Is an HTTP application that sends a Content-Length or Transfer-Encoding with a 204 No Content response broken?

I can't tell from RFC 2616 whether an HTTP client should accept a 204 No Content response that includes Content-Length: 0 or Transfer-Encoding: chunked headers. These headers seem to break some HTTP clients and proxies, which apparently attempt to read the empty response body, but the spec reads: Any response message which "MUST N...

Editing files remotely on network storage

I would love to have a fat RAID drive array sitting somewhere on the Internet, and just use it for media storage -- essentially I want to play and edit files transparently whether I'm at work or at home. Is this possible? I'm looking at various NAS solutions like this, and while they all tout iTunes streaming and FTP access, I'd like to...

oracle insert with many bind variables over WAN is very slow

Hello, we have problem with slow insert statement using 40 bind variables as columns values. It runs several seconds when running over WAN link and we were not able to nail down the problem, until we used network analyzer. Every single execution of this prepared query required exchanging over 120 packets between client and server to com...

Getting my ip address

Hey! I have a computer on a small network, so my ip is 192.168.2.100. I am trying to get my real ip. I download the no-ip client but that just seems like a lot of trouble for such a simple thing. I created this php script that got http://www.ip-adress.com/ page and retrieved the ip it gave me. Is there a simpler way? Either using C, ...

How do I get a MAC address for a remote system when I only know it's IP address?

I'm working on a Wake on LAN service that will run from a web site and should interact with many different platforms - therefore, no Windows-only solutions. When a user registers their system with the web site, I need to get the MAC address to use in constructing the "magic" packet. I have a Java Applet that is able to do this for me a...

how to write nslookup programmatically?

instead of using exec in our script to do an nslookup, is there an easy way to write it programmatically in PHP, Python, or Ruby? ...

SSLEngine and close

Hi, I've implemented an helper module that lets me obtain clean data from a channel used with SSL and write encrypted data into it: this is the relevant interface (I've also some non-abstract methods in that class, so doesn't say to me that "DataProvider should be an interface" ;)): public abstract class DataProvider { // Notify th...

What does BGP Path Attribute Type 18 refer to?

Does anyone know what Path Attribute Type 18 refers to and how to parse it? The best I can understand is that it is a new AGGREGATOR (type 7) and I'm assuming that it's reading the new AS32 format, but that's not cutting it because I can't parse this packet. Is there an RFC that describes how this works...is it something special that C...