Hello,

Im doing an essay on port scanning techniques, and was wondering if someone could explain why are raw sockets needed in some port scanning techniques and how do these raw sockets affect the tcp header and also the packet after its been encapsulated; and also why does the app need root privileges for doing this?

Thank u for any info!
Cheers
Joey

What computer are you using now? Raw sockets are needed as to send or receive networks packets by your apps. It is needed and important in networking. For root user, for some case raw sockets does not need a root permission by most of the case it need. Root permission is more secure as to prevent from sending fake packet and data. with that it will be more safer. About affecting the tcp header, i have forgotten about it. When i remembered i will tell you. Good luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.