* Offtopic.
@ 2002-07-29 13:26 xlp
2002-07-29 13:29 ` Offtopic Carlos Fernandez Sanz
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: xlp @ 2002-07-29 13:26 UTC (permalink / raw)
To: linux-c-programming
Hi, I am writting document in spanish about UNIX programming because I have
found that south american universities are focused on Windows, The students
and teachers think the computer science is Windows, they dont know others
OSes, They dont motivate students to understand OSes internals, I dont
understand Why the degree is "system engienering" if they dont know about
memory manipulation, threads, procress, IO, debuggers, etc.
Why study 5 year of engineering if they will work doing clicks and running
'wizards' ? Where are the south american researcher?, Where is the curiosity?.
I read a documentain that describe signals and It says there are 4 types of
'signal handling enviroments': BSD, SysV unreliable, SysV reliable y POSIX.
What does that means? What are those 'enviroments'?
How can I know which enivorement use certain OS ?
What is "POSIX"?
Also, I am trying to cover all UNIX-like oses in my documentation (HPUX, aix,
sunos, DGUX, *bsd, sco, linux), I'd like to know What is the best computer
science-oriented way to call all those OSes? "Unix based OSes", "Unix like
OSes" or just "UNIX" ?
bye friends!.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Offtopic.
2002-07-29 13:26 Offtopic xlp
@ 2002-07-29 13:29 ` Carlos Fernandez Sanz
2002-07-29 16:33 ` Offtopic Darío Mariani
2002-07-30 6:44 ` Offtopic Glynn Clements
2 siblings, 0 replies; 9+ messages in thread
From: Carlos Fernandez Sanz @ 2002-07-29 13:29 UTC (permalink / raw)
To: linux-c-programming
No offense intended, but it looks like some serious time with google is in
order.
----- Original Message -----
From: "xlp" <xlp@emtel.net.co>
To: <linux-c-programming@vger.kernel.org>
Sent: Monday, July 29, 2002 3:26 PM
Subject: Offtopic.
> Hi, I am writting document in spanish about UNIX programming because I
have
> found that south american universities are focused on Windows, The
students
> and teachers think the computer science is Windows, they dont know others
> OSes, They dont motivate students to understand OSes internals, I dont
> understand Why the degree is "system engienering" if they dont know about
> memory manipulation, threads, procress, IO, debuggers, etc.
> Why study 5 year of engineering if they will work doing clicks and running
> 'wizards' ? Where are the south american researcher?, Where is the
curiosity?.
>
> I read a documentain that describe signals and It says there are 4 types
of
> 'signal handling enviroments': BSD, SysV unreliable, SysV reliable y
POSIX.
> What does that means? What are those 'enviroments'?
> How can I know which enivorement use certain OS ?
> What is "POSIX"?
>
> Also, I am trying to cover all UNIX-like oses in my documentation (HPUX,
aix,
> sunos, DGUX, *bsd, sco, linux), I'd like to know What is the best computer
> science-oriented way to call all those OSes? "Unix based OSes", "Unix like
> OSes" or just "UNIX" ?
>
> bye friends!.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Offtopic.
2002-07-29 13:26 Offtopic xlp
2002-07-29 13:29 ` Offtopic Carlos Fernandez Sanz
@ 2002-07-29 16:33 ` Darío Mariani
2002-07-29 17:43 ` Offtopic xlp
2002-07-30 6:44 ` Offtopic Glynn Clements
2 siblings, 1 reply; 9+ messages in thread
From: Darío Mariani @ 2002-07-29 16:33 UTC (permalink / raw)
To: xlp; +Cc: linux-c-programming
xlp wrote:
> Hi, I am writting document in spanish about UNIX programming because I have
> found that south american universities are focused on Windows, The students
> and teachers think the computer science is Windows, they dont know others
> OSes, They dont motivate students to understand OSes internals, I dont
> understand Why the degree is "system engienering" if they dont know about
> memory manipulation, threads, procress, IO, debuggers, etc.
> Why study 5 year of engineering if they will work doing clicks and running
> 'wizards' ? Where are the south american researcher?, Where is the curiosity?.
Universidad de Buenos Aires (www.uba.ar) and it's not the only south
american university.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Offtopic.
2002-07-29 16:33 ` Offtopic Darío Mariani
@ 2002-07-29 17:43 ` xlp
0 siblings, 0 replies; 9+ messages in thread
From: xlp @ 2002-07-29 17:43 UTC (permalink / raw)
To: Darío Mariani; +Cc: linux-c-programming
> > Hi, I am writting document in spanish about UNIX programming because I have
> > found that south american universities are focused on Windows, The students
> > and teachers think the computer science is Windows, they dont know others
> > OSes, They dont motivate students to understand OSes internals, I dont
> > understand Why the degree is "system engienering" if they dont know about
> > memory manipulation, threads, procress, IO, debuggers, etc.
> > Why study 5 year of engineering if they will work doing clicks and running
> > 'wizards' ? Where are the south american researcher?, Where is the curiosity?.
>
> Universidad de Buenos Aires (www.uba.ar) and it's not the only south
> american university.
I dont want to start a pointless debate, however, The south america engineering
is focused on configuration and administration of foreign technology; Yeah,
I can find a couple of 'unix gurus' at Argentina, but What for? There is no
a school of research and the average engineer is not well structured.
bye.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Offtopic.
2002-07-29 13:26 Offtopic xlp
2002-07-29 13:29 ` Offtopic Carlos Fernandez Sanz
2002-07-29 16:33 ` Offtopic Darío Mariani
@ 2002-07-30 6:44 ` Glynn Clements
2 siblings, 0 replies; 9+ messages in thread
From: Glynn Clements @ 2002-07-30 6:44 UTC (permalink / raw)
To: xlp; +Cc: linux-c-programming
xlp wrote:
> I read a documentain that describe signals and It says there are 4 types of
> 'signal handling enviroments': BSD, SysV unreliable, SysV reliable y POSIX.
> What does that means? What are those 'enviroments'?
I'm only aware of two of those.
The (unreliable) SysV signal() implementation is equivalent to using
sigaction() with the SA_ONESHOT and SA_NODEFER flags.
The BSD signal() implementation is equivalent to using sigaction() with
the SA_RESTART flag.
> How can I know which enivorement use certain OS ?
Check the signal(2) manpage. However, it may be wrong; e.g. my version
(from RedHat 6.2) describes the SysV semantics, although glibc-2
actually uses the BSD semantics by default.
The easiest solution is simply not to use signal(), but to use
sigaction() instead.
> What is "POSIX"?
It's a family of IEEE standards which define a common Unix-like API.
The original POSIX.1 standard (which specifies the base API) has
largely been superseded; first by the XPG standards and, more
recently, via the Single Unix Specification.
You can read the Single Unix Specification online at www.opengroup.org
(free registration required). AFAIK, the other standards aren't
available online (and copies are very expensive).
--
Glynn Clements <glynn.clements@virgin.net>
^ permalink raw reply [flat|nested] 9+ messages in thread
* offtopic
@ 2003-06-25 19:56 Fabio Miranda Hamburger
2003-06-25 20:43 ` offtopic Jan-Benedict Glaw
0 siblings, 1 reply; 9+ messages in thread
From: Fabio Miranda Hamburger @ 2003-06-25 19:56 UTC (permalink / raw)
To: linux-c-programming
Hi, I am curious if It's possible to code in C, a small user keylloger.
For exmaple, a unprivileged user log on a machine and the "user kelogger"
start and all key are logged including those typed on getpass() functions.
(ej: passwd) and remote connections with telnet and ssh.
thanks,
---
Fabio Andres Miranda
Ingenieria de sistemas informaticos
Universidad Latina - Costa Rica
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: offtopic
2003-06-25 19:56 offtopic Fabio Miranda Hamburger
@ 2003-06-25 20:43 ` Jan-Benedict Glaw
2003-06-26 16:57 ` offtopic Fabio Miranda Hamburger
0 siblings, 1 reply; 9+ messages in thread
From: Jan-Benedict Glaw @ 2003-06-25 20:43 UTC (permalink / raw)
To: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
On Wed, 2003-06-25 13:56:17 -0600, Fabio Miranda Hamburger <fabmirha@ns.isi.ulatina.ac.cr>
wrote in message <Pine.LNX.4.44.0306251354300.16254-100000@ns.isi.ulatina.ac.cr>:
> Hi, I am curious if It's possible to code in C, a small user keylloger.
> For exmaple, a unprivileged user log on a machine and the "user kelogger"
> start and all key are logged including those typed on getpass() functions.
> (ej: passwd) and remote connections with telnet and ssh.
No need to do programming. Simlpy strace user's shell (and any spawned
processes) and look I/O to file descriptors 0 and 1.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: offtopic
2003-06-25 20:43 ` offtopic Jan-Benedict Glaw
@ 2003-06-26 16:57 ` Fabio Miranda Hamburger
2003-06-26 22:43 ` offtopic Glynn Clements
0 siblings, 1 reply; 9+ messages in thread
From: Fabio Miranda Hamburger @ 2003-06-26 16:57 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: linux-c-programming
> > Hi, I am curious if It's possible to code in C, a small user keylloger.
> > For exmaple, a unprivileged user log on a machine and the "user kelogger"
> > start and all key are logged including those typed on getpass() functions.
> > (ej: passwd) and remote connections with telnet and ssh.
>
> No need to do programming. Simlpy strace user's shell (and any spawned
> processes) and look I/O to file descriptors 0 and 1.
I dont understand. How to "strace the user's shell"?
I would like to this without root access.
The idea is: code a program that keylog the session of oneself. "script"
unix command doesnt work with getpass() functions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: offtopic
2003-06-26 16:57 ` offtopic Fabio Miranda Hamburger
@ 2003-06-26 22:43 ` Glynn Clements
0 siblings, 0 replies; 9+ messages in thread
From: Glynn Clements @ 2003-06-26 22:43 UTC (permalink / raw)
To: Fabio Miranda Hamburger; +Cc: Jan-Benedict Glaw, linux-c-programming
Fabio Miranda Hamburger wrote:
> > > Hi, I am curious if It's possible to code in C, a small user keylloger.
> > > For exmaple, a unprivileged user log on a machine and the "user kelogger"
> > > start and all key are logged including those typed on getpass() functions.
> > > (ej: passwd) and remote connections with telnet and ssh.
> >
> > No need to do programming. Simlpy strace user's shell (and any spawned
> > processes) and look I/O to file descriptors 0 and 1.
>
> I dont understand. How to "strace the user's shell"?
> I would like to this without root access.
> The idea is: code a program that keylog the session of oneself. "script"
> unix command doesnt work with getpass() functions.
I suggest modifying "script" to log the input instead of the output.
Essentially, any solution will involve using a pseudo-terminal (pty).
These are described in chapter 19 of Stevens[1], or you can start with
the source code for any program which uses ptys (e.g. in.telnetd,
xterm, screen, script; of these, script is likely to be the simplest).
[1]
Advanced Programming in the Unix(R) Environment
W Richard Stevens
Addison-Wesley, 1992
0-201-56317-7
--
Glynn Clements <glynn.clements@virgin.net>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-06-26 22:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29 13:26 Offtopic xlp
2002-07-29 13:29 ` Offtopic Carlos Fernandez Sanz
2002-07-29 16:33 ` Offtopic Darío Mariani
2002-07-29 17:43 ` Offtopic xlp
2002-07-30 6:44 ` Offtopic Glynn Clements
-- strict thread matches above, loose matches on Subject: below --
2003-06-25 19:56 offtopic Fabio Miranda Hamburger
2003-06-25 20:43 ` offtopic Jan-Benedict Glaw
2003-06-26 16:57 ` offtopic Fabio Miranda Hamburger
2003-06-26 22:43 ` offtopic Glynn Clements
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).