Re: [LHA-misc] Line parsing routine
Status: Beta
Brought to you by:
ncherry
From: Jay H. <jh...@fa...> - 2000-11-29 16:40:17
|
At 10:24 AM 11/29/00 -0500, you wrote: > > >Just to clearify, before I implement, are the USER/PASS/QUIT optional if a > > >agent does not want to handle logins? If using logins, I imagine it should > > >actually validate the login on the host machine's users (ie: use the passwd > > >file under linux)? Kind of pain for a simple agent. As far as security, it is > > >probably better not to let the agent port past the firewall. > > > > I don't see a problem not implementing it. Just need an error message > > for 'not implemented' and make sure the server side understands (and > >wouldn't it be better to return success than failure? Sorry. The "read between the lines" is "return a success message that indicates not implemented." >regarding the "addr=" and "value=" thread: > > > - It maintains uniformity across everything for parsing/building > > messages because nothing except the initial keyword is positional. > >i don't recall your document mentioning it -- but i think that point should >be made explicit if it hasn't been already. it's an important thing >for an implementor to remember. Good point. When I did the first pass I was concerned more with the protocol, addressing, and exact functionality. Since it appears the document is going to live you are very correct that I need to get all the "implied" stuff in place. My todo list (in order): - Sample XML of the sub-device configuration (and virtual devices) - Update Agent-1.0 protocol doc for this and other "implied" stuff - Put both up for initial comments (probably my web page) and get a rough review then let Neil post the stuff to sourceforge as a working doc if he wants. Jay |