Skip to content

move the NAT diagnosis code from uproxy-probe into this repo#240

Merged
trevj merged 6 commits intodevfrom
trevj-probe
Aug 7, 2015
Merged

move the NAT diagnosis code from uproxy-probe into this repo#240
trevj merged 6 commits intodevfrom
trevj-probe

Conversation

@trevj
Copy link
Contributor

@trevj trevj commented Aug 5, 2015

So, I needed a break from Docker stuff and finally made a start on this:
UWNetworksLab/uProxy-p2p#1509

Having combed through the code, I just copied the doNatProvoking() function -- doUdpTest and doStunAccessTest are super-low-level functions we can do with standard tools (ping and stunclient respectively). I renamed doNatProvoking -> probe.

Also, a lightweight Chrome and Firefox app called "uprobe" (console output only, I figure we don't use this often enough to justify any much more).

Tested with uProxy itself; pull request to follow.

Review on Reviewable

@trevj
Copy link
Contributor Author

trevj commented Aug 5, 2015

I almost forgot: not sure yet what to do with the server code in uproxy-probe. No reason it couldn't move in here too, at some point.

src/nat/probe.ts Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the style guide demands ===.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, fixed. As discussed, I've filed an issue to perform a deeper cleanup:
UWNetworksLab/uProxy-p2p#1808

@bemasc
Copy link
Contributor

bemasc commented Aug 7, 2015

👍 but maybe we should just have a general issue to do a style cleanup.

trevj added a commit that referenced this pull request Aug 7, 2015
move the NAT diagnosis code from uproxy-probe into this repo
@trevj trevj merged commit 7893273 into dev Aug 7, 2015
@trevj trevj deleted the trevj-probe branch August 17, 2015 15:06
@trevj trevj restored the trevj-probe branch August 24, 2015 19:01
@trevj trevj deleted the trevj-probe branch August 25, 2015 14:38
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.

2 participants