Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ncaport.conf(4) [opensolaris man page]

ncaport.conf(4) 						   File Formats 						   ncaport.conf(4)

NAME
ncaport.conf - ncaport configuration file SYNOPSIS
/etc/nca/ncaport.conf DESCRIPTION
The ncaport.conf file is used to configure the IP addresses and ports that the Solaris Network Cache and Acceleration (NCA) kernel module services. The file contains two fields, key and value, in the format of ncaport=ipaddress/port. IPv4 addresses must be in the dot notation d.d.d.d. IPv6 addresses must be in one of the three conventional forms (see inet_pton(3SOCKET)). If an asterisk (*) is used for an IP address, it is interpreted as INADDR_ANY, which matches any IP address. A web server uses the environment variable LD_PRELOAD and the ncaport.conf configuration file to convert an AF_INET socket to an AF_NCA socket. LD_PRELOAD enables the NCA socket utility library to be loaded before libsocket.so.1. See the ncad_addr(4) for details. When a web server issues the bind(3SOCKET) system call, it is intercepted by the interposition library ncad_addr.so. If the bind address is in the ncaport.conf file, the AF_INET socket is converted to a AF_NCA socket. EXAMPLES
Example 1 Sample ncaport.conf File The following is a sample ncaport.conf file: # # NCA Kernel Module Port Configuration File # ncaport=1080:0:0:0:8:800:200C:417A/100 ncaport=192.168.84.71/80 ncaport=*/9000 SEE ALSO
nca(1), bind(3SOCKET), inet_pton(3SOCKET), ncad_addr(4), attributes(5) NOTES
For those web servers that use AF_NCA sockets, the NCA port configuration described here has no effect. NCA does not currently support IPv6. Any IPv6 addresses in the file ncaport.conf are ignored. SunOS 5.11 30 Jul 2001 ncaport.conf(4)

Check Out this Related Man Page

ncaport.conf(4)                                                    File Formats                                                    ncaport.conf(4)

NAME
ncaport.conf - ncaport configuration file SYNOPSIS
/etc/nca/ncaport.conf DESCRIPTION
The ncaport.conf file is used to configure the IP addresses and ports that the Solaris Network Cache and Acceleration (NCA) kernel module services. The file contains two fields, key and value, in the format of ncaport=ipaddress/port. IPv4 addresses must be in the dot notation d.d.d.d. IPv6 addresses must be in one of the three conventional forms (see inet_pton(3SOCKET)). If an asterisk (*) is used for an IP address, it is interpreted as INADDR_ANY, which matches any IP address. A web server uses the environment variable LD_PRELOAD and the ncaport.conf configuration file to convert an AF_INET socket to an AF_NCA socket. LD_PRELOAD enables the NCA socket utility library to be loaded before libsocket.so.1. See the ncad_addr(4) for details. When a web server issues the bind(3SOCKET) system call, it is intercepted by the interposition library ncad_addr.so. If the bind address is in the ncaport.conf file, the AF_INET socket is converted to a AF_NCA socket. EXAMPLES
Example 1: Sample ncaport.conf File The following is a sample ncaport.conf file: # # NCA Kernel Module Port Configuration File # ncaport=1080:0:0:0:8:800:200C:417A/100 ncaport=192.168.84.71/80 ncaport=*/9000 SEE ALSO
nca(1), bind(3SOCKET), inet_pton(3SOCKET), ncad_addr(4), attributes(5) NOTES
For those web servers that use AF_NCA sockets, the NCA port configuration described here has no effect. NCA does not currently support IPv6. Any IPv6 addresses in the file ncaport.conf are ignored. SunOS 5.10 30 Jul 2001 ncaport.conf(4)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Comma Delimited file

I have a comma delimited file that sometimes has addresses details in. The problem is that the address detail can be seen as: "Sample House, Sample Road". When I run a script specifying the file is comma delimited I would like it to ignore comma's that are in between speech marks. Is this... (2 Replies)
Discussion started by: dbrundrett
2 Replies

2. IP Networking

Inaddr_any

HI All, This is about the Basics of INADDR_ANY. When we bind to the server by placing the value of sin_addr.s_addr as INADDR_ANY, Does it binds to all the IP addresses( If that system is multi homed one) with the specified port?. i.e if the system is having IP1 , IP2 and IP3 addresses and... (3 Replies)
Discussion started by: athresh
3 Replies

3. IP Networking

INADDR_ANY opposite

Hello, is there some way to obtain system's IP adresses to bind socket to every of them separately instead od INADDR_ANY? OR If there is some way to get server's IP to which client has connected, for example: server_app - bind to listen on INADDR_ANY, gets connected client to 1.2.3.4,... (2 Replies)
Discussion started by: d4rkl0rd
2 Replies

4. IP Networking

Getting IP address of a server

Hello, I have a server in C that is listening on a socket using s_addr = INADDR_ANY, and clients connect to it. How can I know which address did the client use to connect to that socket? It might be 127.0.0.1 (if the server is running locally), 192.168.x.x (if the client is from inside the... (1 Reply)
Discussion started by: royger
1 Replies

5. IP Networking

Configure a range of ports to "socket" system call

Hello ; This what i want to do : I know that in the system call #include <sys/socket.h> int bind(int socket, const struct sockaddr *address, socklen_t address_len); you can specify the local port for your socket, but im using a private library , and im sure that in that library... (0 Replies)
Discussion started by: trutoman
0 Replies

6. Shell Programming and Scripting

dispalying the data on a web address

Hi Team, My requirement is to get the details from a file or DB (sources) and post it on a web address from where users can see latest data. Please help me in following : 1. How to create a web address that could be shared to multiple users. 2. How to post the this data on that web address... (5 Replies)
Discussion started by: sanjaydubey2006
5 Replies

7. AIX

Ping Failure!!

Hi, Am trying to ping between AIX and FreeBSD7.4/i386 by IPv6 address.. It is unable, I configured all files like /etc/rc.conf at freebsd and /etc/hosts and etc/netsvc.conf and restarted the IPv6 network at AIX.. Please help me where I have missed the procedure.. (1 Reply)
Discussion started by: Priya Amaresh
1 Replies

8. Web Development

Script to determine which web server at ip addresses

how do we determine if ip addresses are hosting IIS version 7.x or Apache 2.2.x. ? (3 Replies)
Discussion started by: NameSake
3 Replies

9. Web Development

Optimizing Vue.js webpack chunks in webpack.base.conf.js

Recently, the Vue.js app I am building starting getting some very large chucks which were causing the javascript to load very slowly. I added some code to webpack.base.conf.js and it made a huge difference in chuck optimization and loading time: module.exports = { optimization: { ... (0 Replies)
Discussion started by: Neo
0 Replies