networking

Intercepting traffic to memcached for statistics/analysis

I want to setup a statistics monitoring platform to watch a specific service, but I'm not quiet sure how to go about it. Processing the intercepted data isn't my concern, just how to go about it. One idea was to setup a proxy between the client application and the service so that all TCP traffic went first to my proxy, the proxy would ...

DNS in Twenty-One Hours

I want the equivalent online resource to DNS in Twenty-One Days. I need one evening's reading that will explain what the different record types do, how do propagation and caching work, what is an SoA, etc. I don't want anything that begins by explaining what DNS is. Can anybody please point me in the right direction to find some onlin...

Detect another host with the same MAC address

How can I detect if another host is using the same MAC address as the current host, e.g. because the other host is spoofing? I'm working in an embedded environment, so looking for answers on a protocol level, rather than “use such and such a tool”. Edit: RARP does not solve this problem. For RARP to get any reply at all, there has to b...

Designing an application protocol

I have an existing standalone application which is going to be extended by a 3rd-party, using a network protocol. The capabilities are already implemented, all I need is to expose them to the outside. Assuming the transport protocol is already chosen (UDP), are there any resources that will help me to design my application protocol? Th...

Running applications through Telnet

Hi, I need to create a BAT file to run an application through telnet, but as far as I know there is no way to do this on DOS. Telnet does not allow any command to be sent to the remote machine at the very instant of the connection, and each subsequent command in the BAT file would only be executed after telnet stops. This hypothetical p...

Managing wireless network connection in C#

We've got a WinForms app written in C# that has a very custom GUI. The user is not allowed to run any other applications and the user cannot go into the OS (WinXP Pro) at all. We're planning on allowing the user to connect to available wireless networks. We're going to have to create a configuration screen that displays available netwo...

Two Computers Finding Each Other over Internet

Given two computers attached to the Internet that know nothing about each other before hand, is it possible for one computer to be able to broadcast a message so that the second computer could receive it and respond? I know UDP broadcast exsits, but I believe that those are generally filtered by the ISP before it reaches the true Intern...

How to monitor / log files access to remote folders under windows ?

Hello, I would like to log the name of all the files I access from a particular network share (and the process accessing the the file). What are the solutions in C++ / Win32 preferably ? Kind Regards, Bear ...

How do you do Cygwin passwordless rlogin or rsh to Solaris 5.7

I am trying to login in to my works Solaris box from cygwin on windows. SSH is not supported. I have tried different combination in the .rhosts with no luck I do not have root privileges. ...

.NET Communications Component

Hi, I'm looking for a component for C#.NET 2008 Professional that is capable of doing the majority of the network communications work that is required of our application so our programmers don't have to. This component should function similarly to the way RealThinClient (RTC) does. The component must be able to gracefully lose and reg...

What is Maximum Segment Lifetime

We have an homebrewed XMPP server and I was asked what is our server's MSL (Maximum Segment Lifetime). What does it mean and how can I obtain it? Is it on the linux /proc TCP settings? ...

Failed to resolve IP

Try as I might, I'm unable to resolve an address to IP. The code snippet is shown below. I keep getting the No such host is known exception, even though I could access google with my browser (The DNS server is almost certainly working). I'm however behind company's firewall. try { foreach (IPAddress address in Dns.GetHostAddresses("w...

Example packets

Is there somewhere I can find examples of properly formed packets for a varaiaty of things, like HTTP, FTP, and other protocols? Update: I don't want to just sniff my own packets because I want to be sure that the packets are formed properly, and that the programs associated with them are doing their job correctly. ...

Python UPnP/IGD Client Implementation?

Hi, I am searching for an open-source implementation of an UPnP client in Python, and more specifically of its Internet Gateway Device (IGD) part. For now, I have only been able to find UPnP Media Server implementations, in projects such as PyMediaServer, PyMedS, BRisa or Coherence. I am sure I could use those code bases as a start, b...

How to provide user name and password when connecting to a network share

When connecting to a network share for which the current user (in my case, a network enabled service user) has no rights, name and password have to be provided. I know how to do this with Win32 functions (the WNet* family from mpr.dll), but would like to do it with .Net (2.0) functionality. What options are available? Maybe some more ...

Generating a picture/graphic of a graph

In working on a shortest path algorithm across a network I would like to generate a picture of the network. I'd like to represent nodes (circles), links (lines), cost to traverse the link (number in the middle of the link line), and capacity of the link (number on the link line next to the node it represents) in the picture. Is there any...

Hobbit monitoring - no color change until bbretest?

I'm currently monitoring a large network with Hobbit and have been tasked with lowering the amount of false (or at least irrelevant) alarms. At the top of my list are the tests "http" and "conn", initiated by bbtest-net. This command checks ping, ssh, etc, and if for instance a ping times out, it immediately sets the status to red. One m...

Why is Packetyzer not displaying any Adapter ?

I am trying to open a new capture window to monitor incoming/outgoing traffic on a machine. But there is no network card to be seen on in the Adapter combobox like the machine didn't have one. The machine is hooked into the Lan and can be pinged and can ping. Firewall is off. What could be blocking packetyzer? ...

Is there a technical reason for applications to hang on DNS lookups?

If I try to quit Firefox when it's "Looking up domain.com..." it beachballs (hangs), goes into "not responding" status, then finally quits. It does this without fail. This is on Mac with the latest FF, but it's always been this way for me, even on Windows with FF and I've noticed it with other applications. Is there any technical reas...

How to increment the TTL value on Windows?

On Linux this is easy to do. Is it possible on Windows? Clarification: I want to increment the TTL for all incoming packets. ...