Simon Goldschmidt | 31 Aug 20:34 2015
Picon

[task #13729] Convert netif addresses (IPv4 & IPv6) to ip_addr_T

URL:
  <http://savannah.nongnu.org/task/?13729>

                 Summary: Convert netif addresses (IPv4 & IPv6) to ip_addr_T
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Mo 31 Aug 2015 18:34:54 GMT
                Category: None
         Should Start On: Mo 31 Aug 2015 00:00:00 GMT
   Should be Finished on: Mo 31 Aug 2015 00:00:00 GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 1.5.0
                  Effort: 0.00

    _______________________________________________________

Details:

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?13729>

(Continue reading)

Erik Ekman | 26 Aug 11:05 2015
Picon

[bug #45829] ipX_to_ip() function does not work when just one IP version supported

URL:
  <http://savannah.nongnu.org/bugs/?45829>

                 Summary: ipX_to_ip() function does not work when just one IP
version supported
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: yarrick
            Submitted on: Wed 26 Aug 2015 09:05:48 AM GMT
                Category: IPv4
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

When both IP versions are supported, ip4_to_ip()/ip6_to_ip() converts the IP
version-specific first argument to an IP version-independent type given as the
second argument.

To work the same way when only one IP version is supported the first argument
needs to be copied to the second.

(Continue reading)

Simon Goldschmidt | 25 Aug 22:24 2015
Picon

[bug #45827] recvfrom: TCP window is updated with MSG_PEEK

URL:
  <http://savannah.nongnu.org/bugs/?45827>

                 Summary: recvfrom: TCP window is updated with MSG_PEEK
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Di 25 Aug 2015 20:24:55 GMT
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: goldsimon
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45827>

_______________________________________________
  Nachricht gesendet von/durch Savannah
(Continue reading)

Gisle Vanem | 25 Aug 14:12 2015
Picon

lwip_unittests crash

Hi list.

I've built lwIP on Windows 8.1 (using MSVC + MingW). The lwip.dll
and my test-app seems to work fine (LWIP_DHCP=1).

But the lwip_unittest program crashes inside in ip4_route()
(src/core/ipv4/ip4.c, line 145):

   /* iterate through netifs */
   for (netif = netif_list; netif != NULL; netif = netif->next) {

The value of 'netif' is 0x00000100 !! Hence the
'netif->next' also contains rubbish.

Someone who can shed some light on this?

After enabling full debug in lwip_unittest, I get:

   lwip_debug_flags: 0xff
   netif: netmask of interface  <0><0>  set to 255.0.0.0
   netif: GW address of interface  <0><0>  set to 127.0.0.1
   netif_set_ipaddr: netif address being changed
   netif: IP address of interface  <0><0>  set to 127.0.0.1
   netif: added interface lo IP addr 127.0.0.1 netmask 255.0.0.0 gw 127.0.0.1
   udp_bind(ipaddr = 0.0.0.0, port = 161)
   udp_bind: bound to 0.0.0.0, port 161)
   igmp_init: initializing
   Running suite(s): UDP
    TCP
   inet_chksum_pseudo(): checksumming pbuf 00D81AF8 (has next 00000000)
(Continue reading)

Simon Goldschmidt | 25 Aug 07:34 2015
Picon

[bug #45818] API functions should check if type of ip_addr_t parameter matches the pcb type

URL:
  <http://savannah.nongnu.org/bugs/?45818>

                 Summary: API functions should check if type of ip_addr_t
parameter matches the pcb type
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Di 25 Aug 2015 05:34:32 GMT
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 1.5.0
            lwIP version: git head

    _______________________________________________________

Details:

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45818>

_______________________________________________
(Continue reading)

Joel Cunningham | 24 Aug 18:35 2015
Picon

[patch #8724] Add multicast support to loopif

URL:
  <http://savannah.nongnu.org/patch/?8724>

                 Summary: Add multicast support to loopif
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Mon 24 Aug 2015 04:35:35 PM GMT
                Category: Network drivers
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

I've put together a patch that enables multicast support on the loopback netif
(127.0.0.1) by setting the NETIF_FLAG_IGMP.

My patch also adds a configuration option LWIP_LOOPIF_MCAST which defaults to
off in opt.h to control this behavior

I'm using multicast on the loopif to support mDNSResponder performing
same-machine communication when no real netifs are up

(Continue reading)

Michael Heimpold | 11 Aug 22:02 2015
Picon

[bug #45735] httpd_raw does not detect Content-Length header correctly

URL:
  <http://savannah.nongnu.org/bugs/?45735>

                 Summary: httpd_raw does not detect Content-Length header
correctly
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: mhei
            Submitted on: Di 11 Aug 2015 20:02:05 GMT
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

HTTP headers are case-insensitiv, so using strnstr to find the Content-Length
header fails with browsers which use other case variants that the one defined
in the code.

The attached patch tries to solve this problem. The patch is also available
at:
https://github.com/mhei/lwip-contrib/tree/httpd_strncasestr
(Continue reading)

Michael Steinberg | 9 Aug 00:20 2015
Picon

[patch #8712] Allow custom timing implementation on NO_SYS builds

URL:
  <http://savannah.nongnu.org/patch/?8712>

                 Summary: Allow custom timing implementation on NO_SYS builds
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: decimad
            Submitted on: Sa 08 Aug 2015 22:20:23 GMT
                Category: Platform ports
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Hi, I found it to be advantageous to roll my own "tcpip"-thread, using LWIP in
its NO_SYS configuration. However it would still implement a kind of timing
system, so I made the few changes necessary to implement the timing
externally. I'm no great C coder, so this is only meant as a basis for
discussion.

Kind Regards

    _______________________________________________________
(Continue reading)

Michael Steinberg | 8 Aug 18:16 2015
Picon

[bug #45723] netconn_delete unconditionally uses macro TCP_SLOW_INTERVAL

URL:
  <http://savannah.nongnu.org/bugs/?45723>

                 Summary: netconn_delete unconditionally uses macro
TCP_SLOW_INTERVAL
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: decimad
            Submitted on: Sa 08 Aug 2015 16:16:46 GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

As described in summary, netconn_delete uses TCP_SLOW_INTERVAL macro
unconditionally in "api_lib.c":135 which leads to compile time errors if TCP
is not enabled.

    _______________________________________________________

Reply to this item at:
(Continue reading)

Paul Szego | 6 Aug 19:17 2015
Picon

[bug #45708] LWIP_ASSERT in api_msg.c, function err_tcp, seems wrong.

URL:
  <http://savannah.nongnu.org/bugs/?45708>

                 Summary: LWIP_ASSERT in api_msg.c, function err_tcp, seems
wrong.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: pszego
            Submitted on: Thu 06 Aug 2015 05:17:12 PM GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

The LWIP_ASSERT at line 418, in function err_tcp() doesn't seem correct:

      LWIP_ASSERT("inavlid op_completed_sem", op_completed_sem !=
SYS_SEM_NULL);

The declaration of op_completed_sem:

(Continue reading)

szego | 4 Aug 19:34 2015

PPP example for current codebase (not 1.4.1)

Is there a full example of how to use the new PPP? All example I can find are related to the 1.4.1 API. The
closest I’ve found talks about calling ppp_new(), but the current interface requires several
parameters including a struct netif. Am I supposed to create one of those myself? What callbacks are used?
Which ones are filled out by the PPP code? Where does it hook into the sio function, if at all?

Any documentation or (more complete) examples would be great.

I have 1.4.1 working, but can’t see how to migrate it to the latest code.

Regards, Paul.

_______________________________________________
lwip-devel mailing list
lwip-devel <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-devel

Gmane