[syslinux] syntax of tftpd mapfile

Andreas Schulze andreas.schulze at datev.de
Fri Apr 4 00:58:36 PST 2003


Hello,

sorry it doesn't work...

 - I have tftp-0.28
 - my mapfile contains only one line 'r ^/ /\i/' separated by tabs
 - tftp args: tftp -l -c -s /config/tftp -m /config/mapfile -v -v -v
 - syslog:
Apr  4 09:05:24 L29781 in.tftpd[3134]: remap: input: /config
Apr  4 09:05:24 L29781 in.tftpd[3134]: remap: rule 0: rewrite: //config
Apr  4 09:05:24 L29781 in.tftpd[3134]: remap: done
Apr  4 09:05:24 L29781 in.tftpd[3134]: WRQ from 10.252.0.91 filename /config remapped to //config

what do I wrong ?

Andreas Schulze

On Thu, 03 Apr 2003 11:25:41 -0800
"H. Peter Anvin" <hpa at zytor.com> wrote:

> Andreas Schulze wrote:
> > Hello,
> > 
> > I want to use tftpd rewrite feature to sort configs from different systems
> > to subdirs named by the system-ip and (perheps) by date.
> > 
> > the system (cisco pix) issues 'wr net: /config'
> > this should be rewritten to /10.0.0.1/config or better /10.0.0.1/20020403-1448 
> > 
> > Is this possible?
> > Thanks for any hints.
> > 
> 
> r	^/config	/\i/config
> 
> ... or, if you want to change *any* filename starting with / to this form:
> 
> r	^/		/\i/
> 
> 	-hpa
> 
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
> 
> 


-- 
#########################################################################################

Andreas Schulze

DATEV eG, Paumgartner Straße 6-14, D - 90329 Nürnberg
Abt. Kommunikationstechnik, P551 LAN-Design
Telefon: +49 (0) 911 / 276 - 2648
Telefax: +49 (0) 911 / 276 - 7892
E-Mail : andreas.schulze_at_datev.de



More information about the Syslinux mailing list