networking

Jumbo Frames on DIR-655

Hello, I am trying to set up jumbo frames on my gigabit home LAN but no luck so far. My setup is: D-Link DIR-655 router, HW Revision A3, Firmware 1.21 EU Synology DS107+, Firmware 3.0-1337 Laptop w/ Win7 x64, external PCIx NIC managed by "Generic Marvel Yukon 88E8053 based Ethernet Controller" The router is supposed to support jumbo...

How is negative zero used in this context?

struct in_addr ipv4; ipv4.s_addr = (uint32_t)(-0) ...

Determine IP address of CONNECTED interface (linux) in python

On my linux machine, 1 of 3 network interfaces may be actually connected to the internet. I need to get the IP address of the currently connected interface, keeping in mind that my other 2 interfaces may be assigned IP addresses, just not be connected. I can just ping a website through each of my interfaces to determine which one has co...

How to determine (using C API) the system's default NIC?

In Linux, after establishing a DHCP lease, when I run the command route, the last line gives me the system's default route and NIC. e.g., Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use IFace 142.157.138.0 * 255.255.254.0 U 2 0 0 wlan0 link-local * ...

Fastest way to communicate between c++ and c#

We are building a new vision inspection system application. The actual inspection system needs to be c++ for a number of reasons. For that system we will be using Boost & Qt. For our UI, we are currently looking at using WPF/C# for the UI and SQL based reports. The complicating factor that UI has to run both local on the same box as ...

Using HTTP port to evade firewall

I'm creating a client-server application which communicates via a custom socket protocol. I'd like the client to be usable from within networks that have a restrictive firewall (corporate, school, etc.). Usually this is done by connecting via HTTP, since that's always available. If I want to do that, do I really have to use HTTP or is i...

Tough problem - slow network connection late night

I'm stumped as to why one of my computers gets TERRIBLE broadband speeds late at night, and is OK in the morning. I checked for a scheduled backup or drive scan. There are none. Speedtest.net shows 1.1 MBpersec down and no upload at all. This typically starts at about 11:30pm and goes into the early morning hours. By 9am it is back to ...

How do I get the network name from an IRC server?

I didn't think this was possible, but mIRC can get the name of a network, even if it is not specified by the user in the server list. I tried using a packet sniffer to see if perhaps there was a message sent on connect that sends the network's name, but I didn't see anything. The network name is needed to display to the user as well as ...

Good article on sockets?

I was just wondering where I could find a article on sockets. I don't want any indepth code. I just want to understand the structures and other stuff like the how the buffers work. ...

How to disable the realtek wireless lan utility

I recently installed windows 7. As a part of this, I was required to install the drivers for my onboard wireless adapter (Realtek 8187). However, with the driver came this annoying management studio called Realtek Wireless Lan Utility. It's not a huge burden, except that every time I log in to my computer (if I've been idle for a whil...

[Networking] Is my computer hacked?

I am using windows 7, in commond prompt "arp -a" Besides my wifi ip address, i will always see. Is my computer hacked? 149.171.11.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.252 01-00-5e-00-00-fc static 239.255.255.250 01-00-5e-7f-ff-fa static 255.255.255.25...

Connect to remote UDP multicast service

How to connect to remote udp multicast if I have an IP address where the service resided (say 70.70.70.70), the multicast group to connect (say 224.25.25.25) and port (say 2020)? I use ACE framework and in the sniffer I see that ACE sends IGMP packet to 224.0.0.2, in order to join a group, but my home router (checkpoint) doesn't know wh...

How to configure ZTE ZXVE10 W300 router as a proxy server

Hello, I need to configure my ZTE ZVE10 W300 router as a proxy server. I need the users connect to router (with real ip) and use internet through it. Is there any way to do it ? I dont want to setup web proxy server or something else behind the router, but want to do that exactly on the router. Regards, Levon ...

Linux: packets reordering simulation

I would like to simulate packets reordering for UDP packets on Linux to measure the performance and fault tolerance of my application. Is there a simple way to do this? ...

How to forward IP packets with Ruby

I want to capture packets whoes has a special target ip, then forward these packets by UDP. Does Ruby can do this ? thanks ...

Is there a network ID for host among LAN?

A router exposes itself to outside by IP like 66.249.89.104 and many hosts can connect to it to form a Local Area Network. My question : Is there a way to identify a specific host in that LAN? All I tried is some guessing work which fails with no doubt: ping [email protected] Ping request could not find host [email protected]...

How can I simulate that I plugged an ethernet cable between 2 virtual machines with virtual box?

How can I simulate that I plugged an ethernet cable between 2 virtual machines with VirtualBox 3.2.10? Like that: 10.1.0.1 o===========o 10.1.0.2 thank you in advance Daniel ...

Non-binary(hex) characters in string received over TCP with Python

Hi, maybe this is a noob question, but I'm receiving some data over TCP and when I look at the string I get the following: \x00\r\xeb\x00\x00\x00\x00\x01t\x00 What is that \r character, and what does the t in \x01t mean? I've tried Googling, but I'm not sure what to Google for... thanks. ...

After doing HttpWebRequests for a while the result starts timing out

I have an application that spiders websites for information. It seems like after 20-45 minutes of creating HttpWebRequests a bunch of them return timeouts. One thing we do is attach a BindIPDelegate anonymous function to give the request a specific IP since we round-robin through about 150 IPs. I'm setting up the HttpWebRequest object...

enumerating each ip assigned to network interfaces

I think there is no way to enumerate each network interface on my system and their assigned IP using just sockets, is this correct? I mean, in linux this could be: eth0: 192.168.1.5 wlan0: 192.168.0.5 lo: 127.0.0.1 I dont care interface names, just the IPs assigned. I recall to have done this in the past in Windows, using winapi (tho...