Commit Graph

  • b4be9a7b32 Add notices in readme, use vtun to support both linux macos and windows master lucheng 2024-08-28 11:42:10 +08:00
  • a6bfacb0c2 Fix client ip by get client ip base on username hash lucheng 2024-08-09 12:30:26 +08:00
  • b6c51a357c Add demo for use tun lucheng 2024-08-05 13:46:49 +08:00
  • c3e8b29a83 Add TODO use hash map to get ip from pool lucheng 2024-08-05 09:18:38 +08:00
  • dc49d5acd4 Merge pull request #13 from lucheng0127/err ShawnLu 2024-07-12 11:38:46 +08:00
  • a08e9802e4 Use error channel to get goroutine errors err lucheng 2024-07-12 11:35:45 +08:00
  • c4db99d32a Use errgroup to return error of goruntine lucheng 2024-07-12 09:51:43 +08:00
  • 9d2038ff6f Create Client struct, launch client with Client.Launch lucheng 2024-07-11 09:52:53 +08:00
  • f010c45a96 Revert "Add RunClient function, it will used by app dashboard" lucheng 2024-07-11 09:05:37 +08:00
  • efab227ca4 Set log output to stdout lucheng 2024-07-10 13:52:51 +08:00
  • d2a06d2685 Add RunClient function, it will used by app dashboard shawnlu 2024-07-07 21:29:02 +08:00
  • d8bf22bef0 Make index.html configurable lucheng 2024-07-05 17:03:18 +08:00
  • 5178b4ae6c Add TODO implement sync routes for windows lucheng 2024-07-04 11:24:09 +08:00
  • ff6611fc2c Modify readme lucheng 2024-07-03 15:26:57 +08:00
  • 8311582159 Tar beforce upload to release v1.0-windows lucheng 2024-07-03 10:30:23 +08:00
  • cb446b7a1c Use ACCESS_TOKEN in action lucheng 2024-07-03 10:08:46 +08:00
  • db7764a492 Fix make default can't more than one target lucheng 2024-07-03 09:50:30 +08:00
  • 444e68f980 Fix ut failed lucheng 2024-07-03 09:46:46 +08:00
  • deb38c4e77 Upload binary to release in action lucheng 2024-07-03 09:27:50 +08:00
  • c6b1414e0c Create build.yml ShawnLu 2024-07-02 17:56:04 +08:00
  • 3bda711ed5 Modify README about windows support windows lucheng 2024-07-02 15:09:37 +08:00
  • d3f6107545 Merge pull request #12 from lucheng0127/windows ShawnLu 2024-07-02 14:56:25 +08:00
  • 395129216e Windows supported windows lucheng 2024-07-02 14:49:06 +08:00
  • 550901f699 Add windows support to README lucheng 2024-07-02 11:19:04 +08:00
  • eacff68bac Update README v1.0-alpha lucheng 2024-07-01 09:49:01 +08:00
  • 76e7009fdd Add flag to set client log level lucheng 2024-07-01 09:25:25 +08:00
  • fea0acf96f Don't send route multicast if not config routes shawnlu 2024-07-01 00:59:18 +08:00
  • cec9a3e135 Implement multicast routes shawnlu 2024-06-30 23:57:50 +08:00
  • aa4601fa78 Update route when route nexthop user login or logout and send multicast shawnlu 2024-06-30 15:43:24 +08:00
  • fe4bbbd8df Add multicast route when setup bridge or tap shawnlu 2024-06-30 14:58:39 +08:00
  • 4d5743f0a1 Refactor multicast routes shawnlu 2024-06-30 10:05:50 +08:00
  • c52966c84b Add multicast send func shawnlu 2024-06-29 22:49:01 +08:00
  • 25d45734a7 Add TODO to add multicast route dev shawnlu 2024-06-29 22:06:45 +08:00
  • 0f93569a0b Add funcs to encode or decode avaliable routes between bytes shawnlu 2024-06-29 21:36:15 +08:00
  • a81d35c8b6 Parse routes, sync routes nexthop ip when user authed or client close lucheng 2024-06-28 15:47:25 +08:00
  • dd172cee11 Customize process output, to hide some info such as key lucheng 2024-06-28 10:21:24 +08:00
  • efb0835f91 Add TODO for assign route for endpoints lucheng 2024-06-28 09:18:43 +08:00
  • 6460f1d8e5 Make AES key configurable lucheng 2024-06-27 15:35:49 +08:00
  • 415992ae19 Merge pull request #11 from w1543565388/fix_key_configurable ShawnLu 2024-06-27 11:39:17 +08:00
  • ac5ec0ad26 Set the AES Key to configurable root 2024-06-26 11:57:25 +08:00
  • e72352ccaf Merge pull request #10 from w1543565388/fix_aes_panic ShawnLu 2024-06-25 11:26:24 +08:00
  • 9b64bd1283 Recover aes.go error crypto/cipher: input not full blocks to log root 2024-06-24 17:35:29 +08:00
  • b9fc980671 Add multicast demo lucheng 2024-06-17 09:55:11 +08:00
  • 487d03ef23 Add TODO to add preset routes lucheng 2024-06-12 09:10:06 +08:00
  • 9721fea650 Update README lucheng 2024-06-11 17:22:23 +08:00
  • 3728d64c35 Add nat to dev env v0.2 lucheng 2024-06-11 15:43:22 +08:00
  • 8591467881 Fix pkt stats wrong lucheng 2024-06-11 14:34:09 +08:00
  • b7e3341d05 Merge pull request #5 from w1543565388/master ShawnLu 2024-06-11 14:16:34 +08:00
  • 2fdc3d9476 Add packet counts and upstream and downstream traffic counts wj 2024-06-07 09:22:52 +00:00
  • fcc4a23d16 Set mac address according to tap ipv4 address shawnlu 2024-06-10 21:42:10 +08:00
  • 954d0da74e Add todos shawnlu 2024-06-10 14:07:21 +08:00
  • bc1a84eba9 Merge pull request #7 from lucheng0127/client_close ShawnLu 2024-06-10 14:03:08 +08:00
  • 446c36c28e Send FIN pkt to close conn when client close shawnlu 2024-06-10 13:54:14 +08:00
  • 9a18927f81 Client add login timeout and login log shawnlu 2024-06-10 09:29:39 +08:00
  • 9473f4d3c0 Merge pull request #6 from lucheng0127/dhcp ShawnLu 2024-06-09 12:01:39 +08:00
  • 890dfb9283 Remove svc attribute from webServe shawnlu 2024-06-09 11:53:17 +08:00
  • f001605f37 Endpoint get ip from server ip pool shawnlu 2024-06-09 11:43:04 +08:00
  • 83fd5f45f3 Remove endpoint shawnlu 2024-06-08 17:13:09 +08:00
  • b0d37148bf Add ip pool manage shawnlu 2024-06-08 12:15:24 +08:00
  • 6a25e9d1e2 Add dhcp-range config and parse it shawnlu 2024-06-08 11:14:27 +08:00
  • ca40f06387 Revert "Send Fin pkt to close conn when close client" lucheng 2024-06-07 15:49:13 +08:00
  • cefc41c682 Send Fin pkt to close conn when close client lucheng 2024-06-07 15:28:32 +08:00
  • 31483d17ce Add script to setup dev env lucheng 2024-06-07 11:47:07 +08:00
  • cccff02100 Add endpoint loign times to web lucheng 2024-06-07 11:37:03 +08:00
  • 8d97ce0e6f Add TODOs lucheng 2024-06-07 11:18:38 +08:00
  • 27ea38658a Modify buf to 65535 v0.1 lucheng 2024-05-30 15:27:42 +08:00
  • 1f5b524d91 Merge pull request #4 from lucheng0127/big_pkt ShawnLu 2024-05-30 15:09:58 +08:00
  • 57a86c8cb2 Fix packet max than 1500 will split into several pieces lucheng 2024-05-30 15:06:06 +08:00
  • e851983102 Fix server exist when client AES key wrong lucheng 2024-05-09 14:53:38 +08:00
  • 903227b49d Docker image support lucheng 2024-05-07 14:54:38 +08:00
  • d82840fa4a Modify endpoint screenshot lucheng 2024-05-07 11:34:29 +08:00
  • 71a938ed82 Create LICENSE ShawnLu 2024-05-07 11:31:51 +08:00
  • c366eec5d2 Add user help msg to readme shawnlu 2024-05-06 21:02:14 +08:00
  • 7bba69b588 Modify readme lucheng 2024-05-06 15:32:50 +08:00
  • 665ac708c1 Add demonstrate to README lucheng 2024-05-06 15:25:33 +08:00
  • c0d3fba2f2 Add endpoint monitor index page lucheng 2024-05-06 15:06:43 +08:00
  • 3ce4729ef1 Add list endpoint rest api lucheng 2024-04-26 11:31:20 +08:00
  • 16ed459168 Add user toolkit lucheng 2024-04-25 14:20:51 +08:00
  • af82d47c33 Don't allow use same user login to different endpoint lucheng 2024-04-25 11:20:16 +08:00
  • 7982bfc5f4 Add Readme lucheng 2024-04-24 12:25:43 +08:00
  • 6c43555035 Encrypt and decrypt all vlpkt with aes key len 128bits lucheng 2024-04-24 10:52:26 +08:00
  • 97a0e46915 Add aes encrypt and decrypt lucheng 2024-04-24 09:46:29 +08:00
  • fd58a5e943 Merge pull request #2 from lucheng0127/auth ShawnLu 2024-04-23 17:37:00 +08:00
  • 4a99b49624 Auth for client lucheng 2024-04-23 17:32:50 +08:00
  • 12b976e35c Auth client first before switch io lucheng 2024-04-23 17:04:41 +08:00
  • a0f6c02efc Add ip conflict response when keekalive ip conflict lucheng 2024-04-23 14:33:08 +08:00
  • e7b8280dd3 Merge pull request #1 from lucheng0127/close_client ShawnLu 2024-04-22 15:19:11 +08:00
  • ea5b8eeb98 Fix client closed even if recived heartbeat pkt lucheng 2024-04-22 15:10:43 +08:00
  • c49543c241 [WIP] Close client when long time not receive keepalive pkt lucheng 2024-04-19 11:17:34 +08:00
  • 350620d5c9 Get user login info from stdin or flag lucheng 2024-04-18 15:09:28 +08:00
  • 629d23d98e Send keepalive to keep ct entry lucheng 2024-04-18 14:36:12 +08:00
  • 694582918e Add keepalive vlpkt body lucheng 2024-04-18 11:05:29 +08:00
  • 3f37609ad5 Use log, encapsulate some func lucheng 2024-04-18 10:03:42 +08:00
  • 48342a530b Encapsule enternet packet into vlpkt lucheng 2024-04-17 15:12:52 +08:00
  • 8793103551 Add raw pkg body lucheng 2024-04-16 15:56:48 +08:00
  • df1007e8f3 Add user auth lucheng 2024-04-15 10:35:22 +08:00
  • af1c5907ab Add vlpkt frame lucheng 2024-04-12 11:28:57 +08:00
  • 08745e0a26 Supported custom ipv4 address for client endpoint shawnlu 2024-04-09 22:57:23 +08:00
  • b5b6a436cb Create bridge for each lan shawnlu 2024-04-09 22:15:56 +08:00
  • 118472db44 Add udp demo lucheng 2024-04-09 16:03:25 +08:00