Skip to content

NEAT does not listen on IPv6 #414

Open
@adventureloop

Description

The tneat example does not seem to listen on ipv6, when it does listen on ipv4. v6 addresses are listed in the log messages. tcpdump shows resets for any requests.

14:39:44.031122 IP6 2001:630:241:204:c634:6bff:fe74:1375.50585 > 2001:630:241:204:c634:6bff:fe74:1375.23232: Flags [S], seq 4067143388, win 65535, options [mss 16324,nop,wscale 6,sackOK,TS val 2981753613 ecr 0], length 0   
14:39:44.031171 IP6 2001:630:241:204:c634:6bff:fe74:1375.23232 > 2001:630:241:204:c634:6bff:fe74:1375.50585: Flags [R.], seq 0, ack 4067143389, win 0, length 0  

To reproduce with tneat:

$ tneat

Connect with nc ipv4

$ nc 139.133.204.6 23232
asf                        
adf                        
^C                         

tneat side :

[   0.001799][DBG] nt_run_event_cb                                                                            
[   0.001827][INF] Available src-addresses:                                                                   
[   0.001852][INF]      IPv6: fe80::1/0 pref 4294967295 valid 4294967295                                      
[   0.001877][INF]      IPv6: ::1/0 pref 4294967295 valid 4294967295                                          
[   0.001906][INF]      IPv6: 2001:630:241:204:c634:6bff:fe74:1375/0 pref 604794 valid 2591994                
[   0.001932][INF]      IPv6: fe80::c634:6bff:fe74:1375/0 pref 4294967295 valid 4294967295                    
[   0.001957][INF]      IPv4: 139.133.204.6/0                                                                 
[   0.001981][DBG] nt_run_event_cb                                                                            
[   0.002002][INF] Available src-addresses:                                                                   
[   0.002025][INF]      IPv4: 127.0.0.1/0                                                                     
[   0.002048][INF]      IPv6: fe80::1/0 pref 4294967295 valid 4294967295                                      
[   0.002072][INF]      IPv6: ::1/0 pref 4294967295 valid 4294967295                                          
[   0.002099][INF]      IPv6: 2001:630:241:204:c634:6bff:fe74:1375/0 pref 604794 valid 2591994                
[   0.002125][INF]      IPv6: fe80::c634:6bff:fe74:1375/0 pref 4294967295 valid 4294967295                    
[   0.002149][INF]      IPv4: 139.133.204.6/0                                                                 
[   0.002171][DBG] nt_run_event_cb                                                                            
on_connected() - connection established                                                                       
on_close                                                                                                      
flow closed - statistics                                                                                      
    bytes           : 8                                                                                   
    rcv-calls       : 2                                                                                   
    duration        : 0.77s                                                                               
    bandwidth       : 10 B/s                                                                              
on_close - flow closed OK!                                                                                    

$ nc 2001:630:241:204:c634:6bff:fe74:1375 23232

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions