I _desperately_ need for my print filter to know the REAL ip address of the lpr client (from the socket connection, not from the data which it sends in the control file). Trust me. I do. Really.
force_fqdn_hostname simply does not supply anything useful for that purpose. That does not appear to be its purpose. My next solution was to patch linelist.c to stick the request IP in an environment variable which could be picked up by the filter. This appeared to work, but really did not. The filter would get an IP address, but it would not necessarily be the correct one. I understand how this happens. I have now mercilessly hacked more code than I wanted to the effect that the 'H' line in the control file ends up with "IPnnn.nnn.nnn.nnn" appended to whatever seems to insist on being there no matter what I do. This is good enough for now, but is not what I would call an esthetically pleasing solution. Any suggestions would be appreciated. -Rick |Rick Cochran phone: 607-255-7618| |Network and Computing Systems, Cornell CIT FAX: 607-255-8521| |730 Rhodes Hall, Ithaca, N.Y. 14853 email: [EMAIL PROTECTED]| ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
