Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tails
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
947
Issues
947
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tails
tails
Commits
c1fd4f97
Commit
c1fd4f97
authored
Jan 13, 2015
by
Tails developers
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/8571-fix-mac-spoof-panic-mode' into stable
parents
e5421d62
5a4db641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
+2
-2
No files found.
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
View file @
c1fd4f97
...
...
@@ -63,8 +63,8 @@ mac_spoof_panic() {
echo
"blacklist
${
module
}
"
>>
/etc/modprobe.d/
"
${
module
}
"
-blacklist
.conf
unload_module_and_rev_deps
"
${
module
}
"
||
:
if
nic_exists
"
${
nic
}
"
;
then
service network-manager stop
log
"Failed to unload module
${
module
}
of NIC
${
nic
}
. Stopping NetworkManager."
service network-manager stop
notify_panic_failure
"
${
nic
}
"
"
${
nic_name
}
"
&
else
log
"Successfully unloaded module
${
module
}
of NIC
${
nic
}
."
...
...
@@ -126,8 +126,8 @@ then
# If mac_spoof_panic() fails we're quite screwed, so we kill
# NetworkManager without notification to do our best to
# prevent a MAC address leak.
service network-manager stop
log
"Panic mode failed for NIC
${
NIC
}
. Killing NetworkManager."
service network-manager stop
fi
exit
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment