I have a MySQL instance running locally on port 3306, but for some legacy apps I also want to make it available on port 3305 (don't ask). Is there an easy way to do this on OS X, so that if I try to connect on either 3305 or 3306 they will both go to the MySQL server on 3306?
...
I am looking for layer 2 traffic generator [open source].
Some OSS using winpcap or libpcap.
Thanks a lot.
...
What is the best way to send HTTP requests from Windows Powershell?
...
On my home network I have an installation of Windows Server 2008 and for some reason, the windows vista workstations on the network can connect to the server via remote desktop only via the server's IP address, not the hostname. Same for connecting to an instance of SQL Server 2008 that's on the server, only works by IP, not by hostname...
I am Need of Formula to Accurately Calculate Bandwith for 1 Gig Nic Card. What i am doing is send Layer 2 Packets @ 1Gbps but my software is showing 6oo Mbps.
The whole experiment is Back to Back. No switch No Router.
Here is what i did.
// LinkSpeed = 1Gb
UINT nBandwidth = LinkSpeed/100;//Mbps
nBandwidth = nBandwidth/8; //Bytes/...
I want to write my own little chat server in C on a MacOS machine. Now I want to connect to all clients, that are online and let the connection open, to be able to receive and send messages. The problem is that I only know, how to have one socket connection at a time open. So only one client can connect so far and chatting like that is k...
I would like to have a single DatagramSocket to listen for both unicast and broadcast messages. Is this possible?
...
I'm developing a experimental Linux Kernel module, so...
How to UDP Broadcast from Linux Kernel?
...
What is the easiest way to check if a computer is alive and responding (say in ping/NetBios)?
I'd like a deterministic method that I can time-limit.
One solution is simple access the share (File.GetDirectories(@"\compname")) in a separate thread, and kill the thread if it takes too long.
...
On Linux, how can I (programmatically) retrieve the following counters on a per-interface basis:
Sent/received ethernet frames,
Sent/received IPv4 packets,
Sent/received IPv6 packets.
...
Can anyone recommend any programmer-friendly (i.e. extensible) frameworks or systems for performing network level packet fuzzing?
I'm looking for such a system where I can program in additional packet formats and various ways of breaking those packets in a protocol-dependent manner.
I know how to Google. I'm looking for specific recom...
Here is the situation. This small company I'm working with wants to have a redundant internet access. They run bunch of services from their office - a website, POP+SMTP server and use VPN for accessing network shares from home. They have 2 independent internet connections from 2 ISP's (one is a local cable provider, and another one is a ...
I am curious to know where the "Don't Fragment" [DF] Bit of the IP Flags is used. As fragmentation is invisible to higher layers and they don't care too.
I am also looking for an example.
Thanks a lot in advance.
...
I need to write a script to set ip address/mask/broadcast as an alias on eth0:0 plus set the default gateway.
This solution works:
ifconfig eth0:0 <ip> netmask <mask> up
ip route replace default via <ip>
but sometimes the second call gets an error "network unavailable".
Adding a sleep between them fixes it, but is unreliable. What i...
I am looking for a way to determine what the Name/IP Address of the domain controller is for a given domain that a client computer is connected to.
At our company we have a lot of small little networks that we use for testing and most of them have their own little domains. As an example, one of the domains is named "TESTLAB". I have a...
I just wanted to know why Pseudo header is preceded to UDP. Why Pseudo header is used. whats the logic behind it.
...
In a .NET application, how can I identify which network interface is used to communicate to a given IP address?
I am running on workstations with multiple network interfaces, IPv4 and v6, and I need to get the address of the "correct" interface used for traffic to my given database server.
...
There is even a standard for IP in IP encapsulation. What is the use case here? I can understand stuff like TCP over DNS, where IP might be unavailable, but if you can do IP in IP, couldn't you simply do regular IP?
...
I wanted to know why UDP is used in RTP rather than TCP ?. Major VoIP Tools used only UDP as i hacked some of the VoIP OSS.
...
Dear all
i'm using Win XP and i want to know if the local area is available or not ?!?
and if i'm using another OS would that affect on my code ??!
thnx in advance
...