From NoCos30 at hotmail.com Thu Dec 8 17:29:06 2016 From: NoCos30 at hotmail.com (Nocs ...) Date: Thu, 8 Dec 2016 17:29:06 +0000 Subject: [Tox Support] Tox Audio Send and Recieve Advice ? Message-ID: Hello to all again, I am trying to send audio through tox with portaudio and opus encoding, i test them both in local and has good quality and i try to send the appropiate variables through toxav_audio_send_frame() but it returns the TOXAV_ERR_SEND_FRAME_INVALID error all the time. Can anyone give a hand what variables to place inside the toxav_audio_send_frame() function ? This code is portaudio and opus for local tests working good : // initialize opus encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); while (connected){ //// With Opus Encoding - Decoding Pa_ReadStream(TestStream, captured.data(), TestBufferSize); enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); dec_bytes = opus_decode(decr, reinterpret_cast(encoded.data()), enc_bytes, reinterpret_cast(decoded.data()), TestBufferSize, 0); Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); } And here in this code i try to recieve and send with the above code through Tox but cant make it cause of wrong parameters : // initialize opus encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); ////// SEND AUDIO FRAME while (connected){ //// With Opus Encoding Pa_ReadStream(TestStream, captured.data(), TestBufferSize); enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); size_t SampleCounter = ((TestSampleRate)* (enc_bytes) / 1000); TOXAV_ERR_SEND_FRAME SendAudioError; toxav_audio_send_frame(avtox, FriendID, reinterpret_cast(encoded.data()), SampleCounter, (uint8_t)TestChannels, (uint32_t)TestSampleRate, &SendAudioError); switch (SendAudioError) { case TOXAV_ERR_SEND_FRAME_OK: printf("Audio Frame Sended OK \n"); break; case TOXAV_ERR_SEND_FRAME_NULL: printf("The Audio Samples were NULL !\n"); break; case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_FOUND: printf("Audio Send Friend not Found !\n"); break; case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_IN_CALL: printf("Friend Not In Audio Call with You !\n"); break; case TOXAV_ERR_SEND_FRAME_SYNC: printf("Audio Syncronization Failed !\n"); break; case TOXAV_ERR_SEND_FRAME_INVALID: printf("Audio Parameteres Invalid !\n"); break; case TOXAV_ERR_SEND_FRAME_PAYLOAD_TYPE_DISABLED: printf("Audio Disabled By Friend or You !\n"); break; case TOXAV_ERR_SEND_FRAME_RTP_FAILED: printf("Audio Failed To Send Frame !\n"); break; } Pa_Sleep(1000); } ////// RECIEVE AUDIO FRAME static void t_toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, int16_t const *pcm, size_t sample_count, uint8_t channels, uint32_t sampling_rate, void *user_data){ dec_bytes = opus_decode(decr, reinterpret_cast(&pcm), (opus_int32)sample_count, reinterpret_cast(decoded.data()), TestBufferSize, 0); Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); } Can anyone advice me what to enter as parameters in the toxav_audio_send_frame() and in static void t_toxav_receive_audio_frame_cb() ? sorry for my noobish question and thanks for your time but i really need to make it work and i almost combined many variables and couldnt make it someone with good knowledge on what to send i think is very easy to tell me what vars should i use in the send and recieve function Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From zetok at openmailbox.org Thu Dec 8 17:38:30 2016 From: zetok at openmailbox.org (Zetok Zalbavar) Date: Thu, 8 Dec 2016 17:38:30 +0000 Subject: [Tox Support] Tox Audio Send and Recieve Advice ? In-Reply-To: References: Message-ID: On 08.12.2016 17:29, Nocs ... wrote: > Hello to all again, > > > I am trying to send audio through tox with portaudio and opus encoding, i test them both in local and has good quality > > and i try to send the appropiate variables through toxav_audio_send_frame() but it returns the TOXAV_ERR_SEND_FRAME_INVALID error all the time. > > Can anyone give a hand what variables to place inside the toxav_audio_send_frame() function ? > > > This code is portaudio and opus for local tests working good : > > // initialize opus > encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); > decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); > > while (connected){ > //// With Opus Encoding - Decoding > Pa_ReadStream(TestStream, captured.data(), TestBufferSize); > enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); > > dec_bytes = opus_decode(decr, reinterpret_cast(encoded.data()), enc_bytes, reinterpret_cast(decoded.data()), TestBufferSize, 0); > Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); > } > > > And here in this code i try to recieve and send with the above code through Tox but cant make it cause of wrong parameters : > // initialize opus > encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); > decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); > > ////// SEND AUDIO FRAME > while (connected){ > //// With Opus Encoding > Pa_ReadStream(TestStream, captured.data(), TestBufferSize); > enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); > > size_t SampleCounter = ((TestSampleRate)* (enc_bytes) / 1000); > TOXAV_ERR_SEND_FRAME SendAudioError; > toxav_audio_send_frame(avtox, FriendID, reinterpret_cast(encoded.data()), SampleCounter, (uint8_t)TestChannels, (uint32_t)TestSampleRate, &SendAudioError); > switch (SendAudioError) { > case TOXAV_ERR_SEND_FRAME_OK: > printf("Audio Frame Sended OK \n"); > break; > case TOXAV_ERR_SEND_FRAME_NULL: > printf("The Audio Samples were NULL !\n"); > break; > case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_FOUND: > printf("Audio Send Friend not Found !\n"); > break; > case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_IN_CALL: > printf("Friend Not In Audio Call with You !\n"); > break; > case TOXAV_ERR_SEND_FRAME_SYNC: > printf("Audio Syncronization Failed !\n"); > break; > case TOXAV_ERR_SEND_FRAME_INVALID: > printf("Audio Parameteres Invalid !\n"); > break; > case TOXAV_ERR_SEND_FRAME_PAYLOAD_TYPE_DISABLED: > printf("Audio Disabled By Friend or You !\n"); > break; > case TOXAV_ERR_SEND_FRAME_RTP_FAILED: > printf("Audio Failed To Send Frame !\n"); > break; > } > Pa_Sleep(1000); > } > > ////// RECIEVE AUDIO FRAME > static void t_toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, int16_t const *pcm, size_t sample_count, uint8_t channels, uint32_t sampling_rate, void *user_data){ > > dec_bytes = opus_decode(decr, reinterpret_cast(&pcm), (opus_int32)sample_count, reinterpret_cast(decoded.data()), TestBufferSize, 0); > Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); > > } > > > Can anyone advice me what to enter as parameters in the toxav_audio_send_frame() and in static void t_toxav_receive_audio_frame_cb() ? > > sorry for my noobish question and thanks for your time but i really need to make it work and i almost combined many variables and couldnt make it > > someone with good knowledge on what to send i think is very easy to tell me what vars should i use in the send and recieve function > > > Thanks in advance > What is the error you're getting? -- Kind regards, Zetok Zalbavar ---- tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From NoCos30 at hotmail.com Thu Dec 8 17:57:35 2016 From: NoCos30 at hotmail.com (Nocs ...) Date: Thu, 8 Dec 2016 17:57:35 +0000 Subject: [Tox Support] Tox Audio Send and Recieve Advice ? In-Reply-To: References: , Message-ID: I get always this cause is inside the loop until i exit after the call is answered by the other client which uses the same send and recieve functions as this both clients outputs this error in the send function OXAV_ERR_SEND_FRAME_INVALID printf("Audio Parameteres Invalid !\n"); ________________________________ From: Support on behalf of Zetok Zalbavar Sent: Thursday, December 8, 2016 7:38:30 PM To: support at lists.tox.chat Subject: Re: [Tox Support] Tox Audio Send and Recieve Advice ? On 08.12.2016 17:29, Nocs ... wrote: > Hello to all again, > > > I am trying to send audio through tox with portaudio and opus encoding, i test them both in local and has good quality > > and i try to send the appropiate variables through toxav_audio_send_frame() but it returns the TOXAV_ERR_SEND_FRAME_INVALID error all the time. > > Can anyone give a hand what variables to place inside the toxav_audio_send_frame() function ? > > > This code is portaudio and opus for local tests working good : > > // initialize opus > encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); > decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); > > while (connected){ > //// With Opus Encoding - Decoding > Pa_ReadStream(TestStream, captured.data(), TestBufferSize); > enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); > > dec_bytes = opus_decode(decr, reinterpret_cast(encoded.data()), enc_bytes, reinterpret_cast(decoded.data()), TestBufferSize, 0); > Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); > } > > > And here in this code i try to recieve and send with the above code through Tox but cant make it cause of wrong parameters : > // initialize opus > encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); > decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); > > ////// SEND AUDIO FRAME > while (connected){ > //// With Opus Encoding > Pa_ReadStream(TestStream, captured.data(), TestBufferSize); > enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); > > size_t SampleCounter = ((TestSampleRate)* (enc_bytes) / 1000); > TOXAV_ERR_SEND_FRAME SendAudioError; > toxav_audio_send_frame(avtox, FriendID, reinterpret_cast(encoded.data()), SampleCounter, (uint8_t)TestChannels, (uint32_t)TestSampleRate, &SendAudioError); > switch (SendAudioError) { > case TOXAV_ERR_SEND_FRAME_OK: > printf("Audio Frame Sended OK \n"); > break; > case TOXAV_ERR_SEND_FRAME_NULL: > printf("The Audio Samples were NULL !\n"); > break; > case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_FOUND: > printf("Audio Send Friend not Found !\n"); > break; > case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_IN_CALL: > printf("Friend Not In Audio Call with You !\n"); > break; > case TOXAV_ERR_SEND_FRAME_SYNC: > printf("Audio Syncronization Failed !\n"); > break; > case TOXAV_ERR_SEND_FRAME_INVALID: > printf("Audio Parameteres Invalid !\n"); > break; > case TOXAV_ERR_SEND_FRAME_PAYLOAD_TYPE_DISABLED: > printf("Audio Disabled By Friend or You !\n"); > break; > case TOXAV_ERR_SEND_FRAME_RTP_FAILED: > printf("Audio Failed To Send Frame !\n"); > break; > } > Pa_Sleep(1000); > } > > ////// RECIEVE AUDIO FRAME > static void t_toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, int16_t const *pcm, size_t sample_count, uint8_t channels, uint32_t sampling_rate, void *user_data){ > > dec_bytes = opus_decode(decr, reinterpret_cast(&pcm), (opus_int32)sample_count, reinterpret_cast(decoded.data()), TestBufferSize, 0); > Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); > > } > > > Can anyone advice me what to enter as parameters in the toxav_audio_send_frame() and in static void t_toxav_receive_audio_frame_cb() ? > > sorry for my noobish question and thanks for your time but i really need to make it work and i almost combined many variables and couldnt make it > > someone with good knowledge on what to send i think is very easy to tell me what vars should i use in the send and recieve function > > > Thanks in advance > What is the error you're getting? -- Kind regards, Zetok Zalbavar ---- tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zetok at openmailbox.org Thu Dec 8 18:10:38 2016 From: zetok at openmailbox.org (Zetok Zalbavar) Date: Thu, 8 Dec 2016 18:10:38 +0000 Subject: [Tox Support] Tox Audio Send and Recieve Advice ? In-Reply-To: References: Message-ID: On 08.12.2016 17:57, Nocs ... wrote: > I get always this cause is inside the loop until i exit after the call is answered by the other client which uses the same send and recieve functions as this > > both clients outputs this error in the send function > > OXAV_ERR_SEND_FRAME_INVALID > > printf("Audio Parameteres Invalid !\n"); > https://github.com/TokTok/c-toxcore/blob/d8ae726d0a332c74da7bbed70982367dd01899e1/toxav/toxav.h#L592,L596 Have you tried using values for that stuff that are listed in the toxav.h? > From: Support on behalf of Zetok Zalbavar > Sent: Thursday, December 8, 2016 7:38:30 PM > To: support at lists.tox.chat > Subject: Re: [Tox Support] Tox Audio Send and Recieve Advice ? > > On 08.12.2016 17:29, Nocs ... wrote: >> Hello to all again, >> >> >> I am trying to send audio through tox with portaudio and opus encoding, i test them both in local and has good quality >> >> and i try to send the appropiate variables through toxav_audio_send_frame() but it returns the TOXAV_ERR_SEND_FRAME_INVALID error all the time. >> >> Can anyone give a hand what variables to place inside the toxav_audio_send_frame() function ? >> >> >> This code is portaudio and opus for local tests working good : >> >> // initialize opus >> encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); >> decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); >> >> while (connected){ >> //// With Opus Encoding - Decoding >> Pa_ReadStream(TestStream, captured.data(), TestBufferSize); >> enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); >> >> dec_bytes = opus_decode(decr, reinterpret_cast(encoded.data()), enc_bytes, reinterpret_cast(decoded.data()), TestBufferSize, 0); >> Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); >> } >> >> >> And here in this code i try to recieve and send with the above code through Tox but cant make it cause of wrong parameters : >> // initialize opus >> encr = opus_encoder_create(TestSampleRate, TestChannels, OPUS_APPLICATION_AUDIO, NULL); >> decr = opus_decoder_create(TestSampleRate, TestChannels, NULL); >> >> ////// SEND AUDIO FRAME >> while (connected){ >> //// With Opus Encoding >> Pa_ReadStream(TestStream, captured.data(), TestBufferSize); >> enc_bytes = opus_encode(encr, reinterpret_cast(captured.data()), TestBufferSize, reinterpret_cast(encoded.data()), encoded.size()); >> >> size_t SampleCounter = ((TestSampleRate)* (enc_bytes) / 1000); >> TOXAV_ERR_SEND_FRAME SendAudioError; >> toxav_audio_send_frame(avtox, FriendID, reinterpret_cast(encoded.data()), SampleCounter, (uint8_t)TestChannels, (uint32_t)TestSampleRate, &SendAudioError); >> switch (SendAudioError) { >> case TOXAV_ERR_SEND_FRAME_OK: >> printf("Audio Frame Sended OK \n"); >> break; >> case TOXAV_ERR_SEND_FRAME_NULL: >> printf("The Audio Samples were NULL !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_FOUND: >> printf("Audio Send Friend not Found !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_FRIEND_NOT_IN_CALL: >> printf("Friend Not In Audio Call with You !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_SYNC: >> printf("Audio Syncronization Failed !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_INVALID: >> printf("Audio Parameteres Invalid !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_PAYLOAD_TYPE_DISABLED: >> printf("Audio Disabled By Friend or You !\n"); >> break; >> case TOXAV_ERR_SEND_FRAME_RTP_FAILED: >> printf("Audio Failed To Send Frame !\n"); >> break; >> } >> Pa_Sleep(1000); >> } >> >> ////// RECIEVE AUDIO FRAME >> static void t_toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, int16_t const *pcm, size_t sample_count, uint8_t channels, uint32_t sampling_rate, void *user_data){ >> >> dec_bytes = opus_decode(decr, reinterpret_cast(&pcm), (opus_int32)sample_count, reinterpret_cast(decoded.data()), TestBufferSize, 0); >> Pa_WriteStream(TestStream, decoded.data(), TestBufferSize); >> >> } >> >> >> Can anyone advice me what to enter as parameters in the toxav_audio_send_frame() and in static void t_toxav_receive_audio_frame_cb() ? >> >> sorry for my noobish question and thanks for your time but i really need to make it work and i almost combined many variables and couldnt make it >> >> someone with good knowledge on what to send i think is very easy to tell me what vars should i use in the send and recieve function >> >> >> Thanks in advance >> > > What is the error you're getting? > > -- > > Kind regards, > Zetok Zalbavar > ---- > tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 > > -- Kind regards, Zetok Zalbavar ---- tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From amuza at riseup.net Mon Dec 12 11:53:56 2016 From: amuza at riseup.net (Amuza) Date: Mon, 12 Dec 2016 12:53:56 +0100 Subject: [Tox Support] 33c3 Message-ID: <584E8FD4.7040202@riseup.net> Hi, Are Tox developers going to be in the 33c3? It would be nice if something could be organized there. Cheers From zetok at openmailbox.org Tue Dec 13 02:26:07 2016 From: zetok at openmailbox.org (Zetok Zalbavar) Date: Tue, 13 Dec 2016 02:26:07 +0000 Subject: [Tox Support] 33c3 In-Reply-To: <584E8FD4.7040202@riseup.net> References: <584E8FD4.7040202@riseup.net> Message-ID: <077fa7a1-3a29-5e7e-8e83-a8a689ad4b5c@openmailbox.org> On 12.12.2016 11:53, Amuza wrote: > Hi, > > Are Tox developers going to be in the 33c3? > > It would be nice if something could be organized there. > > Cheers AFAIK none of people who are developing tox are going to be there. -- Kind regards, Zetok Zalbavar ---- tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From zetok at openmailbox.org Wed Dec 21 18:42:46 2016 From: zetok at openmailbox.org (Zetok Zalbavar) Date: Wed, 21 Dec 2016 18:42:46 +0000 Subject: [Tox Support] 33c3 In-Reply-To: <077fa7a1-3a29-5e7e-8e83-a8a689ad4b5c@openmailbox.org> References: <584E8FD4.7040202@riseup.net> <077fa7a1-3a29-5e7e-8e83-a8a689ad4b5c@openmailbox.org> Message-ID: <08516bf3-67b6-e7bb-9ced-f8dbda3d1f9d@openmailbox.org> On 13.12.2016 02:26, Zetok Zalbavar wrote: > On 12.12.2016 11:53, Amuza wrote: >> Hi, >> >> Are Tox developers going to be in the 33c3? >> >> It would be nice if something could be organized there. >> >> Cheers > > AFAIK none of people who are developing tox are going to be there. > > > Apparently there is going to be someone https://lists.tox.chat/pipermail/general/2016-December/000107.html :) -- Kind regards, Zetok Zalbavar ---- tox:29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062E0A92C3424A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From fuumind at openmailbox.org Thu Dec 22 09:56:28 2016 From: fuumind at openmailbox.org (fuumind) Date: Thu, 22 Dec 2016 10:56:28 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? Message-ID: <1482400588.9237.9.camel@openmailbox.org> Hi all! Is there a special reason why no bootstrap nodes are on port 443/80? Like is it more difficult / dangerous? Reason I'm asking is I currently am unable to use tox at my library because their firewall only allows 80/443 outgoing and there are no available nodes serving on those ports. Thanks! fuumind From simon at slevermann.de Thu Dec 22 10:34:42 2016 From: simon at slevermann.de (Simon Levermann) Date: Thu, 22 Dec 2016 11:34:42 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: <1482400588.9237.9.camel@openmailbox.org> References: <1482400588.9237.9.camel@openmailbox.org> Message-ID: <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> Hello fuumind, one possible reason is that a lot of bootstrap nodes are hosted on machines that are not exclusively tox bootstrap nodes. And a very common thing to have on a VPS/root server is a web server, and that usually takes up ports 80/443. That being said, maybe I'll get around to setting up a 443 node on my server (it has a second IP anyhow). But definitely not before the end of the year, it is vacation time for me after today. Cheers Simon On 22.12.2016 10:56, fuumind wrote: > Hi all! > > Is there a special reason why no bootstrap nodes are on port 443/80? > Like is it more difficult / dangerous? Reason I'm asking is I currently > am unable to use tox at my library because their firewall only allows > 80/443 outgoing and there are no available nodes serving on those > ports. > > Thanks! > fuumind > > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature URL: From fuumind at openmailbox.org Thu Dec 22 10:59:55 2016 From: fuumind at openmailbox.org (fuumind) Date: Thu, 22 Dec 2016 11:59:55 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> References: <1482400588.9237.9.camel@openmailbox.org> <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> Message-ID: <1482404395.9237.14.camel@openmailbox.org> Thanks Simon! How much bandwidth does running a bootstrap node consume per month? Does it take a lot of work to maintain one? If the parameters are managable I might try setting up a node as well. /fuumind tor 2016-12-22 klockan 11:34 +0100 skrev Simon Levermann: > Hello fuumind, > > one possible reason is that a lot of bootstrap nodes are hosted on > machines that are not exclusively tox bootstrap nodes. And a very > common > thing to have on a VPS/root server is a web server, and that usually > takes up ports 80/443. > > That being said, maybe I'll get around to setting up a 443 node on my > server (it has a second IP anyhow). But definitely not before the end > of > the year, it is vacation time for me after today. > > Cheers > > Simon > > > On 22.12.2016 10:56, fuumind wrote: > > > > Hi all! > > > > Is there a special reason why no bootstrap nodes are on port > > 443/80? > > Like is it more difficult / dangerous? Reason I'm asking is I > > currently > > am unable to use tox at my library because their firewall only > > allows > > 80/443 outgoing and there are no available nodes serving on those > > ports. > > > > Thanks! > > fuumind > > > > _______________________________________________ > > Support mailing list > > Support at lists.tox.chat > > https://lists.tox.chat/listinfo/support > > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support From d at dvor.me Thu Dec 22 11:32:44 2016 From: d at dvor.me (Dmytro Vorobiov) Date: Thu, 22 Dec 2016 12:32:44 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: <1482404395.9237.14.camel@openmailbox.org> References: <1482400588.9237.9.camel@openmailbox.org> <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> <1482404395.9237.14.camel@openmailbox.org> Message-ID: <8fcff4aa-f2ec-326e-e581-fb3aefb850db@dvor.me> Hello fuumind, According to wiki it takes ~700GiB of total traffic (1/2 incoming, 1/2 outgoing) per month. See wiki for more info: https://wiki.tox.chat/users/nodes https://wiki.tox.chat/users/runningnodes Dmytro On 22/12/16 11:59, fuumind wrote: > Thanks Simon! > > How much bandwidth does running a bootstrap node consume per month? > Does it take a lot of work to maintain one? If the parameters are > managable I might try setting up a node as well. > > /fuumind > > tor 2016-12-22 klockan 11:34 +0100 skrev Simon Levermann: >> Hello fuumind, >> >> one possible reason is that a lot of bootstrap nodes are hosted on >> machines that are not exclusively tox bootstrap nodes. And a very >> common >> thing to have on a VPS/root server is a web server, and that usually >> takes up ports 80/443. >> >> That being said, maybe I'll get around to setting up a 443 node on my >> server (it has a second IP anyhow). But definitely not before the end >> of >> the year, it is vacation time for me after today. >> >> Cheers >> >> Simon >> >> >> On 22.12.2016 10:56, fuumind wrote: >>> >>> Hi all! >>> >>> Is there a special reason why no bootstrap nodes are on port >>> 443/80? >>> Like is it more difficult / dangerous? Reason I'm asking is I >>> currently >>> am unable to use tox at my library because their firewall only >>> allows >>> 80/443 outgoing and there are no available nodes serving on those >>> ports. >>> >>> Thanks! >>> fuumind >>> >>> _______________________________________________ >>> Support mailing list >>> Support at lists.tox.chat >>> https://lists.tox.chat/listinfo/support >> >> _______________________________________________ >> Support mailing list >> Support at lists.tox.chat >> https://lists.tox.chat/listinfo/support > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 842 bytes Desc: OpenPGP digital signature URL: From fuumind at openmailbox.org Thu Dec 22 12:06:11 2016 From: fuumind at openmailbox.org (fuumind) Date: Thu, 22 Dec 2016 13:06:11 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: <8fcff4aa-f2ec-326e-e581-fb3aefb850db@dvor.me> References: <1482400588.9237.9.camel@openmailbox.org> <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> <1482404395.9237.14.camel@openmailbox.org> <8fcff4aa-f2ec-326e-e581-fb3aefb850db@dvor.me> Message-ID: <1482408371.9237.18.camel@openmailbox.org> Hi Dmytro! Thanks for the links to the wiki! ~700GiB is a bit out of my league so I guess I'll have to pass on this atm. /fuumind tor 2016-12-22 klockan 12:32 +0100 skrev Dmytro Vorobiov: > Hello fuumind, > > According to wiki it takes ~700GiB of total traffic (1/2 incoming, > 1/2 > outgoing) per month. See wiki for more info: > > https://wiki.tox.chat/users/nodes > https://wiki.tox.chat/users/runningnodes > > ????Dmytro > > On 22/12/16 11:59, fuumind wrote: > > > > Thanks Simon! > > > > How much bandwidth does running a bootstrap node consume per month? > > Does it take a lot of work to maintain one? If the parameters are > > managable I might try setting up a node as well. > > > > /fuumind > > > > tor 2016-12-22 klockan 11:34 +0100 skrev Simon Levermann: > > > > > > Hello fuumind, > > > > > > one possible reason is that a lot of bootstrap nodes are hosted > > > on > > > machines that are not exclusively tox bootstrap nodes. And a very > > > common > > > thing to have on a VPS/root server is a web server, and that > > > usually > > > takes up ports 80/443. > > > > > > That being said, maybe I'll get around to setting up a 443 node > > > on my > > > server (it has a second IP anyhow). But definitely not before the > > > end > > > of > > > the year, it is vacation time for me after today. > > > > > > Cheers > > > > > > Simon > > > > > > > > > On 22.12.2016 10:56, fuumind wrote: > > > > > > > > > > > > Hi all! > > > > > > > > Is there a special reason why no bootstrap nodes are on port > > > > 443/80? > > > > Like is it more difficult / dangerous? Reason I'm asking is I > > > > currently > > > > am unable to use tox at my library because their firewall only > > > > allows > > > > 80/443 outgoing and there are no available nodes serving on > > > > those > > > > ports. > > > > > > > > Thanks! > > > > fuumind > > > > > > > > _______________________________________________ > > > > Support mailing list > > > > Support at lists.tox.chat > > > > https://lists.tox.chat/listinfo/support > > > _______________________________________________ > > > Support mailing list > > > Support at lists.tox.chat > > > https://lists.tox.chat/listinfo/support > > _______________________________________________ > > Support mailing list > > Support at lists.tox.chat > > https://lists.tox.chat/listinfo/support > > > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support From d at dvor.me Thu Dec 22 15:02:37 2016 From: d at dvor.me (Dmytro Vorobiov) Date: Thu, 22 Dec 2016 16:02:37 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: <1482408371.9237.18.camel@openmailbox.org> References: <1482400588.9237.9.camel@openmailbox.org> <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> <1482404395.9237.14.camel@openmailbox.org> <8fcff4aa-f2ec-326e-e581-fb3aefb850db@dvor.me> <1482408371.9237.18.camel@openmailbox.org> Message-ID: Hello fuumind, I've started a bootstrap node on 443 port, it should be added to nodes list soon. Dmytro On 22/12/16 13:06, fuumind wrote: > Hi Dmytro! > > Thanks for the links to the wiki! ~700GiB is a bit out of my league so > I guess I'll have to pass on this atm. > > /fuumind > > tor 2016-12-22 klockan 12:32 +0100 skrev Dmytro Vorobiov: >> Hello fuumind, >> >> According to wiki it takes ~700GiB of total traffic (1/2 incoming, >> 1/2 >> outgoing) per month. See wiki for more info: >> >> https://wiki.tox.chat/users/nodes >> https://wiki.tox.chat/users/runningnodes >> >> Dmytro >> >> On 22/12/16 11:59, fuumind wrote: >>> >>> Thanks Simon! >>> >>> How much bandwidth does running a bootstrap node consume per month? >>> Does it take a lot of work to maintain one? If the parameters are >>> managable I might try setting up a node as well. >>> >>> /fuumind >>> >>> tor 2016-12-22 klockan 11:34 +0100 skrev Simon Levermann: >>>> >>>> Hello fuumind, >>>> >>>> one possible reason is that a lot of bootstrap nodes are hosted >>>> on >>>> machines that are not exclusively tox bootstrap nodes. And a very >>>> common >>>> thing to have on a VPS/root server is a web server, and that >>>> usually >>>> takes up ports 80/443. >>>> >>>> That being said, maybe I'll get around to setting up a 443 node >>>> on my >>>> server (it has a second IP anyhow). But definitely not before the >>>> end >>>> of >>>> the year, it is vacation time for me after today. >>>> >>>> Cheers >>>> >>>> Simon >>>> >>>> >>>> On 22.12.2016 10:56, fuumind wrote: >>>>> >>>>> >>>>> Hi all! >>>>> >>>>> Is there a special reason why no bootstrap nodes are on port >>>>> 443/80? >>>>> Like is it more difficult / dangerous? Reason I'm asking is I >>>>> currently >>>>> am unable to use tox at my library because their firewall only >>>>> allows >>>>> 80/443 outgoing and there are no available nodes serving on >>>>> those >>>>> ports. >>>>> >>>>> Thanks! >>>>> fuumind >>>>> >>>>> _______________________________________________ >>>>> Support mailing list >>>>> Support at lists.tox.chat >>>>> https://lists.tox.chat/listinfo/support >>>> _______________________________________________ >>>> Support mailing list >>>> Support at lists.tox.chat >>>> https://lists.tox.chat/listinfo/support >>> _______________________________________________ >>> Support mailing list >>> Support at lists.tox.chat >>> https://lists.tox.chat/listinfo/support >>> >> _______________________________________________ >> Support mailing list >> Support at lists.tox.chat >> https://lists.tox.chat/listinfo/support > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 842 bytes Desc: OpenPGP digital signature URL: From fuumind at openmailbox.org Thu Dec 22 15:54:38 2016 From: fuumind at openmailbox.org (fuumind) Date: Thu, 22 Dec 2016 16:54:38 +0100 Subject: [Tox Support] Why no bootstrap nodes serving on port 443/80? In-Reply-To: References: <1482400588.9237.9.camel@openmailbox.org> <203ccbf2-2d87-515b-d5cf-61e2e562ce26@slevermann.de> <1482404395.9237.14.camel@openmailbox.org> <8fcff4aa-f2ec-326e-e581-fb3aefb850db@dvor.me> <1482408371.9237.18.camel@openmailbox.org> Message-ID: <1482422078.9237.25.camel@openmailbox.org> Hi Dmytro! That's great to hear, I appreciate it! I'd rather speak to the missus and friends using tox than on phone or skype... :) /fuumind tor 2016-12-22 klockan 16:02 +0100 skrev Dmytro Vorobiov: > Hello fuumind, > > I've started a bootstrap node on 443 port, it should be added to > nodes > list soon. > > ????Dmytro > > On 22/12/16 13:06, fuumind wrote: > > > > Hi Dmytro! > > > > Thanks for the links to the wiki! ~700GiB is a bit out of my league > > so > > I guess I'll have to pass on this atm. > > > > /fuumind > > > > tor 2016-12-22 klockan 12:32 +0100 skrev Dmytro Vorobiov: > > > > > > Hello fuumind, > > > > > > According to wiki it takes ~700GiB of total traffic (1/2 > > > incoming, > > > 1/2 > > > outgoing) per month. See wiki for more info: > > > > > > https://wiki.tox.chat/users/nodes > > > https://wiki.tox.chat/users/runningnodes > > > > > > ????Dmytro > > > > > > On 22/12/16 11:59, fuumind wrote: > > > > > > > > > > > > Thanks Simon! > > > > > > > > How much bandwidth does running a bootstrap node consume per > > > > month? > > > > Does it take a lot of work to maintain one? If the parameters > > > > are > > > > managable I might try setting up a node as well. > > > > > > > > /fuumind > > > > > > > > tor 2016-12-22 klockan 11:34 +0100 skrev Simon Levermann: > > > > > > > > > > > > > > > Hello fuumind, > > > > > > > > > > one possible reason is that a lot of bootstrap nodes are > > > > > hosted > > > > > on > > > > > machines that are not exclusively tox bootstrap nodes. And a > > > > > very > > > > > common > > > > > thing to have on a VPS/root server is a web server, and that > > > > > usually > > > > > takes up ports 80/443. > > > > > > > > > > That being said, maybe I'll get around to setting up a 443 > > > > > node > > > > > on my > > > > > server (it has a second IP anyhow). But definitely not before > > > > > the > > > > > end > > > > > of > > > > > the year, it is vacation time for me after today. > > > > > > > > > > Cheers > > > > > > > > > > Simon > > > > > > > > > > > > > > > On 22.12.2016 10:56, fuumind wrote: > > > > > > > > > > > > > > > > > > > > > > > > Hi all! > > > > > > > > > > > > Is there a special reason why no bootstrap nodes are on > > > > > > port > > > > > > 443/80? > > > > > > Like is it more difficult / dangerous? Reason I'm asking is > > > > > > I > > > > > > currently > > > > > > am unable to use tox at my library because their firewall > > > > > > only > > > > > > allows > > > > > > 80/443 outgoing and there are no available nodes serving on > > > > > > those > > > > > > ports. > > > > > > > > > > > > Thanks! > > > > > > fuumind > > > > > > > > > > > > _______________________________________________ > > > > > > Support mailing list > > > > > > Support at lists.tox.chat > > > > > > https://lists.tox.chat/listinfo/support > > > > > _______________________________________________ > > > > > Support mailing list > > > > > Support at lists.tox.chat > > > > > https://lists.tox.chat/listinfo/support > > > > _______________________________________________ > > > > Support mailing list > > > > Support at lists.tox.chat > > > > https://lists.tox.chat/listinfo/support > > > > > > > _______________________________________________ > > > Support mailing list > > > Support at lists.tox.chat > > > https://lists.tox.chat/listinfo/support > > _______________________________________________ > > Support mailing list > > Support at lists.tox.chat > > https://lists.tox.chat/listinfo/support > > > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support From NoCos30 at hotmail.com Fri Dec 30 18:59:12 2016 From: NoCos30 at hotmail.com (Nocs ...) Date: Fri, 30 Dec 2016 18:59:12 +0000 Subject: [Tox Support] Merry Christmas And Happy New Year Broz ^.^ Message-ID: Hello broz, merry christmas and happy holidays i have some problems with my internet lately so i send you from email the question i have. If i create the savedata.tox and i keep my toxID, secretID, publicID and NoSpamID as string and i delete the savedata.tox am i able to create a savedata.tox with the id`s i have again so i dont need to recreate a new toxID and otherId`s ? Also is there a link to read about the secretID what it does ? Is it the one to use on passwords and encrypts the data with it where should i look for that ? Thanks for your reply in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From nurupocontributions at gmail.com Sat Dec 31 01:17:07 2016 From: nurupocontributions at gmail.com (nurupo) Date: Fri, 30 Dec 2016 20:17:07 -0500 Subject: [Tox Support] Merry Christmas And Happy New Year Broz ^.^ In-Reply-To: References: Message-ID: There are no "secretID" and "publicID", there are secret key and public key, which together is your permanent asymmetric cryptography keypair that toxcore uses. This keypair is your Tox identity, if anyone gains access to the secret key, they can claim your Tox identity, so you should never share your secret key. You should study public-key cryptography if you want to understand public and secret keys in more detail. Tox Id is pretty much public key and nospam combined, with the third component being checksum bytes, which can be generated given the first two, so it's redundant to store Tox Id along with public key and nospam. It might make sense to do given your use case though. >If i create the savedata.tox and i keep my toxID, secretID, publicID and NoSpamID as string and i delete the savedata.tox >am i able to create a savedata.tox with the id`s i have again so i dont need to recreate a new toxID and otherId`s ? I don't understand what savedata.tox file has to do with anything. I assume it contains the savedata bytes toxcore provides? Are you extracting the Tox Id, public key, secret key and nospam out of it? If so, you shouldn't be doing that, as the format of the savedata bytes is unspecified. You should use these functions to get your public key, secret key and nospam https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1015-L1035. There is also a function to get your Tox Id, which is called address in toxcore https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L995-L1004 , If all you want is to keep your Tox identity, all you need to store is your secret key. You can additionally store nospam to keep your previous Tox Id valid for friend requests. Toxcore allows you to create a Tox instance using just your secret key https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L405-L422, and you would need to set the saved nospam on the created Tox instance https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1006-L1013 . On Fri, Dec 30, 2016 at 1:59 PM, Nocs ... wrote: > Hello broz, merry christmas and happy holidays i have some problems with > my internet lately so i send you from email the question i have. > > If i create the savedata.tox and i keep my toxID, secretID, publicID and > NoSpamID as string and i delete the savedata.tox > am i able to create a savedata.tox with the id`s i have again so i dont > need to recreate a new toxID and otherId`s ? > > Also is there a link to read about the secretID what it does ? > Is it the one to use on passwords and encrypts the data with it where > should i look for that ? > > Thanks for your reply in advance > > _______________________________________________ > Support mailing list > Support at lists.tox.chat > https://lists.tox.chat/listinfo/support > > -------------- next part -------------- An HTML attachment was scrubbed... URL: