/usr/include/openvas/nessusraw.h is in openvas-server-dev 2.0.3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /* OpenVAS
* $Id: nessusraw.h 141 2006-06-01 11:34:47Z tarik $
* Description: includes for raw sockets.
*
* Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
* - Tim Brown <mailto:timb@openvas.org> (Initial fork)
* - Laban Mwangi <mailto:labanm@openvas.org> (Renaming work)
* - Tarik El-Yassem <mailto:tarik@openvas.org> (Headers section)
*
* Copyright:
* Portions Copyright (C) 2006 Software in the Public Interest, Inc.
* Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
*/
#ifndef NESSUS_RAW_H
#define NESSUS_RAW_H
#ifdef __linux__
#ifndef __BSD_SOURCE
#define __BSD_SOURCE
#endif
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#ifndef __FAVOR_BSD
#define __FAVOR_BSD
#endif
#endif
#include <nessusip.h>
#include <nessustcp.h>
#include <nessusudp.h>
#include <nessusicmp.h>
int tcp_ping_host(struct in_addr);
long tcp_timing(struct in_addr, int num_probes, unsigned int port);
#endif
|