Thread: Network Scanner and Network Monitoring Applications Development

  1. #1
    Registered User
    Join Date
    Aug 2015
    Posts
    6

    Network Scanner and Network Monitoring Applications Development

    Hello,

    I have a background in Java and I have just joined this forum.

    I am a little confused, hence, thought would see help on the forum.

    I would like to make applications such as "Network Scanners" & "Network Monitoring tool" related to Network Security and perhaps some cryptography applications as well.


    • Is it a good idea to develop such tools using C/C++ which provide you low level access to the hardware or Java can also be used to make such tools ?
    • Will I require a low level access to hardware to develop such applications as listed above?
    • Are there any big time advantages where C/C++ will score more over Java besides providing faster execution and providing low level access.

    Thanks !

    PS: I do understand that there are many such applications available, however, I want to understand them for my own learning.

  2. #2
    Registered Superuser nul's Avatar
    Join Date
    Nov 2014
    Location
    Earth
    Posts
    53
    Network scanners and cryptography are complicated and complex subjects. First, concentrate on understanding the language.
    "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupery

  3. #3
    Registered User
    Join Date
    Aug 2015
    Posts
    9
    I guess with Java you will not be able to make the cut. These applications require access to the hardware. But then I am no expert on Java

  4. #4
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    By Network Scanner, I'm assuming you mean something like port scanner (or maybe something using ICMP or ARP to map out the hosts on a network), and Monitoring means capturing and displaying values of headers in different protocol levels.

    Quote Originally Posted by mohitvarma
    Is it a good idea to develop such tools using C/C++ which provide you low level access to the hardware or Java can also be used to make such tools ?
    It's sort of hard to answer, as generally how you interact with the hardware (network adapters and whatnot) will depend on what the OS allows. There are system calls available in C in Linux that allow you to set adapter settings as well as various options for different protocol levels. Also Windows allows you to do this, but there are different capabilities that might not be available without 3rd party libraries.

    Quote Originally Posted by mohitvarma
    PS: I do understand that there are many such applications available, however, I want to understand them for my own learning.
    You will need to have good understanding of the language first, also network theory and a solid grasp of the different capabilities of the API you are using will be required.

    Of the language you will need knowledge of basic types, flow control, structures, pointers, allocating memory, bitwise operations, type casting, and many other things. Of network theory, you will need to know the header fields of the protocols you will use, and what they all mean. Of the API you will need to know how to set the options you want for the protocol levels and creating the type of socket you want, as well as how to send and receive the data structures that represent network protocols.

    As a comparison of the time required, it took me several months of studying network theory and API functionality before I was comfortable enough to write programs with lower level protocol access on my own. This was with me already knowing enough of the language to use these things. Even then my capabilities are quite basic and require having several references nearby on the protocols I'm using.
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. iPhone applications development on Windows 7
    By stud91 in forum Tech Board
    Replies: 2
    Last Post: 07-07-2012, 04:45 PM
  2. Network queston for users with mixed OS on their network...
    By CommonTater in forum Networking/Device Communication
    Replies: 8
    Last Post: 09-10-2011, 08:56 PM
  3. Network Monitoring in C#?
    By silverfoxtp in forum C# Programming
    Replies: 1
    Last Post: 02-07-2005, 05:37 PM
  4. PC 2 PC network
    By Zeeshan in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 07-15-2002, 02:58 AM

Tags for this Thread