HOSTNAME value in ocserv scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 15, 2015 at 11:02 PM, Niels Peen <niels at peen.ch> wrote:
> Hi,
> The ocserv manual mentions this:
> ...
> # The following parameters are passed on the environment.
> # REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client),
> ?
>
> But it?s unclear to me what would fill the HOSTNAME variable. In my setup it?s always empty.  I was hoping it would contain the hostname that the client intended to connect to, though I?m not sure if that?s known to the server.

No, it is the value from X-CSTP-Hostname, that is, the hostname the
client would like to map his IP address to.

regards,
Nikos



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux