-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from monsieuremre/wifi-and-bluetooth
Wifi and Bluetooth Patch | Security and Privacy
- Loading branch information
Showing
6 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[General] | ||
# How long to stay in pairable mode before going back to non-discoverable | ||
# The value is in seconds. Default is 0. | ||
# 0 = disable timer, i.e. stay pairable forever | ||
PairableTimeout = 30 | ||
|
||
# How long to stay in discoverable mode before going back to non-discoverable | ||
# The value is in seconds. Default is 180, i.e. 3 minutes. | ||
# 0 = disable timer, i.e. stay discoverable forever | ||
DiscoverableTimeout = 30 | ||
|
||
# Maximum number of controllers allowed to be exposed to the system. | ||
# Default=0 (unlimited) | ||
MaxControllers=1 | ||
|
||
# How long to keep temporary devices around | ||
# The value is in seconds. Default is 30. | ||
# 0 = disable timer, i.e. never keep temporary devices | ||
TemporaryTimeout = 0 | ||
|
||
[Policy] | ||
# AutoEnable defines option to enable all controllers when they are found. | ||
# This includes adapters present on start as well as adapters that are plugged | ||
# in later on. Defaults to 'true'. | ||
AutoEnable=false | ||
|
||
# network/on: A device will only accept advertising packets from peer | ||
# devices that contain private addresses. It may not be compatible with some | ||
# legacy devices since it requires the use of RPA(s) all the time. | ||
Privacy=network/on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[connection] | ||
ipv6.ip6-privacy=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[device-mac-randomization] | ||
wifi.scan-rand-mac-address=yes | ||
|
||
[connection-mac-randomization] | ||
ethernet.cloned-mac-address=random | ||
wifi.cloned-mac-address=random |
2 changes: 2 additions & 0 deletions
2
usr/lib/systemd/networkd.conf.d/99_ipv6-privacy-extensions.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Network] | ||
IPv6PrivacyExtensions=kernel |