Patricio Whittingslow
985e087842
refactor phy package
2026-01-19 10:29:15 -03:00
ddirect
1a6ce6b056
Ignoring packet padding for IPv4 capture ( #21 )
2026-01-18 14:04:28 -03:00
Patricio Whittingslow
e49e3d96c1
slight changes to tinygo cbnode
2026-01-13 11:46:07 -03:00
Patricio Whittingslow
2e6e66e691
split out node callback between tinygo and go to avoid heap allocs
2026-01-13 10:38:21 -03:00
Pat Whittingslow
151133dfb4
HTTP and Listener improvements and bugfixes ( #17 )
...
* listener revamp
* improvements to conn lifetimes
2026-01-11 10:29:16 -03:00
Pat Whittingslow
018f9258ac
Add tcp.Listener ( #15 )
...
* begin reviewing TCP listener
* begin adding listener tests
* adding TestExchange implementation
* split out legacy and Step tests
* move listener to tcp package
* fix up tcp tests taking very long
* add xnet.TCPPool and work on TCPPool semantics
* xnet: TCPPool only accepts established connections
* xnet: getting to bottom of panic in xnet.Listener
* xnet: improve listener tests
* fix several data races in testing fixtures
* fix more synchronization things in listener test
* finalize tcplistener test
2026-01-03 12:41:57 -03:00
Pat Whittingslow
f8166aea05
Fix slow exchanges on linux by adding polling and other improvements ( #14 )
...
* add prints to investigate slowness
* add loop sleep for blocking Stack
* add connection close http attribute and detect end of HTML page
* add timeout to bridge read
* examples/xnet: add ntp timestamp to prints and show output in readme
* add polling to http tap interface
* more digits in ntp format
* prevent crashes on non-8 timestamp
2026-01-01 09:35:35 -03:00
soypat
3cbef6fa92
add FieldClassOperation to pcap and associated formatting changes
2025-12-31 18:54:21 -03:00
soypat
dc374169dc
use lneto.ErrDropPacket where appropiate; clean up examples/xnet output
2025-12-31 18:15:34 -03:00
soypat
7369ec0b7e
add pcap printing to examples/xnet
2025-12-31 13:21:46 -03:00
Patricio Whittingslow
02ca576e14
fix bug in right aligned field extraction
2025-12-31 02:58:09 -03:00
Patricio Whittingslow
5f0edf62a9
add pcap formatting
2025-12-31 02:17:44 -03:00
Patricio Whittingslow
8307403c5c
add subnet to StackAsync and add test for local arp resolving
2025-12-30 18:00:50 -03:00
Patricio Whittingslow
f6bc73ee6c
apply some of @ddirect suggestions
2025-12-22 18:41:14 -03:00
Patricio Whittingslow
5e631a1b3d
StackPorts: set MAC destination when node has MAC
2025-12-19 01:04:18 -03:00
Patricio Whittingslow
1554b89a08
StackNode refactor: add offsetToIP argument to Encapsulate
2025-12-19 00:38:28 -03:00
Patricio Whittingslow
eaa36a589a
internet: further use handlers data structure
2025-12-18 19:16:35 -03:00
Patricio Whittingslow
ac7f752447
internet: add handlers data structure
2025-12-18 18:44:50 -03:00
Patricio Whittingslow
bb4053647d
do not crash if no tcp connections are desired
2025-10-22 19:19:32 -03:00
soypat
407f4a08f1
enhance xnet StackAsync test and add non-linux stubs for Tap and Bridge
2025-10-21 21:46:44 -03:00
Patricio Whittingslow
d731106c51
add xnet stack tcp handshake test
2025-10-18 19:51:57 -03:00
soypat
d28203e75f
upload changes done on plane
2025-08-31 12:42:46 -03:00
soypat
9cf4e35d2e
changes to TCP stack to enable xnet functionality
2025-08-16 15:17:46 -03:00
soypat
123d4d20cc
begin adding icmpv4
2025-07-28 00:25:18 -03:00
soypat
77bdc4c448
more consistent argument ordering for tcp.Conn.Open call; DHCP client now sets ClientID correctly from config
2025-07-21 18:39:31 -03:00
soypat
63dc5d1079
add zero max ports error
2025-07-15 00:57:24 -03:00
soypat
ad22c61b28
actually remove NodeARP
2025-07-14 20:04:26 -03:00
soypat
61c66a2e58
remove NodeARP in favor of arp.Handler; fix bug in IP stack node handling; use registerNode where applicable
2025-07-14 19:48:29 -03:00
soypat
1549e563e9
continue reworking node API
2025-07-13 01:07:08 -03:00
soypat
2bd056a04c
NTP up and running
2025-07-12 16:45:20 -03:00
soypat
698610242e
DNS resolution working butter smooth
2025-07-12 12:54:34 -03:00
soypat
68c4d1ea71
DNS working!
2025-07-12 12:34:20 -03:00
soypat
a257becf15
major ARP Handler refactor; DNS improvements; bridge example rework
2025-07-09 22:49:13 -03:00
soypat
489e9951fa
dhcp working!
2025-07-09 16:54:48 -03:00
soypat
1fcde05284
begin touching up a DNS Client implementation; internal.GetIP/SetIP refactor
2025-06-21 01:29:38 -03:00
soypat
2133966a16
add dhcp failing test
2025-06-17 02:07:11 -03:00
soypat
dcc7a95e62
huge tap/bridge overhaul; udp node; dhcp node; DHCP example
2025-06-15 18:01:04 -03:00
soypat
29ac9a3a1a
begin adding NTP client node
2025-06-12 02:19:52 -03:00
soypat
1fcdd9a7b3
TCP listener seems to be working really well :)
2025-06-11 19:38:19 -03:00
soypat
63cf2e2669
push last night work
2025-06-11 10:11:51 -03:00
soypat
6b511999d1
begin testing tcp listener (not working)
2025-06-09 20:38:40 -03:00
soypat
76be78812f
listener refactor: tcpPool+ready/accepted slices
2025-06-08 23:10:43 -03:00
soypat
9a60642283
mega refactor internet.TCPConn->tcp.Conn
2025-06-07 20:43:20 -03:00
soypat
dab7951cbd
slight file reordering
2025-06-07 13:44:28 -03:00
soypat
6cf5896543
continue reworking StackNode implementations
2025-06-07 11:59:56 -03:00
soypat
c76fde4677
minor changes
2025-06-07 09:36:10 -03:00
soypat
c635bde512
all in on StackNode refactor: Encapsulate/Demux on all stacks+ConnID+more abstraction
2025-06-06 01:23:44 -03:00
soypat
6ba727a0ef
more effort into understanding why TAP interface is so slow on my linux machine to no avail
2025-06-05 00:47:07 -03:00
soypat
bc14ed395d
tap program output much more readable
2025-06-04 01:13:26 -03:00
soypat
589c9d3013
update README with pcap and fix innaccuracies
2025-06-04 00:14:27 -03:00