From: Mark J. <ma...@ma...> - 2002-05-14 07:46:49
|
On Tue, 2002-05-14 at 09:29, Dieter Heiliger wrote: > Hi Jos! >=20 > Thanks for your quick reply. >=20 > > We started out using gengetopt, but then had to hack the generated file > > manually, so we lost the definition file. >=20 > An old version of the definition file (V1.0.4) can be found on=20 > http://www.maniac.nl/proxytunnel.html. But I think you know that ... Yeah, but the output of gengetopt was not the way we liked it, and after every run of gengetopt we would have to modify the created files, so we just used it as the initial template, and have been manually editing it since then :) > It should also be not too difficult to reengineer the definition file=20 > from cmdline.c & cmdline.h. But I do not know if you like to use=20 > gengetopt in the future. That'll be a big NO :) > > The extra feature you mention > > is indeed very minor implementation work. However, I made some sweeping > > changes to the code in order to add /etc/proxytunnel and > > $HOME/.proxytunnel work, so before you do too much work on the current > > code, let Mark reply about the status of the last set of changes I sent > > to him... I still have to work on that part of the code, but I'll add your idea to the next release (probably tomorrow, since it's my day off :) ) I'll rework it into a 'generic header' option, so you can supply extra headers to be sent to the proxy. Maybe something like: proxytunnel ..... -H "User-agent: SpoofedAgent1.0" -H "Someotherheader: somevalue" .... > Thanks for the advice. Nevertheless I will send the idea for my change=20 > during the day. Perhaps you find these changes helpful and can integrate=20 > them. You're allways welcome to do so :) To you and Jos: I'll try and add the rc-file support after this, but still want to rework it a bit before commiting the changes back to cvs. Next release will still be without rc-files, but with the headers function. After that i'll put in some rc-file support. --=20 Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178 Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl |