User Tools

Site Tools


airtun-ng

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
airtun-ng [2009/09/25 22:55] – Fixed typos darkaudaxairtun-ng [2010/03/07 23:36] – Fixed typo darkaudax
Line 25: Line 25:
       *-t tods : send frames to AP (1) or to client (0) (optional / defaults to 0)       *-t tods : send frames to AP (1) or to client (0) (optional / defaults to 0)
       *-r file : read frames out of pcap file (optional)       *-r file : read frames out of pcap file (optional)
 +      *-h MAC  : source MAC address
 +      *-H      : Display help.  Long form --help
  
 Repeater options (the following all require double dashes): Repeater options (the following all require double dashes):
Line 30: Line 32:
   *- -bssid <mac> : BSSID to repeat.  Short form -d.   *- -bssid <mac> : BSSID to repeat.  Short form -d.
   *- -netmask <mask> : netmask for BSSID filter.  Short form -m.   *- -netmask <mask> : netmask for BSSID filter.  Short form -m.
 +
  
 ===== Scenarios ===== ===== Scenarios =====
Line 167: Line 170:
 This is how to setup airtun-ng for this scenario: This is how to setup airtun-ng for this scenario:
  
-   airtun-ng -t ath0 -BB:BB:BB:BB:BB:BB -a AA:AA:AA:AA:AA:AA -i ath0+   airtun-ng -t ath0 -BB:BB:BB:BB:BB:BB -a AA:AA:AA:AA:AA:AA -i ath0
  
 If you are able to see both sides of a WDS/Bridge network, you can enable bidirectional mode. This enables communication with both endpoint's networks. Be aware that bidirectional mode keeps track of clients behind each node in a list in memory, since it needs to know to which of the two endpoints it needs to send a packet to reach a certain client. If you use an embedded system, or there are large amounts of clients connected, this may slow down your machine. If you are able to see both sides of a WDS/Bridge network, you can enable bidirectional mode. This enables communication with both endpoint's networks. Be aware that bidirectional mode keeps track of clients behind each node in a list in memory, since it needs to know to which of the two endpoints it needs to send a packet to reach a certain client. If you use an embedded system, or there are large amounts of clients connected, this may slow down your machine.
  
-   airtun-ng -t ath0 -BB:BB:BB:BB:BB:BB -a AA:AA:AA:AA:AA:AA -i ath0 -b+   airtun-ng -t ath0 -BB:BB:BB:BB:BB:BB -a AA:AA:AA:AA:AA:AA -i ath0 -f
  
 WDS mode is fully compatible with WEP encryption, so you can use the -w and -y flags as usual. WDS mode is fully compatible with WEP encryption, so you can use the -w and -y flags as usual.
Line 197: Line 200:
  
 This loads the "tun" module.  You can confirm it is loaded by running "lsmod | grep tun" If it does not load or there are problems, running "dmesg" and reviewing the end should show errors, if any. This loads the "tun" module.  You can confirm it is loaded by running "lsmod | grep tun" If it does not load or there are problems, running "dmesg" and reviewing the end should show errors, if any.
 +
 +==== Error creating tap interface: Permission denied ====
 +
 +See the following [[faq#why_do_i_get_error_creating_tap_interfacepermission_denied_or_a_similar_message|FAQ entry]].
 +
airtun-ng.txt · Last modified: 2015/04/12 23:15 by mister_x