Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpn #1410

Merged
merged 33 commits into from
Jun 30, 2021
Merged

vpn #1410

merged 33 commits into from
Jun 30, 2021

Conversation

mfranciszkiewicz
Copy link
Contributor

@mfranciszkiewicz mfranciszkiewicz commented Jun 14, 2021

See #1393 for a dependency list

fix redundant byte order conversion in hton
bump ya-sb-router to 0.4
drop 'net' dependency in `ya_core_model::activity`
extend ya-utils-networking with VPN structs (feature based)
increase MTU and rename it to MAX_FRAME_SIZE
remove participating nodes while removing networks
mutable arp packet
extra common methods
extended `Error`
VPN API: requestor WebSocket endpoint
Update actix to 0.10
exe-unit acl
vpn traffic [wip]
drop ChecksumCapabilities::ignored()
Additional REST endpoints
ya-client update
- verify that address is within the network range
- set proper prefix length

CaptureInterface
- generate a unicast address

TxToken
- enqueue packets only if consume fn succeeds

WebSocket example:
- display input and output checksums

+ cleanup
suppress ingress / egress packet logs
process net stack periodically (tcp keepalive)
add newly seen nodes to the vpn routing table
Increase the default (idle) stack poll interval
Add a TODO next to Acl
@mfranciszkiewicz mfranciszkiewicz requested review from a team and prekucki June 14, 2021 14:10
@mfranciszkiewicz mfranciszkiewicz requested review from maaktweluit and nieznanysprawiciel and removed request for prekucki June 14, 2021 14:10
@mfranciszkiewicz mfranciszkiewicz linked an issue Jun 14, 2021 that may be closed by this pull request
Copy link
Contributor

@maaktweluit maaktweluit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Will continue the review tomorrow morning :)

core/vpn/src/device.rs Show resolved Hide resolved
maaktweluit
maaktweluit previously approved these changes Jun 18, 2021
Copy link
Contributor

@maaktweluit maaktweluit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mfranciszkiewicz mfranciszkiewicz merged commit 85b10d7 into master Jun 30, 2021
@mfranciszkiewicz mfranciszkiewicz deleted the mf/vpn branch June 30, 2021 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VPN
4 participants