home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / nmap254b.zip / idle_scan.h < prev    next >
C/C++ Source or Header  |  2001-08-10  |  4KB  |  66 lines

  1.  
  2. /***********************************************************************/
  3. /* idle_scan.h -- Includes the function specific to "Idle Scan"        */
  4. /* support (-sI).  This is an extraordinarily cool scan type that      */
  5. /* can allow for completely blind scanning (eg no packets sent to the  */
  6. /* target from your own IP address) and can also be used to penetrate  */
  7. /* firewalls and scope out router ACLs.  This is one of the "advanced" */
  8. /* scans meant for epxerienced Nmap users.                             */
  9. /*                                                                     */
  10. /***********************************************************************/
  11. /*  The Nmap Security Scanner is (C) 1995-2001 Insecure.Com LLC. This  */
  12. /*  program is free software; you can redistribute it and/or modify    */
  13. /*  it under the terms of the GNU General Public License as published  */
  14. /*  by the Free Software Foundation; Version 2.  This guarantees your  */
  15. /*  right to use, modify, and redistribute this software under certain */
  16. /*  conditions.  If this license is unacceptable to you, we may be     */
  17. /*  willing to sell alternative licenses (contact sales@insecure.com). */
  18. /*                                                                     */
  19. /*  If you received these files with a written license agreement       */
  20. /*  stating terms other than the (GPL) terms above, then that          */
  21. /*  alternative license agreement takes precendence over this comment. */
  22. /*                                                                     */
  23. /*  Source is provided to this software because we believe users have  */
  24. /*  a right to know exactly what a program is going to do before they  */
  25. /*  run it.  This also allows you to audit the software for security   */
  26. /*  holes (none have been found so far).                               */
  27. /*                                                                     */
  28. /*  Source code also allows you to port Nmap to new platforms, fix     */
  29. /*  bugs, and add new features.  You are highly encouraged to send     */
  30. /*  your changes to fyodor@insecure.org for possible incorporation     */
  31. /*  into the main distribution.  By sending these changes to Fyodor or */
  32. /*  one the insecure.org development mailing lists, it is assumed that */
  33. /*  you are offering Fyodor the unlimited, non-exclusive right to      */
  34. /*  reuse, modify, and relicense the code.  This is important because  */
  35. /*  the inability to relicense code has caused devastating problems    */
  36. /*  for other Free Software projects (such as KDE and NASM).  Nmap     */
  37. /*  will always be available Open Source.  If you wish to specify      */
  38. /*  special license conditions of your contributions, just say so      */
  39. /*  when you send them.                                                */
  40. /*                                                                     */
  41. /*  This program is distributed in the hope that it will be useful,    */
  42. /*  but WITHOUT ANY WARRANTY; without even the implied warranty of     */
  43. /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  */
  44. /*  General Public License for more details (                          */
  45. /*  http://www.gnu.org/copyleft/gpl.html ).                            */
  46. /*                                                                     */
  47. /***********************************************************************/
  48.  
  49. /* $Id: idle_scan.h,v 1.2 2001/08/10 05:53:07 fyodor Exp $ */
  50.  
  51. #ifndef IDLE_SCAN_H
  52. #define IDLE_SCAN_H
  53.  
  54. #include "portlist.h"
  55. #include "tcpip.h"
  56. #include "global_structures.h"
  57. #include <nbase.h>
  58.  
  59. /* Handles the scan types where no positive-acknowledgement of open
  60.    port is received (those scans are in pos_scan).  Super_scan
  61.    includes scans such as FIN/XMAS/NULL/Maimon/UDP and IP Proto scans */
  62. void idle_scan(struct hoststruct *target, u16 *portarray, int numports,
  63.            char *proxy);
  64.  
  65. #endif /* IDLE_SCAN_H */
  66.