In lpd.conf: # Purpose: force IPADDR of Originating host for host value in control file # default force_ipaddr_hostname@ (FLAG off)
Phillip Stark wrote: > At 6:01 PM -0700 9/9/02, Phillip Stark wrote: > >> Hi all, >> >> Is there a way to pass the ip or hostname of the computer that sent a >> job to a filter? The -h or -H filter flags would appear to work, but >> these are the hostname as reported by the control file, not >> necessarily the hostname of the computer that actually sent the job. >> This is for an authentication-type function so I need to be sure that >> the info is not spoofed (and, in any case, the hostname reported by >> some non-unix platforms is not a DNS hostname). Basically, I want the >> ip that the bits from the job actually came from not the ip that the >> bits in the job *say* they came from. >> >> Is there and option I'm missing to do this? Could you reliably parse >> this out of the -e or -k options? (-e and -k, the names of the data >> and control files respectively, seem to have the hostname embedded). > > > To answer part of my own question, no, you cannot parse the info from -e > or -k--the hostname embedded there is from the control file just like > -h. Hopefully there's another way? > > Phillip > -- |Rick Cochran phone: 607-255-7618| |Cornell CIT - Systems & Operations - Net-Print 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. -----------------------------------------------------------------------------
