Tcpdump , ethereal , not worthy ? Multithreaded aplication ?
If you wanna measure/count how many bytes does a client receive ( on the server side ) , you can easily implement a contor , for receive bytes.Suposing that all byte's receive by one client are send by the server , it's easy to make something like :
Let's say da is the string passed to the client ( a client J ).You incremenent a contor so measure how many bytes are transfered to the client.
Let's say I send 4 bytes to the client ( once ) and then 3 .. I can do this.
So if all trafic to a specified client , is send by the server to that client , you can easily count how many bytes , are received by the client J .
Hi,
I'm quite new to unix networking and ip tables. I'm running a debian (htpc) server with two NIC's; eth0 and wlan0.
I'm trying to set it up in a way that eth0 is the default interface for internet, but some processes should run through wlan0.
For example, I'm using eth0 for downloads... (2 Replies)
I was checking routing table, and noticed that our server has a lot packets from localhost:
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
..
127.0.0.1 127.0.0.1 ... (1 Reply)
hi guys
I've configured snmp on some linux
snmpd.conf
rocommunity com_read x.x.x.10
rwcommunity com_write x.x.x.10
Now one of my coworkers asked to do the same that he does on windows for my linux....
But I have no idea how to configure that basically when SNMP is configure there... (5 Replies)
Hello
I need to send some packets to check connection. Packets will be catch by snoop. Is there any Sun tool to send some packets on selected IP and Port?
Thx (1 Reply)
salutation experts,
I want to counting arrival and outgoing packets in a specific interval (ethernet interface), what library or method you offer me that i can use it in c lang?
tnx (1 Reply)
Hi,
My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development.
Now, I'd like to capture RAW... (1 Reply)
I am working on a project, which has the following type of hardware setup.
A special hardware device is receiving data from an external network interface. So we can have multiple such a hardware devices. Now these hardware devices will route the captured incoming data through the external... (4 Replies)
I'd like to find out how to redirect Outbound packets.
So instead of having packets go to IP1 as they normally would, have them go to IP2 instead.
I believe this is possible using IPFW but I'm not sure. I've played with it, but haven't gotten too far.
Any ideas would be appreciated. (1 Reply)