atsign-foundation / noports

Connect to any device with no external listening ports open
https://noports.com
BSD 3-Clause "New" or "Revised" License
267 stars 15 forks source link

fix: Implement no-encrypt-traffic in npt #1401

Closed sitaram-kalluri closed 1 day ago

sitaram-kalluri commented 1 week ago

- What I did

- How I did it

- How to verify it

sitaram-kalluri commented 3 days ago

Please add an e2e test for npt which uses no-encrypt-traffic. You can copy npt_to_port_22 to a new file in the tests/e2e_all/scripts/tests directory and modify it appropriately

@gkc : Added E2E test : npt_to_port_22_no_encrypt_traffic. Please review the changes.

XavierChanth commented 3 days ago

So, in C multi, I need to check for connect:no:encrypt and if so, disable encryption?

sitaram-kalluri commented 3 days ago

LGTM

@XavierChanth can you take a quick look over this also please?

@sitaram-kalluri We will need to do the same for the C sshnpd and srv implementations. Can you create a ticket for that please?

@gkc : Sure, will create tickets for both.

gkc commented 2 days ago

So, in C multi, I need to check for connect:no:encrypt and if so, disable encryption?

I think so. @sitaram-kalluri plz confirm

sitaram-kalluri commented 1 day ago

So, in C multi, I need to check for connect:no:encrypt and if so, disable encryption?

I think so. @sitaram-kalluri plz confirm

"Yes, that's correct. We need to check for 'connect:no:encrypt' and disable encryption accordingly. Just to clarify, I introduced 'connect:no:encrypt' in the srv, so it may not be present in the at_c repo."