Sponsored Content
Operating Systems AIX How to check that rpcbind/portmap on AIX allowes updates from non privileged ports? Post 302924690 by bakunin on Tuesday 11th of November 2014 04:04:55 PM
Old 11-11-2014
Quote:
Originally Posted by derekhsu
Hi,

I am trying to implement a service on AIX based on ONCRPC protocal and I want to use a RPC library called oncrpc4j because it is a non-blocked i/o library. I found it works fine on my work machine (WIndows 7) but failed on my AIX work station. The author of oncrpc4j told me that check that rpcbind/portmap on AIX allowes updates from non privileged ports. But I just can find out how to do this, is anybody could provide help? Thank you.
What you are allowed to do is usually a matter of user rights, not of protocols. Please provide details about the user account you want to use to do what you want to do and its properties.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

check inbound traffic on ports

Hello, I'm new to the forum and would like to know how to check inbound traffic on various port numbers. I would also like to know how to open and close various ports on a unix box running solaris 8. Thanks in advance. sunoracle (1 Reply)
Discussion started by: sunoracle
1 Replies

2. IP Networking

check inbound traffic on ports

Hello, I'm new to the forum and would like to know how to check inbound traffic on various port numbers. I would also like to know how to open and close various ports on a unix box running solaris 8. Thanks in advance. sunoracle (2 Replies)
Discussion started by: sunoracle
2 Replies

3. Shell Programming and Scripting

Check open ports every ...

Hello, i need a script (bash type maybe?..), which would check open ports on 127.0.0.1 and then compare open ports with "registered/allowed" port list and try to kill the program who uses unregistered ports. It would be great that script would be started lets say every 5 or 10 minutes. You see i... (2 Replies)
Discussion started by: MorchiuS
2 Replies

4. Cybersecurity

check ports on server

Hi All, I've been using this to verify if ports is open on a server. For example I would like to check port 5887, "telnet ip.of.server 5887" using on dos. If there's response on it then I can say it's open, if not then it's close. Is that assumption accurate? Thanks for any comments you... (4 Replies)
Discussion started by: itik
4 Replies

5. Solaris

Non-root user access to privileged ports-Solaris 8

Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up: SEVERE: Error initializing endpoint java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies

6. AIX

AIX TL updates not including all packages needed

In trying to resolve my issue, I downloaded TL 11 and trying to update to it. Why the heck does not the TL fix have the required files in it? Thats another 1.+ GB download. I am also sure that when I go to install that package it will complain about rsct not being updated. MISSING... (1 Reply)
Discussion started by: mrmurdock
1 Replies

7. AIX

portmap and nfsd

Hello, what is the relation between portmap and nfsd and how communication between them looks like. Does the nfsclient contact with the portmap or nfsd first. Many thanks in advance for helping me to understand this :) BR, p (3 Replies)
Discussion started by: pitmod
3 Replies

8. UNIX for Advanced & Expert Users

How much time for updates: HP-UX and AIX.?

Wasn't sure how to word the title... sorry. In HP-UX and AIX specifically you apply a set of patches, not like solaris and linux where you update what's needed individually. So, for example, when going from patch level 1.1 to 1.8 is the time to complete exponential (1.1 -> 1.2 -> 1.3.. so on)... (1 Reply)
Discussion started by: gville2otown
1 Replies

9. UNIX and Linux Applications

Firefox updated when Never Check for updates selected

Can anyone explain how Firefox updated when Never Check for updates is selected? (4 Replies)
Discussion started by: cokedude
4 Replies

10. Proxy Server

First time AIX: question about updates

On HP_UX i download the patches and then install with swinstall On AIX,i found "service packs" but there are many,i have to install all service packs,or the latest is ok? Thanks (5 Replies)
Discussion started by: Linusolaradm1
5 Replies
RPCBIND(8)						    BSD System Manager's Manual 						RPCBIND(8)

NAME
rpcbind -- universal addresses to RPC program number mapper SYNOPSIS
rpcbind [-6adiLls] [-h bindip] DESCRIPTION
The rpcbind utility is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine. When an RPC service is started, it tells rpcbind the address at which it is listening, and the RPC program numbers it is prepared to serve. When a client wishes to make an RPC call to a given program number, it first contacts rpcbind on the server machine to determine the address where RPC requests should be sent. The rpcbind utility should be started before any other RPC service. Normally, standard RPC servers are started by port monitors, so rpcbind must be started before port monitors are invoked. When rpcbind is started, it checks that certain name-to-address translation-calls function correctly. If they fail, the network configura- tion databases may be corrupt. Since RPC services cannot function correctly in this situation, rpcbind reports the condition and terminates. The rpcbind utility can only be started by the super-user. OPTIONS
-6 Bind to AF_INET6 (IPv6) addresses only. -a When debugging (-d), do an abort on errors. -d Run in debug mode. In this mode, rpcbind will not fork when it starts, will print additional information during operation, and will abort on certain errors if -a is also specified. With this option, the name-to-address translation consistency checks are shown in detail. -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times and is typically nec- essary when running on a multi-homed host. If no -h option is specified, rpcbind will bind to INADDR_ANY, which could lead to prob- lems on a multi-homed host due to rpcbind returning a UDP packet from a different IP address than it was sent to. Note that when specifying IP addresses with -h, rpcbind will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. -i ``Insecure'' mode. Allow calls to SET and UNSET from any host. Normally rpcbind accepts these requests only from the loopback interface for security reasons. This change is necessary for programs that were compiled with earlier versions of the rpc library and do not make those requests using the loopback interface. -L Allow old-style local connections over the loopback interface. Without this flag, local connections are only allowed over a local socket, /var/run/rpcbind.sock. -l Turn on libwrap connection logging. -s Cause rpcbind to change to the user daemon as soon as possible. This causes rpcbind to use non-privileged ports for outgoing connec- tions, preventing non-privileged clients from using rpcbind to connect to services from a privileged port. -W Enable libwrap (TCP wrappers) support. NOTES
All RPC servers must be restarted if rpcbind is restarted. FILES
/var/run/rpcbind.sock SEE ALSO
rpcbind(3), netconfig(5), rpcinfo(8) BSD
March 6, 2014 BSD
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy