1ncaport.conf(4)                  File Formats                  ncaport.conf(4)
2
3
4

NAME

6       ncaport.conf - ncaport configuration file
7

SYNOPSIS

9       /etc/nca/ncaport.conf
10
11

DESCRIPTION

13       The  ncaport.conf  file is used to configure the IP addresses and ports
14       that the Solaris Network Cache and  Acceleration  (NCA)  kernel  module
15       services. The file contains two fields, key and value, in the format of
16       ncaport=ipaddress/port. IPv4 addresses must  be  in  the  dot  notation
17       d.d.d.d.  IPv6 addresses must be in one of the three conventional forms
18       (see inet_pton(3SOCKET)). If an asterisk (*) is used for an IP address,
19       it is interpreted as INADDR_ANY, which matches any IP address.
20
21
22       A  web  server  uses  the  environment variable LD_PRELOAD and the nca‐
23       port.conf configuration file to convert an AF_INET socket to an  AF_NCA
24       socket.  LD_PRELOAD enables the NCA socket utility library to be loaded
25       before libsocket.so.1. See the ncad_addr(4) for  details.  When  a  web
26       server  issues  the bind(3SOCKET) system call, it is intercepted by the
27       interposition library ncad_addr.so. If the bind address is in the  nca‐
28       port.conf file, the AF_INET socket is converted to a AF_NCA socket.
29

EXAMPLES

31       Example 1 Sample ncaport.conf File
32
33
34       The following is a sample ncaport.conf file:
35
36
37         #
38         # NCA Kernel Module Port Configuration File
39         #
40         ncaport=1080:0:0:0:8:800:200C:417A/100
41         ncaport=192.168.84.71/80
42         ncaport=*/9000
43
44
45

SEE ALSO

47       nca(1), bind(3SOCKET), inet_pton(3SOCKET), ncad_addr(4), attributes(5)
48

NOTES

50       For  those web servers that use AF_NCA sockets, the NCA port configura‐
51       tion described here has no effect.
52
53
54       NCA does not currently support IPv6. Any IPv6  addresses  in  the  file
55       ncaport.conf are ignored.
56
57
58
59SunOS 5.11                        30 Jul 2001                  ncaport.conf(4)
Impressum