9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] werc HTTP/1.1
@ 2022-09-05 19:00 william
  2022-09-05 19:49 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: william @ 2022-09-05 19:00 UTC (permalink / raw)
  To: 9front

Trying to get me head around this. So I can print or log HTTP_USER_AGENT 
but can I get REMOTE_ADDR or HTTP_HOST? It spits out nothing. How do I get that information?

I just have a bunch of people from Russia hammering the server. I try to get the 
timestamp in /sys/log/www and then refererence with /sys/log/listen?

Just wonder if I can leverage more of the HTTP header features from 1.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] werc HTTP/1.1
  2022-09-05 19:00 [9front] werc HTTP/1.1 william
@ 2022-09-05 19:49 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2022-09-05 19:49 UTC (permalink / raw)
  To: 9front

Quoth william@thinktankworkspaces.com:
> Trying to get me head around this. So I can print or log HTTP_USER_AGENT 
> but can I get REMOTE_ADDR or HTTP_HOST? It spits out nothing. How do I get that information?
> 
> I just have a bunch of people from Russia hammering the server. I try to get the 
> timestamp in /sys/log/www and then refererence with /sys/log/listen?
> 
> Just wonder if I can leverage more of the HTTP header features from 1.1
> 
> 

edit the code -- it's near:

	/rc/bin/rc-httpd/rc-httpd:53

feel free to send a patch.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-05 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 19:00 [9front] werc HTTP/1.1 william
2022-09-05 19:49 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).