Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed Dec 27, 2023
1 parent 450fb45 commit 82ceae4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions stage-honeypi/01-install-honeypi/files/dhcpcd.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#request subnet-mask, broadcast-address, time-offset, routers,
# domain-name, domain-name-servers, domain-search

option domain_name_servers

interface uap0 # interface used by hostapd
static ip_address=192.168.4.1/24
static routers=192.168.4.1
#static domain_name_servers=192.168.4.1 8.8.8.8
nohook wpa_supplicant # according to https://raspberrypi.stackexchange.com/a/133197

interface wlan0
Expand Down
4 changes: 2 additions & 2 deletions stage-honeypi/01-install-honeypi/files/dnsmasq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ dhcp-option=6,192.168.4.1 # Domain Name Server
no-dhcp-interface=lo
no-dhcp-interface=wlan0
no-dhcp-interface=eth0
server=8.8.8.8
#bind-interfaces
server=8.8.8.8 # Google DNS

# resolve to webinterface
address=/local/192.168.4.1
address=/honeypi/192.168.4.1
2 changes: 0 additions & 2 deletions stage-honeypi/01-install-honeypi/files/lighttpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ setenv.add-response-header += (
"Content-Security-Policy" => "default-src 'none';script-src 'self' 'unsafe-inline';style-src 'self' 'unsafe-inline';font-src 'self';img-src 'self' data:;connect-src 'self'",
"X-Frame-Options" => "SAMEORIGIN",
"X-Content-Type-Options" => "nosniff",
"X-XSS-Protection" => "1; mode=block",
"Referrer-Policy" => "origin",
"Feature-Policy" => "camera 'none'; microphone 'none'; geolocation 'none'; payment 'none'",
"Cache-Control" => "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
)

Expand Down

0 comments on commit 82ceae4

Please sign in to comment.