Commit Graph

  • 46d55e7125 Merge pull request #1 from urgentquest/client-refactor master idk 2025-05-11 18:22:42 -04:00
  • 893873cca2 tests: make it compatible with i2pd urgentquest 2025-05-11 21:59:16 +00:00
  • 7fc3f35fbf spacing. no functional changes urgentquest 2025-05-09 00:58:21 +00:00
  • 7ac12aa540 - Remove unneeded rand.Seed() invocation. Not needed since go 1.20 - go-staticcheck urgentquest 2025-05-09 00:45:40 +00:00
  • eebe8c5cb4 - Unbreak things by properly validate command topic - Replace fmt.ErrorF() with errors.New() where no actual formatting requested - Hanle edge cases with no username/password in Client.hello() - Make go-staticcheck happier urgentquest 2025-05-09 00:41:20 +00:00
  • 6f02aa69e8 rename validateResponse() to validateReply() for consitency, correct a typo in the splitN invocation, add basic command validation urgentquest 2025-03-08 23:20:46 +00:00
  • c910edae6b Make sendMessage() validate replies urgentquest 2025-03-07 01:35:21 +00:00
  • dedd16f352 Update release process eyedeekay 2024-11-16 16:22:04 -05:00
  • 0ba8df895d Update release process eyedeekay 2024-11-16 16:21:53 -05:00
  • 87d7509d00 fix spelling errors v0.32.9 eyedeekay 2024-11-14 10:40:20 -05:00
  • 7b045bc60e update readme eyedeekay 2024-11-14 10:38:29 -05:00
  • c0e9a06aa1 bump version v0.32.8 eyedeekay 2024-11-13 14:39:33 -05:00
  • b2e54236d7 fix up go module eyedeekay 2024-11-13 14:39:08 -05:00
  • 7b1b6d431a Fix up import paths eyedeekay 2024-11-09 11:54:18 -05:00
  • 912f176071 setup auto-assign workflow eyedeekay 2024-11-08 15:01:11 -05:00
  • e71e218974 change module path eyedeekay 2024-11-08 12:54:11 -05:00
  • cda19e0e82 bump again eyedeekay 2023-07-21 16:10:33 -04:00
  • 5010986b65 regenerate go modules v0.32.7 eyedeekay 2023-07-21 15:58:06 -04:00
  • b216e9fc86 run tests eyedeekay 2023-07-21 15:03:28 -04:00
  • f10e74f03a update versions v0.32.6 eyedeekay 2023-07-21 15:01:56 -04:00
  • 900f5393ad update versions eyedeekay 2023-07-21 15:01:50 -04:00
  • 633a864a02 fix imports in readme idk 2023-06-24 10:24:12 -04:00
  • 9cbfbcd4c7 update go modules idk 2023-03-07 00:19:45 +00:00
  • 2a96d0ea8f test idk 2023-01-10 16:15:25 +00:00
  • 5f80e35560 update CONTRIBUTING.html v0.32.54 idk 2022-11-18 00:05:18 -05:00
  • 6848baecce update index.html idk 2022-11-18 00:05:17 -05:00
  • 0891cbffe0 bump for release idk 2022-11-18 00:04:49 -05:00
  • c8548ec53a bump for release idk 2022-11-18 00:04:32 -05:00
  • a439c971e8 update CONTRIBUTING.html idk 2022-08-28 13:37:49 -04:00
  • 25363e06ac update index.html idk 2022-08-28 13:37:45 -04:00
  • d2ace7d0b9 update CONTRIBUTING.html idk 2022-08-04 18:07:45 -04:00
  • de00b9a871 update index.html idk 2022-08-04 18:07:41 -04:00
  • e2a92ffa47 update CONTRIBUTING.html idk 2022-07-31 18:03:14 -04:00
  • 77ccfe94f3 update index.html idk 2022-07-31 18:03:11 -04:00
  • b4236a4201 update CONTRIBUTING.html idk 2022-07-31 17:39:03 -04:00
  • f1194c38b3 update index.html idk 2022-07-31 17:39:00 -04:00
  • cfdb60d932 work on datagram support. add the ability to get the private keys from the client. idk 2022-06-02 23:56:49 -04:00
  • 6eca8863f7 add error message that describes how to fix the SAM AUTH issue if you restart the password before removing the USER and setting AUTH DISABLE idk 2022-04-28 12:35:40 -04:00
  • 40ad754b47 Add support for AUTH commands idk 2022-04-28 11:23:54 -04:00
  • 6aed9d7cec re-add dest generate idk 2022-04-26 14:28:04 -04:00
  • 35e4ae3c89 remove commentout colly from example idk 2022-03-30 00:35:26 -04:00
  • 564a060ed3 Add default HTTP dialer idk 2022-03-29 18:37:38 -04:00
  • 62cade9ebc switch to externalized i2pkeys library idk 2022-03-10 00:54:49 -05:00
  • ca305ba46c switch to externalized i2pkeys library idk 2022-03-10 00:54:43 -05:00
  • 25eb54b2bc remove reliance on real sam3 library for compatibility, same pattern is available in goSam now, but the better solution long-term is to move i2pkeys out of sam3 since it no longer requires a real SAM connection for anything idk 2022-03-09 17:46:44 -05:00
  • 86009cc805 Force SetDebug true v0.32.53 idk 2022-02-02 00:53:06 -05:00
  • 1fc3dc5a20 Force SetDebug true v0.32.52 idk 2022-02-02 00:44:08 -05:00
  • a2fcfb8bc1 Fix issue where the control socket should not be used as a streamsession v0.32.51 idk 2022-02-02 00:40:01 -05:00
  • 0623ed8a79 Fix issue where the control socket should not be used as a streamsession v0.32.50 v0.32.5 idk 2022-02-01 23:27:28 -05:00
  • 964219c25f Disable datagram support in the dialer function until it's ready, so I can cut a release tonight. v0.32.4 idk 2022-02-01 21:50:35 -05:00
  • 23c45022b3 tests should run in debug mode. Don't attempt to hot-restore SAM sessions by replacing the net.Conn parts inside if they go down, just let it die and tell the user to restart. idk 2022-02-01 20:03:13 -05:00
  • c6d9c0e340 protect the dialer with a mutex idk 2021-04-15 19:16:11 -04:00
  • 460926afe8 Merge pull request #7 from eyedeekay/no-keys idk 2021-04-15 14:24:56 -07:00
  • e278de3a66 Fix a bunch of errors that could potentially happen because of changes I made to the Dialer idk 2021-04-15 17:21:41 -04:00
  • d1d2663c42 Add session creation commands for datagrams and raw sessions, stub out a repliable datagram dialer, add a DatagramConn interface that implements both net.Conn and net.PacketConn so that Dial can return a whole DatagramConn idk 2021-02-24 23:08:19 -05:00
  • 5af3086205 Add session creation commands for datagrams and raw sessions, stub out a repliable datagram dialer, add a DatagramConn interface that implements both net.Conn and net.PacketConn so that Dial can return a whole DatagramConn idk 2021-02-24 23:04:55 -05:00
  • f97683379f make a version which stringifies i2pkeys idk 2021-01-22 16:18:17 -05:00
  • 42d542dd8b make a version which stringifies i2pkeys idk 2021-01-22 16:18:13 -05:00
  • d94d9c4da0 make a version which stringifies i2pkeys idk 2021-01-22 16:17:35 -05:00
  • dddd8ea916 make a version which stringifies i2pkeys idk 2021-01-22 16:10:24 -05:00
  • b864407cc2 Allow clients to force a handshake at a specific SAM version or between SAM versions v0.32.30 idk 2020-12-07 01:47:33 -05:00
  • 646767e7bf Allow clients to force a handshake at a specific SAM version or between SAM versions idk 2020-12-07 00:51:51 -05:00
  • 76e1e9af83 Dial/Hangup Hack. If the connection is closed because of an error, re-dial it from within the dial function itself by incrementing the ID and creating a new session on top of the old one. idk 2020-12-05 16:36:19 -05:00
  • 6bd37c4d51 kill connections when they die in context idk 2020-11-29 16:53:46 -05:00
  • e2f73efb10 Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it idk 2020-11-29 16:30:51 -05:00
  • 5fda56e88d Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it idk 2020-11-29 16:23:55 -05:00
  • 63833f24ab Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it idk 2020-11-29 16:12:35 -05:00
  • 0d10b5b516 Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it idk 2020-11-29 16:09:55 -05:00
  • 38ca0d08e7 new version v0.32.29 idk 2020-11-23 20:41:35 -05:00
  • a9bf9faba1 new version idk 2020-11-23 20:40:34 -05:00
  • 3c6a72d179 move samsocks into this repository and treat it as an example application, since it's so simple idk 2020-11-22 12:46:16 -05:00
  • e8b7525950 move samsocks into this repository and treat it as an example application, since it's so simple idk 2020-11-22 12:41:24 -05:00
  • a0407fd3e3 move samsocks into this repository and treat it as an example application, since it's so simple idk 2020-11-22 12:39:20 -05:00
  • 3c5397e87f Fix session ID issue, we only need a new session when we really need a new session, i.e. give people a way to ask for it instead of trying to guess idk 2020-11-22 12:31:20 -05:00
  • 9baee36493 Try and return a new connection when we see the old one fail idk 2020-11-22 10:56:51 -05:00
  • 379de14264 Try and return a new connection when we see the old one fail idk 2020-11-22 10:56:35 -05:00
  • dc12ba56d4 re-write some tests v0.32.28 idk 2020-11-12 22:49:44 -05:00
  • 281084cb81 re-write some tests idk 2020-11-12 22:46:43 -05:00
  • ff6b890bfd re-write some tests idk 2020-11-12 22:42:43 -05:00
  • 12d1bf38b2 re-write some tests idk 2020-11-12 22:41:05 -05:00
  • 7fa46ffc98 add resolve function compatible with SOCKS proxies v0.32.27 idk 2020-09-13 16:51:06 -04:00
  • a516752491 add resolve function compatible with SOCKS proxies idk 2020-09-13 01:32:22 -04:00
  • 4c81f5f7a0 fix mistaken identity issue with listeners idk 2020-09-03 21:51:25 -04:00
  • a13b920f05 fix mistaken identity issue with listeners v0.32.26 idk 2020-09-03 21:49:16 -04:00
  • e5d5a0360b fix godoc idk 2020-09-03 16:47:32 -04:00
  • 460bd1b8f4 update debian changelog idk 2020-09-03 16:25:27 -04:00
  • 7d820eeaaa dual-keys by default, tidy up v0.32.25 idk 2020-09-03 16:21:53 -04:00
  • ac54a46ded Use dual keys by default idk 2020-09-03 16:19:12 -04:00
  • 22a3e9f3a7 Merge pull request #3 from bonedaddy/fix/mutex idk 2020-09-02 12:04:38 +00:00
  • b7ce5c1061 Merge pull request #2 from bonedaddy/feat/dest#create idk 2020-09-02 12:03:43 +00:00
  • 7729762ce9 fix pass lock by value warning postables 2020-08-30 18:34:41 -07:00
  • 13bf63f35a test: make sure to check the returned error from destination creation postables 2020-08-30 17:59:30 -07:00
  • 91fc13b151 enable creating I2P destinations postables 2020-08-30 17:56:05 -07:00
  • 7cf9e8b61e mutex thing should be better v0.32.24 idk 2020-08-25 16:53:59 -04:00
  • c7d6848930 Protext non-context-aware dialer with a mutex v0.32.23 idk 2020-08-25 10:31:44 -04:00
  • eabd2d94f6 Protext non-context-aware dialer with a mutex idk 2020-08-25 10:27:40 -04:00
  • 76924e5961 add make link target v0.32.22 idk 2020-07-29 13:00:36 -04:00
  • 027983674b add Makefile to help me automate releases idk 2020-07-29 12:57:16 -04:00
  • 7521a7862a Fix multi-lookup utility idk 2020-07-29 12:54:09 -04:00
  • c11b90dc47 update release v0.32.21 idk 2020-01-16 15:16:34 -05:00