Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndp spoof: cannot disable neighbor advertisements #1072

Closed
konradh opened this issue Jan 24, 2024 · 0 comments · Fixed by #1074
Closed

ndp spoof: cannot disable neighbor advertisements #1072

konradh opened this issue Jan 24, 2024 · 0 comments · Fixed by #1074

Comments

@konradh
Copy link
Contributor

konradh commented Jan 24, 2024

The description of the ndp.spoof.neighbour option states that I can disable neighbor advertisements by clearing the option. Because this option has an IPv6Validator set, this is not possible.

Steps to Reproduce

bettercap v2.32.0 (built for linux amd64 with go1.21.6) [type 'help' for a list of commands]
...
  » set ndp.spoof.neighbour ''
  » set ndp.spoof.targets 2001:db8::42
  » ndp.spoof on
  » [19:45:11] [sys.log] [err] Parameter ndp.spoof.neighbour not valid: '' does not match rule '^[:a-fA-F0-9]{6,}$'.

Expected behavior: ndp.spoof on does not produce an error and no neighbor advertisements are sent.

Actual behavior: ndp.spoof on produces an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant