Joseph C. Lehner
|
83bd41b67a
|
Correctly set subnet mask on Linux
|
2018-09-11 16:31:31 +02:00 |
|
Joseph C. Lehner
|
c7106becb1
|
Fix unused warning
|
2018-09-11 16:31:00 +02:00 |
|
Joseph C. Lehner
|
f6a08220f1
|
Use SIOCxARP instead of libnl for Linux ARP stuff (WIP)
|
2018-09-10 20:30:37 +02:00 |
|
Joseph C. Lehner
|
804a40a2c8
|
Revert "Use pcap_setdirection instead of filter"
This reverts commit 590e7a079f .
Fixes #5.
|
2017-04-16 15:51:14 +02:00 |
|
Joseph C. Lehner
|
87487aed89
|
Remove debugging stuff
|
2017-04-05 21:20:40 +02:00 |
|
Joseph C. Lehner
|
ed1ca50798
|
Fix syntax error
|
2017-04-02 14:14:40 +02:00 |
|
Joseph C. Lehner
|
c2ce9b429d
|
Implement ethsock_arp_* on other platforms
Fixes #4.
|
2017-04-02 14:02:02 +02:00 |
|
Joseph C. Lehner
|
86e490f249
|
Use libnl to add/remove IPs on Linux
|
2017-02-25 10:02:00 +01:00 |
|
Joseph C. Lehner
|
590e7a079f
|
Use pcap_setdirection instead of filter
|
2017-02-23 18:38:15 +01:00 |
|
Joseph C. Lehner
|
63dec92a57
|
More consistent function names
|
2017-02-19 12:41:49 +01:00 |
|
Joseph C. Lehner
|
545d31a54a
|
Prettyify -L output on Windows
|
2017-02-19 11:15:33 +01:00 |
|
Joseph C. Lehner
|
f3291db403
|
Fix get_intf_info NULL arg
|
2017-02-19 11:12:22 +01:00 |
|
Joseph C. Lehner
|
488cb0df6a
|
Merge branch 'master' of github.com:jclehner/nmrpflash
|
2017-02-13 16:12:22 +02:00 |
|
Joseph C. Lehner
|
a71b48be1b
|
Improve BSD bridge detection portability
|
2017-02-05 20:54:46 +01:00 |
|
Joseph C. Lehner
|
705d4d4b5f
|
Improve BSD bridge detection portability
|
2017-01-28 10:44:33 +01:00 |
|
Joseph C. Lehner
|
40dd2b1a6c
|
Add BSD bridge interface detection
|
2017-01-28 10:09:53 +01:00 |
|
Joseph C. Lehner
|
00a5ca6022
|
Disable STP on Linux bridge interfaces
|
2017-01-24 20:47:50 +01:00 |
|
Joseph C. Lehner
|
332df78923
|
Add missing license info
|
2016-11-20 20:49:58 +01:00 |
|
Joseph C. Lehner
|
00e880d1d3
|
Fix ethsock issues
|
2016-11-20 20:48:40 +01:00 |
|
Joseph C. Lehner
|
98fdb9e63c
|
Use safe SIGINT handler
|
2016-11-20 12:22:15 +01:00 |
|
Joseph C. Lehner
|
b9504f17c8
|
Fix potential memory leak on Windows
|
2016-11-19 20:19:45 +01:00 |
|
Live User
|
8f5a628b01
|
Fix FreeBSD issues
|
2016-11-19 14:54:02 +00:00 |
|
Joseph C. Lehner
|
fba7aab1bd
|
Unify ethsock IP/ARP API
|
2016-11-19 11:14:47 +01:00 |
|
Joseph C. Lehner
|
564aff28aa
|
Use time_monotonic for timeouts
|
2016-11-18 17:39:04 +01:00 |
|
Joseph C. Lehner
|
905f7b3d32
|
Fix Windows socket leak
|
2016-11-13 08:33:38 +01:00 |
|
Joseph C. Lehner
|
f90769ed1e
|
Fix error messages
|
2016-11-13 08:33:37 +01:00 |
|
Joseph C. Lehner
|
644a9ce55f
|
Block in ethsock_add_ip on Windows
|
2016-11-13 08:20:43 +01:00 |
|
Joseph C. Lehner
|
482b03db23
|
Windows fixes
|
2016-11-12 19:04:09 +01:00 |
|
Joseph C. Lehner
|
951f1214f0
|
Fix windows build
|
2016-11-12 16:57:12 +01:00 |
|
Joseph C. Lehner
|
2c11c7e3c4
|
Add IP instead of replacing it
|
2016-11-12 16:44:15 +01:00 |
|
Joseph C. Lehner
|
2cf812dcfe
|
Don't require user to specify -a anymore
|
2016-11-12 15:40:26 +01:00 |
|
Joseph C. Lehner
|
bc6007beb7
|
Merge branches
|
2016-08-09 17:17:01 +02:00 |
|
Joseph C. Lehner
|
a050f74bce
|
Create static ARP entry for device
|
2016-08-09 12:16:47 +02:00 |
|
Joseph C. Lehner
|
e4d61b8c7f
|
Add windows arp code
|
2016-08-09 10:08:42 +02:00 |
|
Joseph C. Lehner
|
d58840ea45
|
Store interface index on Windows
|
2016-08-09 09:49:29 +02:00 |
|
Joseph C. Lehner
|
6934d97a3b
|
Use pcap_perror where applicable
|
2016-03-19 16:26:19 +01:00 |
|
Joseph C. Lehner
|
8103bf5d74
|
Fix uninitialized variable
|
2016-02-17 00:51:04 +01:00 |
|
Joseph C. Lehner
|
bc43f07291
|
Don't break if using the client-supplied filename
|
2016-02-14 23:01:58 +01:00 |
|
Joseph C. Lehner
|
ae05a62666
|
Add and use ethsock_for_each_ip
|
2016-02-13 16:16:51 +01:00 |
|
Joseph C. Lehner
|
1b3bb6779b
|
Check if ip address is valid for given interface
|
2016-02-13 16:14:59 +01:00 |
|
Joseph C. Lehner
|
2f9307bcda
|
Fix OSX compile error
|
2016-02-10 18:40:34 +01:00 |
|
Joseph C. Lehner
|
5ca96a36e0
|
Be more efficient in obtaining the MAC address
|
2016-02-09 12:33:51 +01:00 |
|
Joseph C. Lehner
|
8b0251e7e1
|
Make -L work without root on Linux
|
2016-02-09 09:39:55 +01:00 |
|
Joseph C. Lehner
|
612741ae36
|
Call pcap_freecode on filter
|
2016-02-08 14:34:32 +01:00 |
|
Joseph C. Lehner
|
e0cec73349
|
Use mac_to_str
|
2016-02-08 13:57:57 +01:00 |
|
Joseph C. Lehner
|
933ef7bab2
|
Finally make it work on Windows
|
2016-02-08 13:57:39 +01:00 |
|
Joseph C. Lehner
|
020c0c67f2
|
Prettier output
|
2016-02-08 11:00:39 +01:00 |
|
Joseph C. Lehner
|
48c7830721
|
Fix filter specification
|
2016-02-08 11:00:24 +01:00 |
|
Joseph C. Lehner
|
6da9b2b160
|
Prettify -L output
|
2016-02-07 21:06:09 +01:00 |
|
Joseph C. Lehner
|
5e37406b6d
|
Be less verbose
|
2016-02-06 20:01:12 +02:00 |
|