Nelson Murilo
dd05670e1f
Update net_linux.go
...
Code Review
2025-03-13 14:03:10 -04:00
Simone Margaritelli
2659a559c9
fix: using proper v2 package suffix ( fixes #727 )
2024-08-09 18:19:21 +02:00
Simone Margaritelli
b12ba7947b
fix: workaround for PCAP_SET_RFMON issue ( fixes #819 , https://github.com/the-tcpdump-group/libpcap/issues/1041 , https://github.com/the-tcpdump-group/libpcap/issues/1033 )
2024-08-08 13:40:45 +02:00
Simone Margaritelli
e224eea8c6
fix: give priority to iwlist as iw gives unsupported frequencies ( fixes #881 )
2022-06-13 17:08:26 +02:00
Mikhail Markov
0193d13ca0
fix: exclude disabled channels
2021-10-28 01:06:03 +03:00
Simone Margaritelli
43a93fd866
fix: refactored routing logic ( fixes #701 )
2021-04-10 21:55:00 +02:00
Simone Margaritelli
3c506b7809
misc: small fix or general refactoring i did not bother commenting
2021-04-09 00:14:52 +02:00
Simone Margaritelli
31b06638d8
fix: fixed a panic in net.show.meta when rendeing open ports
2021-04-07 13:16:20 +02:00
Simone Margaritelli
c68c88030d
misc: small fix or general refactoring i did not bother commenting
2021-03-30 11:59:13 +02:00
Simone Margaritelli
0d17ba3573
misc: small fix or general refactoring i did not bother commenting
2021-03-30 11:56:41 +02:00
Simone Margaritelli
6dd86c44fa
fix: using iw if available to get supported wifi frequencies ( fixes #743 )
2021-03-29 17:55:33 +02:00
Simone Margaritelli
c4bbc129b6
fix: returning error when neither iw or iwconfig are found
2021-03-29 17:25:15 +02:00
Simone Margaritelli
2f3390cf36
fix: using iw instead of iwconfig whenever possible ( fixes #657 )
2019-11-25 11:59:04 +01:00
yungtravla
a483c22e8d
fix regexp when ip route does not end with interface name
2019-02-05 15:14:40 +10:00
yungtravla
fd3efcac09
fix regexp to match default gateway IPv4 address and interface name
2019-02-05 15:12:17 +10:00
yungtravla
a9ceae3b4f
fix regexp to match gateway IPv4 address
2019-02-05 14:58:11 +10:00
yungtravla
ef1f2a19f8
fix regexp to match hostnames with hyphens
2019-02-05 14:01:17 +10:00
yungtravla
61c99c4b0f
fix matching of hostnames with hyphens
2019-02-05 13:59:44 +10:00
evilsocket
79279126e6
fix: fixed compilation of macOS for wifi modules
2019-01-20 18:30:22 +01:00
evilsocket
bf34561a19
new: added interface name and channel on wifi.show
2019-01-19 18:03:31 +01:00
Sophie Brun
47c37c066c
Fix the IPv4RouteParser regular expression
...
The IPv4RouteParser regular expression fails to match when there is nothing after the interface name like in the following case:
$ ip route
default via 10.1.52.1 dev eth0
10.1.52.0/23 dev eth0 proto kernel scope link src 10.1.52.148
2018-11-23 11:03:13 +01:00
eenblam
56d1655727
Add initial test for net_linux.go
...
More tests needed based on iwlist output, but the side-effect-free
part of GetSupportedFrequencies() has been been broken out into a function
that can now be tested without calling core.Exec().
2018-08-31 14:09:54 -07:00
evilsocket
9e393e5bf4
fix: network.SetInterfaceChannel won't exec iwconfig if the interface is already on the requested channel.
2018-08-02 17:57:14 +02:00
evilsocket
1afab5d7be
more lint driven refactoring
2018-04-26 12:19:52 +02:00
evilsocket
63cea73f8e
misc: small fix or general refactoring i did not bother commenting
2018-02-23 00:07:09 +01:00
Matrix86
813561cbda
Wifi 5GHz support added to wifi.recon
2018-02-20 12:40:55 +01:00
evilsocket
a66f5fabbb
new: implemented channel hopping for wifi.recon module ( ref #53 )
2018-02-17 02:41:10 +01:00
evilsocket
48d27f274a
refact: renamed package net to network to avoid collision with golang net package.
2018-02-15 21:34:46 +01:00