On Fri, Mar 29, 2002 at 05:09:00PM +0700, Olivier Nicole wrote:
| mail<root>60: netcat
| netcat: Command not found.
| mail<root>61: 
| 
| so what next?

root@dman # apt-get install netcat  # <grin>

| Telnet works pretty well for the purpose of simulating TCP protocols
| by hand.

Right, but

| So in that case, that was simulating HTTP protocol.

It wasn't quite HTTP, even though apache pretended it was.  Notice how
Craig's example put "HTTP/1.1" at the end of the first line, not "80".
I'm also not sure what telnet does as far as CLRLF vs. LF, but many
protocols are strict on that (SMTP is).  Fortunately implementations
are lax, so it's usually not a problem.


Craig: 
    Thanks for showing me netcat.  It will make the script easier,
    once I figure out the syntax for POSTing a form in HTTP.

-D

-- 

The teaching of the wise is a fountain of life,
turning a man from the snares of death.
        Proverbs 13:14


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to