According to this link you can add a line to /etc/environment
that will be inherited in a new login shell.
(I am not sure how/if this will spread to a "NFS mount at boot".)
I do not understand why you bother with the source ports; it does not matter at all, and usually a firewall does not have rules about source ports.
Hi Guys,
i am trying to open a port in AIX.
but i am not able to get the command for this. AIX is not having the iptables file present.
So please any body can tell me how to open a port in AIX...
Thanks
sanju (2 Replies)
Hi,
I am working with sun Solaris 5.9 and in my application,I have to communicate with Serial port(i.e /dev/term/a).
So I need source code to by which I can do the following things--
1)check the port is available or not.If it dosn't find the port,it should throw the error message(i.e. port not... (0 Replies)
In general for intalling a package like we do
./configure, make , make install
But if we want to integrate the package with a huge source base
what are the things to be taken care
could some one have a light on purpose of ./configure , make and make install
along with above question.
I... (1 Reply)
Hi,
I was looking on Google for AIX-VIO/LPAR with ISCSI solution and found following really nice tutorial about how to setup ISCSI with free NAS.
1) Build Your Own Open Source NAS Device Using FreeNAS | Train Signal Training - Free Computer Training Videos
2) Build Your Own Open Source... (4 Replies)
Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens:
make: make 1254-025 There must be an existing description file or specify a target.
... (4 Replies)
Hello Gurus,
I was trying to find who's using my port and got below answer from a IBM website. But the problem with the below answer is I need a root to run the rmsock, is there any other alternative to find out who is using my port with out a root access??
1. netstat -Aan | grep <port... (1 Reply)
Hi all,
I need to change the source port number of an outgoing TCP packet. First I have to bind the socket to a particular port(suppose 9001) but when I send the TCP packet I want to change the source port number lets say to 9002 still letting the socket to be bound to the same old port (9001).... (0 Replies)
Hello all,
I need your help with any command to release a port on AIX.
Thanks for all. (5 Replies)
Discussion started by: Mcipamo
5 Replies
LEARN ABOUT CENTOS
rlm_expr
rlm_expr(5) FreeRADIUS Module rlm_expr(5)NAME
rlm_expr - FreeRADIUS Module
DESCRIPTION
The rlm_expr module allows the server to perform limited mathematical calculations. This module is not called directly in any section, it
is invoked through the dynamic expansion of strings.
For example, some NAS boxes send a NAS-Port attribute which is a 32-bit number composed of port, card, and interface, all in different
bytes. To see these attributes split into pieces, you can have an entry in the 'users' file like:
DEFAULT
Vendor-Interface = `%{expr: %{NAS-Port} / (256 * 256)}`,
Vendor-Card = `%{expr: (%{NAS-Port} / 256) %% 256}`,
Vendor-Port = `%{expr: %{NAS-Port} %% 256}`
where the attributes Vendor-Interface, Vendor-Card, and Vendor-Port are attributes created by either you or a vendor-supplied dictionary.
The methematical operators supported by the expression module are:
+ addition
- subtraction
/ division
%% modulo remainder
* multiplication
& boolean AND
| boolean OR
() grouping of sub-expressions
NOTE: The modulo remainder operator is '%%', and not '%'. This is due to the '%' character being used as a special character for dynamic
translation.
NOTE: These operators do NOT have precedence. The parsing of the input string, and the calculation of the answer, is done strictly left to
right. If you wish to order the expressions, you MUST group them into sub-expression, as shown in the previous example.
All of the calculations are performed as unsigned 32-bit integers.
CONFIGURATION
modules {
...
expr {
}
...
}
...
instantiate {
...
expr
...
}
SECTIONS
instantiate
FILES
/etc/raddb/radiusd.conf
SEE ALSO radiusd(8), radiusd.conf(5)AUTHOR
Chris Parker, cparker@segv.org
5 February 2004 rlm_expr(5)