Activity for spiras

  • spiras spiras modified a comment on discussion FNET User Forum

    Hello; attached are 3 screenshots from wireshark capturing DNS activity from FNet dns client. The first packet is a regular dns query for www.google.com The second packet is the regular response from the server. For the purpose of this test, the response has been blocked, to force retries from the client. The third packet is a malformed retry from the client with FNET_CFG_DNS_RETRANSMISSION_MAX = 3 All retries are malformed; it looks like query retries are sent with 'response' flag set. Following...

  • spiras spiras modified a comment on discussion FNET User Forum

    Hello; attached are 3 screenshots from wireshark capturing DNS activity from FNet dns client. The first packet is a regular dns query for www.google.com The second packet is the regular response from the server. For the purpose of this test, the response has been blocked, to force retries from the client. The third packet is a malformed retry from the client with FNET_CFG_DNS_RETRANSMISSION_MAX = 3 All retries are malformed; it looks like query retries are sent with 'response' flag set. Following...

  • spiras spiras posted a comment on discussion FNET User Forum

    Hello; attached are 3 screenshots from wireshark capturing DNS activity from FNet dns client. The first packet is a regular dns query for www.google.com The second packet is the regular response from the server. For the purpose of this test, the response has been blocked, to force retries from the client. The third packet is a malformed retry from the client with FNET_CFG_DNS_RETRANSMISSION_MAX = 3 All retries are malformed; it looks like query retries are sent with 'response' flag set. Following...

  • spiras spiras posted a comment on discussion FNET User Forum

    Yes, it works for me. Thank you

  • spiras spiras posted a comment on discussion FNET User Forum

    Hello, I'm creating this topic after another post about a DNS problem, https://sourceforge.net/p/fnet/discussion/920346/thread/0748178cb3/#ad76 Now I'm seeing a different problem: all messages rejected by the client in fnet_dns.c function _fnet_dns_poll , case FNET_DNS_STATE_RX: when checking the "is response" flag in header->flags, the received message contains a correct response value (bytes 0x81 and 0x00 equal to 0x8100) but the machine evaluates the value as 0x0081 so the check always fails....

  • spiras spiras posted a comment on discussion FNET User Forum

    yes it was related to that same issue; the value of received was not actually 0; it receives a CNAME as rejects it thanks for the hint

  • spiras spiras posted a comment on discussion FNET User Forum

    thanks; I'm afraid it's not related, because: I tracked down to _fnet_dns_poll it goes into FNET_DNS_STATE_RX received is always 0 I'm still investigating

  • spiras spiras posted a comment on discussion FNET User Forum

    Hello, using 4.7.1 we have a case where DNS resolution fails; the DNS server is pingable from the device; in tcpdump we see the correct query packet and the response from the server, but the device does not receive the response. Any idea? I enabled the FNET_DEBUG_DNS macro, this is the output: resolving apps.xyz.com Sending query... Sending query... Sending query... Sending query... Sending query... Sending query... Timeout not resolved On the same device, telnet service is working normally. Here...

  • spiras spiras posted a comment on discussion FNET User Forum

    fyi example of actual script, 1201 bytes meter cal report meter calreg UOffsetA cc68 meter calreg IOffsetA fc60 meter calreg POffsetA 0000 meter calreg QOffsetA 0000 meter calreg POffsetAF 0000 meter calreg UOffsetB f788 meter calreg IOffsetB fc60 meter calreg POffsetB 0000 meter calreg QOffsetB 0000 meter calreg POffsetBF 0000 meter calreg UOffsetC fc60 meter calreg IOffsetC fc60 meter calreg POffsetC 0000 meter calreg QOffsetC 0000 meter calreg POffsetCF 0000 meter calreg UGainA cb98 meter calreg...

  • spiras spiras posted a comment on discussion FNET User Forum

    8k is a general purpose buffer, already present; now I am using it to implement scripts, that may be downloaded; I think the size of a script will never reach 8k, but it will certainly be larger than FAPP_CFG_SHELL_MAX_LINE_LENGTH (80 bytes) ! Thanks

  • spiras spiras posted a comment on discussion FNET User Forum

    it may be quite large: currently it's a static 8k buffer for text in ram; if I increase cmd_line_size it would dynamically allocate another 8k just to make a copy of the same data... no thanks, I will iterate through my data and make single-line calls to fnet_shell_script

  • spiras spiras posted a comment on discussion FNET User Forum

    Hello, I'm trying to run a script from a text in memory: fnet_shell_script(shell_desc, p); //p is a char * to text at line 616 of fnet_shell.c I see: if(script_size + 1/*splitter*/ + 1/*size*/ > shell_if->cmd_line_size) { goto ERROR; } ok; shell_if->cmd_line_size is set at value 80 upon startup by fnet_shell_init: fnet_size_t cmd_line_buffer_size; /**< @brief Size of the command-line buffer. * It defines the maximum length of the * entered input-command line. */ It looks like scripts with large size...

  • spiras spiras posted a comment on discussion FNET User Forum

    Hello, MIMXRT1062 natively supports two ethernet interfaces; is this supported in FNet? I can't find anything about the number of interfaces in fnet_user_config.h Thanks

1