| |

VerySource

 Forgot password?
 Register
Search
View: 752|Reply: 4

How to get the traffic of a socket connection?

[Copy link]

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Kuwait

Post time: 2020-10-19 12:30:01
| Show all posts |Read mode
I now enumerate all the processes of establishing TCP/UDP connections in the system. I also get the connection information of each connection. But I want to get the traffic of each connection. What should I do?
Reply

Use magic Report

0

Threads

10

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-10-19 13:30:02
| Show all posts
I'm afraid you have to block the data packet analysis
Reply

Use magic Report

0

Threads

70

Posts

42.00

Credits

Newbie

Rank: 1

Credits
42.00

 China

Post time: 2020-10-19 14:00:01
| Show all posts
Raw socket, analyze it yourself?
Reply

Use magic Report

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-10-19 15:15:01
| Show all posts
Well, can you give me some ideas, such as what book or related tutorials?
Thank you
Reply

Use magic Report

0

Threads

70

Posts

42.00

Credits

Newbie

Rank: 1

Credits
42.00

 China

Post time: 2020-10-19 18:45:01
| Show all posts
First look

http://bbs.chinaunix.net/archiver/?tid-92519.html
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list