09-12-2002
The last field of the output from the who command should give it to you.
10 More Discussions You Might Find Interesting
1. Programming
Hello Experts,
Happy New Year to all of us,
In AIX 4.3.3 I am trying to figure out how is possible to find out the IP address that a telnet session - user uses to login in to host machine. My objective is by finding the login IP address to allow the user to login or not.
All users uses the... (6 Replies)
Discussion started by: sszago
6 Replies
2. Programming
I have configured my firewall to allow only five remote IP's to connect to my server. Upon connection...i would like to automate the Xsession functions for authorized IP's.
Mainly, $DISPLAY of the environment to the client.
I understand that the "gethostbyaddr" function is capable of this.... (0 Replies)
Discussion started by: thomas.jones
0 Replies
3. UNIX for Advanced & Expert Users
I am using Tru64UX 5.1a on alphaserver 4100.
Users access the application through Telnet sessions to this server.
My requirement is to limit the users login through their PCs only.
Is there any way I can accomplish this on the unix box ?
I want to include a script in the .profile ( or... (1 Reply)
Discussion started by: shauche
1 Replies
4. IP Networking
I have a UNIX daemon program which takes client connections via TCP/IP sockets.
What I need to know is if there is any way of getting the IP address of the client socket once a connection has been made... or do I have to code my client to send it manually ?
Thanks. (1 Reply)
Discussion started by: ovingtond
1 Replies
5. UNIX for Dummies Questions & Answers
when working on a telnet is it possible the client machine accessing the server machine supply its IP Address to the server machine . The only other shell i can use is the TCL shell. (2 Replies)
Discussion started by: rolly
2 Replies
6. IP Networking
The situation:
a Unix system (UnixWare 7.1.3) to which are connected other systems;
various p.c. on the LAN that they connect Unix to the system via TelNet.
The problem:
I need to intercept the address IP of the p.cs. connected via telnet to the Unix system.
Particularly, I have to know the... (2 Replies)
Discussion started by: paololrp
2 Replies
7. Programming
I read an other post with a similar title but thios is different.
here is a basic portion layout of our network
Win PC 1 w/Refection X --
|
Win PC 2 w/Refection X --
|-- 1 of 6 HP Unix servers -- Win 2k pc
Win PC 3 w/Refection X --
... (0 Replies)
Discussion started by: fayette
0 Replies
8. IP Networking
A client(PC) connects to an unix server via terminal emulator.
How can I obtain that client's IP address?
The unix server is an old SVR4.2 (NCR) and the "who" command
does not show ip addresses.
I need a command or a shell script or a C/C++ program that will
help me to obtain the client's... (6 Replies)
Discussion started by: ka2d2
6 Replies
9. Programming
Hi, Experts:
I have programmed a simple telnet client in sco unix 5.0.5, the client has passed throught the initial option negotiation, but I can't receive login prompt from the server. please help me. (8 Replies)
Discussion started by: thinker130
8 Replies
10. Linux
Hello everyone. I have a script that telnets into a linux workstation and restarts a service, while logging the session to a file. I'm kind of new to linux so when I was using windows I would capture something like
windows cli: telnet xxx.xxx.xxx.xxx -f c:/capture.log
...
# /sbin/service... (3 Replies)
Discussion started by: Elyas_cr
3 Replies
LEARN ABOUT DEBIAN
shishi_asn1_read_optional
shishi_asn1_read_optional(3) shishi shishi_asn1_read_optional(3)
NAME
shishi_asn1_read_optional - API function
SYNOPSIS
#include <shishi.h>
int shishi_asn1_read_optional(Shishi * handle, Shishi_asn1 node, const char * field, char ** data, size_t * datalen);
ARGUMENTS
Shishi * handle
shishi handle as allocated by shishi_init().
Shishi_asn1 node
ASN.1 variable to read field from.
const char * field
name of field in node to read.
char ** data
newly allocated output buffer that will hold ASN.1 field data.
size_t * datalen
actual size of output buffer.
DESCRIPTION
Extract data stored in a ASN.1 field into a newly allocated buffer. If the field does not exist (i.e., SHISHI_ASN1_NO_ELEMENT), this func-
tion set datalen to 0 and succeeds. Can be useful to read ASN.1 fields which are marked OPTIONAL in the grammar, if you want to avoid spe-
cial error handling in your code.
RETURN VALUE
Returns SHISHI_OK if successful, SHISHI_ASN1_NO_VALUE if the field has no value, ot SHISHI_ASN1_ERROR otherwise.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_asn1_read_optional(3)