[Sockets] Server - Client
Is there a way to detect the data that a server transmits to a client through sockets?
I mean reading every damn byte that the server sends to a client. The identification of what is being send, is another problem that I will try to solve alone. |
Re: [Sockets] Server - Client
Quote:
Under linux can be done outside the hlds architecture. There's a way to modify packets too. I don't know if sockets module can do it but if you have ioctl access and can bind RAW socket I think can be done. Check this example for windows: PHP Code:
Search in google for packet sniffing. Here's a tutorial http://www.binarytides.com/blog/pack...using-winsock/ A metamod/amxx pcap module will be awesome (win + linux of course) For linux you can read about pcap library http://www.tcpdump.org/pcap.htm |
Re: [Sockets] Server - Client
Quote:
I want to see all the info that the server transmits to a client. If it was made for linux where can I find the package that shows the traffic? |
Re: [Sockets] Server - Client
Quote:
In linux you alway have pcap libraries. Try man tcpdump (use it to capture/read traffic on an interface) I think porting pcap to a metamod/amxx module should be easy, but it should be threaded to avoid process blocking. |
Re: [Sockets] Server - Client
Too bad RAW socket requires root privileges.
|
| All times are GMT -4. The time now is 07:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.