-
Notifications
You must be signed in to change notification settings - Fork 326
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
Do you know something about TUN method? #801
Comments
Hello Hang Zhou, I have no clue about the tun entry. Maybe it's usable to set up a connection, but I guess it's dependent on the Fortinet appliance version. |
@rain2fog Also just wondering how portable would the tun entry be on macOS? Can you shed some light on the subject? |
we simulated the PPP negotiation procedure. There are 3 stages in PPP protocal. |
@rain2fog We spawn |
@DimitriPapadopoulos you are right. This is the patch for demo. tun.patch |
@rain2fog Impressive work! I'll try to test it soon. Would you agree to open a pull request to discuss the patch? Also how would you feel about using existing PPP code to ease maintenance or even help convergence between projects? For example see - by order of preference:
On the other hand the PPP implementation is rather short. |
The progress is very easy. you can read the RFC1661 and RFC1332 to get the detail protocol design. this C patch came from my co-worker not me. |
Would your coworker want to create a pull request? The idea is that her/his contribution are properly recognised. Plus we can discuss implementation details. |
pppd → tun interface + embedded PPP code
Just a reminder for myself. This should help handle both these methods proposed in the XML configuration sent by Fortigate appliances: |
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
@rain2fog I have been maintaining your patch in my tun branch: I can see a couple CodeQL alerts in your code:
Also complier warnings:
|
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
pppd → tun interface + embedded PPP code
Hi Adrien Vergé
It's amazing when I first time found your project. Thank you for giving this open source project so much ....
I analyzed the http request about "/remote/fortisslvpn_xml ". I found vpn server side would response a special xml content which contain two entry tunnel-method. The first item is ppp. The secound item is tun. You chose ppp as the local net forwarding solution.
Do you have any clues about tun as the local net forwarding solution?
The text was updated successfully, but these errors were encountered: