38 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire
c6585c242e Work 2024-12-15 19:24:15 +02:00
Tristan Brice Velloza Kildaire
05bc0ae6ad tncattach
- Now parse IPv6 address and prefix in opt-args

TAP

- Removed parsing from here
2024-12-15 18:34:19 +02:00
Tristan Brice Velloza Kildaire
3227ed232b TAP
- Added another check
2024-12-15 18:19:59 +02:00
Tristan Brice Velloza Kildaire
64c18e6050 TAP
- Added check for bad open
2024-12-15 18:19:07 +02:00
Tristan Brice Velloza Kildaire
40f882489d TAP
- Cleaned up
2024-12-15 18:16:06 +02:00
Tristan Brice Velloza Kildaire
6635336405 TAP
- Cleaned up
2024-12-15 18:15:15 +02:00
Tristan Brice Velloza Kildaire
6c83aa468b TAP
- Cleaned up
2024-12-15 18:14:23 +02:00
Tristan Brice Velloza Kildaire
877bfcc0b0 TAP
- Close control socket when done
2024-12-15 18:11:46 +02:00
Tristan Brice Velloza Kildaire
439bce5e4d TAP
- Cleaned up
- Remove dneed for `link_local_v6`

tncattach

- Removed `link_local_v6`
2024-12-15 18:11:14 +02:00
Tristan Brice Velloza Kildaire
5223391129 TAP
- Removed error checking code from there
2024-12-15 18:09:45 +02:00
Tristan Brice Velloza Kildaire
1bb7da2d67 TAP
- Removed duplicate import
2024-12-15 18:09:02 +02:00
Tristan Brice Velloza Kildaire
4aedc35f33 Cleaned up 2024-12-15 18:08:44 +02:00
Tristan Brice Velloza Kildaire
4c1cd7659d TAP
- Cleaned up
2024-12-15 18:08:15 +02:00
Tristan Brice Velloza Kildaire
0d5ed2b5ad TAP
- Removed uneeded imports
2024-12-15 18:07:55 +02:00
Tristan Brice Velloza Kildaire
b74256bccc TAP
- Removed code to generate a link-local address
2024-12-15 17:59:23 +02:00
Tristan Brice Velloza Kildaire
0d24b3a128 TAP
- More cleanup
2024-12-15 17:55:11 +02:00
Tristan Brice Velloza Kildaire
9272a16e52 TAP
- Now link-local and normal v6 can be requested independently

tncattach

- Added `--ll` mode to add link-local
2024-12-15 17:54:46 +02:00
Tristan Brice Velloza Kildaire
d2bade8dcc TAP
- Aded newline
2024-12-15 17:46:44 +02:00
Tristan Brice Velloza Kildaire
175bb90a68 TAP
- Added missing `cleanup()` calls
2024-12-15 17:46:26 +02:00
Tristan Brice Velloza Kildaire
7024d05d0e TAP
- Moved mtu check for Ipv6 to be earlier
2024-12-15 17:45:37 +02:00
Tristan Brice Velloza Kildaire
f61b4a0193 TAP
- More clean up
2024-12-15 17:45:05 +02:00
Tristan Brice Velloza Kildaire
4b0e006139 TAP_
- Cleaned up a little bit
- The `mtu` (on Luinux) must be `1280` of greater, else IPv6 won't work (and the address will not be allowed to be added)
2024-12-15 17:44:29 +02:00
Tristan Brice Velloza Kildaire
ec9f6365d7 TAP
- Removed TODO
2024-12-14 14:35:58 +02:00
Tristan Brice Velloza Kildaire
66815f7f1a TAP
- Seed random number generatro based off of current time
2024-12-14 14:35:48 +02:00
Tristan Brice Velloza Kildaire
5546163742 TAP
- Randomize the remaining octets of the link-local address
2024-12-14 14:33:32 +02:00
Tristan Brice Velloza Kildaire
95930680d0 TAP
- Added device type checl
2024-12-14 14:04:15 +02:00
Tristan Brice Velloza Kildaire
0f115a3572 TAP
- Clean up
2024-12-13 21:39:52 +02:00
Tristan Brice Velloza Kildaire
eab34b6eb9 TAP
- Clean up
2024-12-13 21:37:05 +02:00
Tristan Brice Velloza Kildaire
2625afd6f3 TAP
- Removed old (bad) code `trySixSet2(...)`
2024-12-13 21:36:48 +02:00
Tristan Brice Velloza Kildaire
6b85134c53 TAP
- Added initial code that I have been working on
2024-12-13 21:35:02 +02:00
Mark Qvist
07eeed45f5 Cleaned up indentation 2020-06-24 14:22:42 +02:00
Mark Qvist
b996f38689 Fixed typo 2020-06-24 14:02:02 +02:00
Mark Qvist
30207d6691 Added ARP configuration for interface 2020-06-01 22:54:15 +02:00
Mark Qvist
b438e5fb5a Implemented setting txqueuelen on created interface 2020-06-01 22:25:10 +02:00
Mark Qvist
8a70eedfc5 Raspbian MTU setting 2020-05-28 14:15:29 +02:00
Mark Qvist
764746cc4c Fixed inadvertently setting interface flags when setting MTU 2020-05-28 11:32:46 +02:00
Mark Qvist
85ebb3d7b1 Basic implementation done 2020-05-26 17:59:56 +02:00
Mark Qvist
f81f856a66 Serial driver and basic KISS interface implemented 2020-05-25 16:31:55 +02:00