Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
/ caddy-arp Public archive

caddy plugin retrives client mac if possible

Notifications You must be signed in to change notification settings

boypt/caddy-arp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

caddy-arp

caddy plugin retrives client mac if possible

This plugin reads /proc/net/arp for IP-Mac mapping info. Thus works only when client is from same layer-2 scope.

The plugin add a single arp directive, provices a placeholder {client_mac}.

:80 {
  tls off
  arp
  root /srv
  gzip
  ext .htm .html
  templates
  header / x-mac {client_mac}
}

About

caddy plugin retrives client mac if possible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages