74 Commits

Author SHA1 Message Date
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
111621791a tncattach
- Added error handling for mtu with IPv6 support
2024-12-15 18:07:19 +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
Tristan Brice Velloza Kildaire
20ad1d2553 tncattach
- Removed global `netmask_v6` which is never used
2024-12-13 21:14:35 +02:00
Tristan Brice Velloza Kildaire
b8faf3ec0f tncattach
- Added `set_ipv6`, `ipv6_addr` and `netmask_v6` globals
- Added `--ipv6` option
- If `n` is specified (i.e. `--noipv6`) then bail out if the user specified IPv6 addressing with `--ipv6 <arg>`
- Added `6` parsing, this is for when we have an `--ipv6` and want to set the address
2024-12-13 21:12:31 +02:00
markqvist
bb4b1917d5
Merge pull request #13 from CoelacanthusHex/fix-makefile
chore: refine Makefile with Makefile Conventions
2023-05-31 18:20:45 +02:00
Coelacanthus
54b4ae14f8
chore: refine Makefile with Makefile Conventions
Users can now do the following:
- use DESTDIR to specify another root dir
- use PREFIX to specify another install path except for /usr/local,
  e.g. /usr for the system package.
- load custom CFLAGS and LDFLAGS from environment variables
- use CC to specify the C compiler

These features are helpful to package it into Linux Distribution.

Signed-off-by: Coelacanthus <CoelacanthusHex@gmail.com>
2023-05-27 22:35:58 +08:00
Mark Qvist
d9b3d2b6ae
Update README.md 2021-10-11 15:29:06 +02:00
Mark Qvist
bb9ff10158 Version updated to 0.1.9 0.1.9 2020-09-28 11:39:28 +02:00
Mark Qvist
5129dda626 Argparse variable init. Fixes #4. 2020-09-28 11:18:02 +02:00
Mark Qvist
b4a80a1e7a Cleaned install output 2020-09-28 11:11:27 +02:00
Mark Qvist
8944821ba8 Added mandb update to makefile 2020-09-28 11:07:10 +02:00
Mark Qvist
ef700b3244
Merge pull request #5 from yalla/master
Created manualpage for tncattach
2020-09-28 10:17:17 +02:00
Alexander W. Janssen
015f8a73fb now makefile for real. 2020-09-12 14:34:03 +02:00
Alexander W. Janssen
5bdc5d5ccc created manualpage and adapted makefile for installing manpage 2020-09-12 14:31:42 +02:00
Mark Qvist
de83bc9f21 Fixed accidental removal of line 0.1.8 2020-06-24 14:44:30 +02:00
Mark Qvist
671ea5dda0 Fixed deprecated bzero and bcopy calls 2020-06-24 14:28:50 +02:00
Mark Qvist
07eeed45f5 Cleaned up indentation 2020-06-24 14:22:42 +02:00
Mark Qvist
c2beeee944 Cleaned up TCP options 2020-06-24 14:15:49 +02:00
Mark Qvist
eae91f349b Updated readme to include KISS over TCP 2020-06-24 14:13:40 +02:00
Mark Qvist
b996f38689 Fixed typo 2020-06-24 14:02:02 +02:00
Mark Qvist
d3ff2f207a Updated makefile 2020-06-24 14:01:35 +02:00
Mark Qvist
26f1e48b19 Renamed TCP files 2020-06-24 14:00:23 +02:00
Mark Qvist
5c8ddcd992 Merge branch 'valentintintin-tcp-kiss' 2020-06-24 12:31:17 +02:00
Mark Qvist
dada2f3775 Makefile update 2020-06-24 12:28:49 +02:00
Valentin Saugnier
41086b2e0c Add TCP Kiss 2020-06-16 21:55:25 +02:00
Mark Qvist
1c7b30b995 Updated version number 0.1.7 2020-06-01 23:01:25 +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
e7a831b41d Updated readme 2020-05-28 16:25:41 +02:00
Mark Qvist
5f251e1f28 Raspbian MTU setting description in readme 0.1.6 2020-05-28 14:45:07 +02:00
Mark Qvist
8a70eedfc5 Raspbian MTU setting 2020-05-28 14:15:29 +02:00