/
usr
/
include
/
/usr/include
mkdir
upload
Name
Size
Mode
Actions
arpa/
-
0755
rm
asm/
-
0755
rm
asm-generic/
-
0755
rm
bind9/
-
0755
rm
bits/
-
0755
rm
bsock/
-
0755
rm
c++/
-
0755
rm
db4/
-
0755
rm
db4.2.52/
-
0755
rm
db4.3.29/
-
0755
rm
dns/
-
0755
rm
drm/
-
0755
rm
dst/
-
0755
rm
e2p/
-
0755
rm
et/
-
0755
rm
ext2fs/
-
0755
rm
fontconfig/
-
0755
rm
freetype2/
-
0755
rm
gdbm/
-
0755
rm
GL/
-
0755
rm
gnu/
-
0755
rm
gssapi/
-
0755
rm
gssrpc/
-
0755
rm
isc/
-
0755
rm
isccc/
-
0755
rm
isccfg/
-
0755
rm
kadm5/
-
0755
rm
krb5/
-
0755
rm
layout/
-
0755
rm
libexslt/
-
0755
rm
libltdl/
-
0755
rm
libpng12/
-
0755
rm
libxml2/
-
0755
rm
libxslt/
-
0755
rm
linux/
-
0755
rm
lve/
-
0755
rm
lwres/
-
0755
rm
lzma/
-
0755
rm
mtd/
-
0755
rm
mysql/
-
0755
rm
ncurses/
-
0755
rm
ncursesw/
-
0755
rm
net/
-
0755
rm
netash/
-
0755
rm
netatalk/
-
0755
rm
netax25/
-
0755
rm
neteconet/
-
0755
rm
netinet/
-
0755
rm
netipx/
-
0755
rm
netiucv/
-
0755
rm
netpacket/
-
0755
rm
netrom/
-
0755
rm
netrose/
-
0755
rm
nfs/
-
0755
rm
numpy/
-
0755
rm
openssl/
-
0755
rm
PCSC/
-
0755
rm
protocols/
-
0755
rm
python2.6/
-
0755
rm
rdma/
-
0755
rm
readline/
-
0755
rm
rpc/
-
0755
rm
rpcsvc/
-
0755
rm
sasl/
-
0755
rm
scsi/
-
0755
rm
security/
-
0755
rm
selinux/
-
0755
rm
sepol/
-
0755
rm
sound/
-
0755
rm
sys/
-
0755
rm
uapi/
-
0755
rm
unicode/
-
0755
rm
video/
-
0755
rm
X11/
-
0755
rm
xcb/
-
0755
rm
xen/
-
0755
rm
yaz/
-
0755
rm
a.out.h
4351
0644
edit
dl
rm
aio.h
7502
0644
edit
dl
rm
aliases.h
2115
0644
edit
dl
rm
alloca.h
1289
0644
edit
dl
rm
ar.h
1792
0644
edit
dl
rm
argp.h
26521
0644
edit
dl
rm
argz.h
7308
0644
edit
dl
rm
assert.h
3506
0644
edit
dl
rm
autosprintf.h
2284
0644
edit
dl
rm
byteswap.h
1489
0644
edit
dl
rm
complex.h
3557
0644
edit
dl
rm
cpio.h
2335
0644
edit
dl
rm
crypt.h
2341
0644
edit
dl
rm
ctype.h
11287
0644
edit
dl
rm
curses.h
79831
0644
edit
dl
rm
cursesapp.h
6582
0644
edit
dl
rm
cursesf.h
27630
0644
edit
dl
rm
cursesm.h
19486
0644
edit
dl
rm
cursesp.h
8473
0644
edit
dl
rm
cursesw.h
49264
0644
edit
dl
rm
cursslk.h
7304
0644
edit
dl
rm
db.h
99427
0444
edit
dl
rm
db_185.h
6010
0444
edit
dl
rm
db_cxx.h
38638
0444
edit
dl
rm
dirent.h
11318
0644
edit
dl
rm
dlfcn.h
7117
0644
edit
dl
rm
elf.h
117539
0644
edit
dl
rm
endian.h
2991
0644
edit
dl
rm
entities.h
4673
0644
edit
dl
rm
envz.h
2962
0644
edit
dl
rm
err.h
2313
0644
edit
dl
rm
errno.h
2452
0644
edit
dl
rm
error.h
2132
0644
edit
dl
rm
eti.h
2891
0644
edit
dl
rm
etip.h
9207
0644
edit
dl
rm
execinfo.h
1606
0644
edit
dl
rm
expat.h
40849
0644
edit
dl
rm
expat_external.h
3364
0644
edit
dl
rm
fam.h
6875
0644
edit
dl
rm
fcntl.h
9133
0644
edit
dl
rm
features.h
12877
0644
edit
dl
rm
fenv.h
4670
0644
edit
dl
rm
FlexLexer.h
6217
0644
edit
dl
rm
fmtmsg.h
3329
0644
edit
dl
rm
fnmatch.h
2530
0644
edit
dl
rm
form.h
17190
0644
edit
dl
rm
fpu_control.h
3163
0644
edit
dl
rm
fstab.h
3115
0644
edit
dl
rm
ft2build.h
3890
0644
edit
dl
rm
fts.h
5290
0644
edit
dl
rm
ftw.h
5360
0644
edit
dl
rm
gconv.h
5339
0644
edit
dl
rm
gcrypt-module.h
7184
0644
edit
dl
rm
gcrypt.h
70572
0644
edit
dl
rm
gd.h
32790
0644
edit
dl
rm
gdbm.h
4744
0644
edit
dl
rm
gdcache.h
2812
0644
edit
dl
rm
gdfontg.h
623
0644
edit
dl
rm
gdfontl.h
621
0644
edit
dl
rm
gdfontmb.h
590
0644
edit
dl
rm
gdfonts.h
585
0644
edit
dl
rm
gdfontt.h
617
0644
edit
dl
rm
gdfx.h
2396
0644
edit
dl
rm
gd_io.h
1154
0644
edit
dl
rm
getopt.h
6740
0644
edit
dl
rm
gettext-po.h
14835
0644
edit
dl
rm
glob.h
7007
0644
edit
dl
rm
gnu-versions.h
2416
0644
edit
dl
rm
gpg-error.h
22689
0644
edit
dl
rm
grp.h
6991
0644
edit
dl
rm
gshadow.h
4611
0644
edit
dl
rm
gssapi.h
181
0644
edit
dl
rm
iconv.h
1949
0644
edit
dl
rm
idn-free.h
2299
0644
edit
dl
rm
idn-int.h
20
0644
edit
dl
rm
idna.h
3436
0644
edit
dl
rm
ieee754.h
4990
0644
edit
dl
rm
ifaddrs.h
2902
0644
edit
dl
rm
inttypes.h
12202
0644
edit
dl
rm
jconfig.h
1653
0644
edit
dl
rm
jerror.h
14748
0644
edit
dl
rm
jmorecfg.h
13774
0644
edit
dl
rm
jpeglib.h
50207
0644
edit
dl
rm
kdb.h
58384
0644
edit
dl
rm
keyutils.h
6092
0644
edit
dl
rm
krb5.h
402
0644
edit
dl
rm
langinfo.h
16007
0644
edit
dl
rm
lastlog.h
126
0644
edit
dl
rm
lauxlib.h
5777
0644
edit
dl
rm
libaio.h
7252
0644
edit
dl
rm
libgen.h
1465
0644
edit
dl
rm
libintl.h
4702
0644
edit
dl
rm
libio.h
17790
0644
edit
dl
rm
libssh2.h
48356
0644
edit
dl
rm
libssh2_publickey.h
4910
0644
edit
dl
rm
libssh2_sftp.h
15651
0644
edit
dl
rm
limits.h
4596
0644
edit
dl
rm
link.h
7221
0644
edit
dl
rm
locale.h
8032
0644
edit
dl
rm
ltdl.h
5715
0644
edit
dl
rm
lua.h
11688
0644
edit
dl
rm
lua.hpp
191
0644
edit
dl
rm
luaconf.h
22128
0644
edit
dl
rm
lualib.h
1026
0644
edit
dl
rm
lzma.h
9306
0644
edit
dl
rm
malloc.h
6297
0644
edit
dl
rm
math.h
15987
0644
edit
dl
rm
mcheck.h
2521
0644
edit
dl
rm
memory.h
1029
0644
edit
dl
rm
menu.h
11845
0644
edit
dl
rm
mntent.h
3465
0644
edit
dl
rm
monetary.h
1835
0644
edit
dl
rm
mqueue.h
3872
0644
edit
dl
rm
ncurses.h
79831
0644
edit
dl
rm
ncurses_dll.h
3898
0644
edit
dl
rm
nc_tparm.h
3947
0644
edit
dl
rm
netdb.h
28267
0644
edit
dl
rm
nl_types.h
1842
0644
edit
dl
rm
nss.h
1962
0644
edit
dl
rm
obstack.h
19673
0644
edit
dl
rm
panel.h
3770
0644
edit
dl
rm
paths.h
2973
0644
edit
dl
rm
png.h
161982
0644
edit
dl
rm
pngconf.h
50992
0644
edit
dl
rm
poll.h
22
0644
edit
dl
rm
pr29.h
1974
0644
edit
dl
rm
printf.h
6805
0644
edit
dl
rm
profile.h
12154
0644
edit
dl
rm
pthread.h
40491
0644
edit
dl
rm
pty.h
1610
0644
edit
dl
rm
punycode.h
9425
0644
edit
dl
rm
pwd.h
6079
0644
edit
dl
rm
regex.h
21871
0644
edit
dl
rm
regexp.h
7123
0644
edit
dl
rm
resolv.h
14765
0644
edit
dl
rm
re_comp.h
1024
0644
edit
dl
rm
sched.h
4730
0644
edit
dl
rm
search.h
5318
0644
edit
dl
rm
semaphore.h
2472
0644
edit
dl
rm
setjmp.h
4112
0644
edit
dl
rm
sgtty.h
1431
0644
edit
dl
rm
shadow.h
5302
0644
edit
dl
rm
signal.h
13662
0644
edit
dl
rm
spawn.h
6763
0644
edit
dl
rm
stab.h
264
0644
edit
dl
rm
stdint.h
8536
0644
edit
dl
rm
stdio.h
31568
0644
edit
dl
rm
stdio_ext.h
2873
0644
edit
dl
rm
stdlib.h
34254
0644
edit
dl
rm
string.h
22612
0644
edit
dl
rm
stringprep.h
8044
0644
edit
dl
rm
strings.h
4763
0644
edit
dl
rm
syscall.h
25
0644
edit
dl
rm
sysexits.h
5232
0644
edit
dl
rm
syslog.h
24
0644
edit
dl
rm
tar.h
3771
0644
edit
dl
rm
tcpd.h
9546
0644
edit
dl
rm
term.h
38205
0644
edit
dl
rm
termcap.h
3479
0644
edit
dl
rm
termio.h
214
0644
edit
dl
rm
termios.h
3640
0644
edit
dl
rm
term_entry.h
7056
0644
edit
dl
rm
tgmath.h
18610
0644
edit
dl
rm
thread_db.h
16092
0644
edit
dl
rm
tic.h
12181
0644
edit
dl
rm
tiff.h
33813
0644
edit
dl
rm
tiffconf-64.h
2969
0644
edit
dl
rm
tiffconf.h
250
0644
edit
dl
rm
tiffio.h
20514
0644
edit
dl
rm
tiffio.hxx
1706
0644
edit
dl
rm
tiffvers.h
410
0644
edit
dl
rm
time.h
13534
0644
edit
dl
rm
tld.h
4503
0644
edit
dl
rm
ttyent.h
2496
0644
edit
dl
rm
ucontext.h
2015
0644
edit
dl
rm
ulimit.h
1657
0644
edit
dl
rm
unctrl.h
3005
0644
edit
dl
rm
unistd.h
42551
0644
edit
dl
rm
ustat.h
23
0644
edit
dl
rm
utime.h
1603
0644
edit
dl
rm
utmp.h
3334
0644
edit
dl
rm
utmpx.h
4203
0644
edit
dl
rm
values.h
2029
0644
edit
dl
rm
verto-module.h
6019
0644
edit
dl
rm
verto.h
16829
0644
edit
dl
rm
wait.h
22
0644
edit
dl
rm
wchar.h
32383
0644
edit
dl
rm
wctype.h
11227
0644
edit
dl
rm
wordexp.h
2592
0644
edit
dl
rm
xlocale.h
1771
0644
edit
dl
rm
yaml.h
54224
0644
edit
dl
rm
zconf.h
9544
0644
edit
dl
rm
zlib.h
66188
0644
edit
dl
rm
_G_config.h
2526
0644
edit
dl
rm
Edit:
/usr/include/tcpd.h
(9546B)
/* * @(#) tcpd.h 1.5 96/03/19 16:22:24 * * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. */ #ifndef _TCPWRAPPERS_TCPD_H #define _TCPWRAPPERS_TCPD_H /* someone else may have defined this */ #undef __P /* use prototypes if we have an ANSI C compiler or are using C++ */ #if defined(__STDC__) || defined(__cplusplus) #define __P(args) args #else #define __P(args) () #endif /* Need definitions of struct sockaddr_in and FILE. */ #include <netinet/in.h> #include <stdio.h> __BEGIN_DECLS /* Structure to describe one communications endpoint. */ #define STRING_LENGTH 128 /* hosts, users, processes */ struct host_info { char name[STRING_LENGTH]; /* access via eval_hostname(host) */ char addr[STRING_LENGTH]; /* access via eval_hostaddr(host) */ #ifdef INET6 struct sockaddr *sin; /* socket address or 0 */ #else struct sockaddr_in *sin; /* socket address or 0 */ #endif struct t_unitdata *unit; /* TLI transport address or 0 */ struct request_info *request; /* for shared information */ }; /* Structure to describe what we know about a service request. */ struct request_info { int fd; /* socket handle */ char user[STRING_LENGTH]; /* access via eval_user(request) */ char daemon[STRING_LENGTH]; /* access via eval_daemon(request) */ char pid[10]; /* access via eval_pid(request) */ struct host_info client[1]; /* client endpoint info */ struct host_info server[1]; /* server endpoint info */ void (*sink) __P((int)); /* datagram sink function or 0 */ void (*hostname) __P((struct host_info *)); /* address to printable hostname */ void (*hostaddr) __P((struct host_info *)); /* address to printable address */ void (*cleanup) __P((struct request_info *)); /* cleanup function or 0 */ struct netconfig *config; /* netdir handle */ }; /* Common string operations. Less clutter should be more readable. */ #define STRN_CPY(d,s,l) { strncpy((d),(s),(l)); (d)[(l)-1] = 0; } #define STRN_EQ(x,y,l) (strncasecmp((x),(y),(l)) == 0) #define STRN_NE(x,y,l) (strncasecmp((x),(y),(l)) != 0) #define STR_EQ(x,y) (strcasecmp((x),(y)) == 0) #define STR_NE(x,y) (strcasecmp((x),(y)) != 0) /* * Initially, all above strings have the empty value. Information that * cannot be determined at runtime is set to "unknown", so that we can * distinguish between `unavailable' and `not yet looked up'. A hostname * that we do not believe in is set to "paranoid". */ #define STRING_UNKNOWN "unknown" /* lookup failed */ #define STRING_PARANOID "paranoid" /* hostname conflict */ extern char unknown[]; extern char paranoid[]; #define HOSTNAME_KNOWN(s) (STR_NE((s),unknown) && STR_NE((s),paranoid)) #define NOT_INADDR(s) (s[strspn(s,"01234567890./")] != 0) /* Global functions. */ #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) extern void fromhost __P((struct request_info *)); /* get/validate client host info */ #else #define fromhost sock_host /* no TLI support needed */ #endif extern void shell_cmd __P((char *)); /* execute shell command */ extern char *percent_x __P((char *, int, char *, struct request_info *)); /* do %<char> expansion */ #ifdef INET6 extern void rfc931 __P((struct sockaddr *, struct sockaddr *, char *)); /* client name from RFC 931 daemon */ #else extern void rfc931 __P((struct sockaddr_in *, struct sockaddr_in *, char *)); /* client name from RFC 931 daemon */ #endif extern void clean_exit __P((struct request_info *)); /* clean up and exit */ extern void refuse __P((struct request_info *)); /* clean up and exit */ extern char *xgets __P((char *, int, FILE *)); /* fgets() on steroids */ extern char *split_at __P((char *, int)); /* strchr() and split */ extern unsigned long dot_quad_addr __P((char *)); /* restricted inet_addr() */ /* Global variables. */ #ifdef HAVE_WEAKSYMS extern int allow_severity __attribute__ ((weak)); /* for connection logging */ extern int deny_severity __attribute__ ((weak)); /* for connection logging */ #else extern int allow_severity; /* for connection logging */ extern int deny_severity; /* for connection logging */ #endif extern char *hosts_allow_table; /* for verification mode redirection */ extern char *hosts_deny_table; /* for verification mode redirection */ extern int hosts_access_verbose; /* for verbose matching mode */ extern int rfc931_timeout; /* user lookup timeout */ extern int resident; /* > 0 if resident process */ /* * Routines for controlled initialization and update of request structure * attributes. Each attribute has its own key. */ #ifdef __STDC__ extern int hosts_access(struct request_info *request); extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, char *client_user); extern struct request_info *request_init(struct request_info *,...); extern struct request_info *request_set(struct request_info *,...); #else extern int hosts_access(); extern int hosts_ctl(); extern struct request_info *request_init(); /* initialize request */ extern struct request_info *request_set(); /* update request structure */ #endif #define RQ_FILE 1 /* file descriptor */ #define RQ_DAEMON 2 /* server process (argv[0]) */ #define RQ_USER 3 /* client user name */ #define RQ_CLIENT_NAME 4 /* client host name */ #define RQ_CLIENT_ADDR 5 /* client host address */ #define RQ_CLIENT_SIN 6 /* client endpoint (internal) */ #define RQ_SERVER_NAME 7 /* server host name */ #define RQ_SERVER_ADDR 8 /* server host address */ #define RQ_SERVER_SIN 9 /* server endpoint (internal) */ /* * Routines for delayed evaluation of request attributes. Each attribute * type has its own access method. The trivial ones are implemented by * macros. The other ones are wrappers around the transport-specific host * name, address, and client user lookup methods. The request_info and * host_info structures serve as caches for the lookup results. */ extern char *eval_user __P((struct request_info *)); /* client user */ extern char *eval_hostname __P((struct host_info *)); /* printable hostname */ extern char *eval_hostaddr __P((struct host_info *)); /* printable host address */ extern char *eval_hostinfo __P((struct host_info *)); /* host name or address */ extern char *eval_client __P((struct request_info *)); /* whatever is available */ extern char *eval_server __P((struct request_info *)); /* whatever is available */ #define eval_daemon(r) ((r)->daemon) /* daemon process name */ #define eval_pid(r) ((r)->pid) /* process id */ /* Socket-specific methods, including DNS hostname lookups. */ /* look up endpoint addresses */ extern void sock_host __P((struct request_info *)); extern void sock_hostnofd __P((struct request_info *)); /* translate address to hostname */ extern void sock_hostname __P((struct host_info *)); /* address to printable address */ extern void sock_hostaddr __P((struct host_info *)); #define sock_methods(r) \ { (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; } /* The System V Transport-Level Interface (TLI) interface. */ #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) extern void tli_host __P((struct request_info *)); /* look up endpoint addresses etc. */ #endif /* * Problem reporting interface. Additional file/line context is reported * when available. The jump buffer (tcpd_buf) is not declared here, or * everyone would have to include <setjmp.h>. */ #ifdef __STDC__ extern void tcpd_warn(char *, ...); /* report problem and proceed */ extern void tcpd_jump(char *, ...); /* report problem and jump */ #else extern void tcpd_warn(); extern void tcpd_jump(); #endif struct tcpd_context { char *file; /* current file */ int line; /* current line */ }; extern struct tcpd_context tcpd_context; /* * While processing access control rules, error conditions are handled by * jumping back into the hosts_access() routine. This is cleaner than * checking the return value of each and every silly little function. The * (-1) returns are here because zero is already taken by longjmp(). */ #define AC_PERMIT 1 /* permit access */ #define AC_DENY (-1) /* deny_access */ #define AC_ERROR AC_DENY /* XXX */ /* * In verification mode an option function should just say what it would do, * instead of really doing it. An option function that would not return * should clear the dry_run flag to inform the caller of this unusual * behavior. */ extern void process_options __P((char *, struct request_info *)); /* execute options */ extern int dry_run; /* verification flag */ /* Bug workarounds. */ #ifdef INET_ADDR_BUG /* inet_addr() returns struct */ #define inet_addr fix_inet_addr extern long fix_inet_addr(); #endif #ifdef BROKEN_FGETS /* partial reads from sockets */ #define fgets fix_fgets extern char *fix_fgets(); #endif #ifdef RECVFROM_BUG /* no address family info */ #define recvfrom fix_recvfrom extern int fix_recvfrom(); #endif #ifdef GETPEERNAME_BUG /* claims success with UDP */ #define getpeername fix_getpeername extern int fix_getpeername(); #endif #ifdef SOLARIS_24_GETHOSTBYNAME_BUG /* lists addresses as aliases */ #define gethostbyname fix_gethostbyname extern struct hostent *fix_gethostbyname(); #endif #ifdef USE_STRSEP /* libc calls strtok() */ #define strtok fix_strtok extern char *fix_strtok(); #endif #ifdef LIBC_CALLS_STRTOK /* libc calls strtok() */ #define strtok my_strtok extern char *my_strtok(); #endif __END_DECLS #endif /* tcpd.h */
Save
cmd:
run