> From [EMAIL PROTECTED] Mon Dec  3 14:16:44 2001
> Date: Mon, 03 Dec 2001 14:16:03 -0700 (MST)
> From: David Bear <[EMAIL PROTECTED]>
> Subject: LPRng: ip loggin in syslog
> To: [EMAIL PROTECTED]
>
> is it possible to have lpd log the ip address of the connecting client as
> will .  I get a lot of the old buffer over flow  hack attempts on lpd and
> would like to know where they come from.
>
> -- 
> David Bear
> College of Public Programs/ASU
> 480-965-8257
> ...the way is like water, going where nobody wants it to go

Sure... but you will get a HUGE amount of log file... especially
if you have Samba or some other stuff that periodically hits
the server.

See the 'common/lpd.c' for the 'accept()' call and some
debugging stuff.  All you need to do is put this to a log file.

Enjoy.

Patrick ("Don't go there, Luke!  Beware of the Dark Side.") Powell

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to