]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
"Grant Erickson" [Fri, 14 Dec 2012 23:08:24 +0000 (16:08 -0700)]
Fixed typo in debug formatting in ip6.c
goldsimon [Wed, 26 Sep 2012 19:50:42 +0000 (21:50 +0200)]
fixed bug #37405 'err_tcp()' uses already freed 'netconn' object
goldsimon [Wed, 26 Sep 2012 19:30:01 +0000 (21:30 +0200)]
Added brackets, completed CHANGELOG
Henrik Persson [Wed, 5 Sep 2012 12:16:45 +0000 (14:16 +0200)]
Fix corner case with dhcp timeouts
If t1 >= t2 timeout then only t2 timer should be scheduled. This can happen
when a sub 1 minute lease is received.
goldsimon [Wed, 26 Sep 2012 19:21:26 +0000 (21:21 +0200)]
Added brackets, completed CHANGELOG
Henrik Persson [Thu, 30 Aug 2012 11:57:33 +0000 (13:57 +0200)]
Segfault in dhcp_parse_reply if no end marker
If no endmarker is present in a dhcp reply a null pointer is potentially
dereferenced.
Add fix and test case as proof of concept.
goldsimon [Wed, 22 Aug 2012 19:59:02 +0000 (21:59 +0200)]
fixed bug #37166: memp_sanity check loops itself
Ivan Delamer [Fri, 17 Aug 2012 17:24:18 +0000 (11:24 -0600)]
Fixed typo in previous commit.
Change-Id: I97f85f4593509911829cfbbb6e309eecedd5465b
Ivan Delamer [Fri, 17 Aug 2012 16:56:14 +0000 (10:56 -0600)]
Add a "NULL" output function for ipv6 by default, to avoid NULL
dereferencing in case of non-IPv6-enabled netifs (e.g. PPP).
Change-Id: I45f08ca89bfa0b8d61962f7052b11cc81a5e3cd1
goldsimon [Mon, 13 Aug 2012 19:50:15 +0000 (21:50 +0200)]
fixed bug #36645: Calling dhcp_release before dhcp_start dereferences NULL
goldsimon [Mon, 13 Aug 2012 19:38:30 +0000 (21:38 +0200)]
fixed bug #36840 snmp_send_trap() NULL de-reference if traps configured but no interfaces available
goldsimon [Mon, 13 Aug 2012 19:32:44 +0000 (21:32 +0200)]
Fixed bug #36899 DNS TTL 0 is cached for a long time
goldsimon [Mon, 13 Aug 2012 19:17:17 +0000 (21:17 +0200)]
fixed bug #37052: "netconn_alloc: undefined netconn_type" assertion skipped
goldsimon [Mon, 13 Aug 2012 18:57:55 +0000 (20:57 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Mon, 13 Aug 2012 18:57:19 +0000 (20:57 +0200)]
Sanity-check the size of netif->hwaddr
James Smith [Tue, 24 Jul 2012 16:34:09 +0000 (10:34 -0600)]
Fix bug #36857: tcp_listen_dual_with_backlog() only works with ANY
address
Change-Id: I092a4c9978d88040214fc44a4c4b353be618d76c
Ivan Delamer [Tue, 3 Jul 2012 20:39:25 +0000 (14:39 -0600)]
Allow setting/getting socket option IPV6_V6ONLY for stream sockets
only, as datagram sockets do not support dual IP versions yet.
Change-Id: I2d89bdaa06b19dc0c553c7be6ac6e9a71d3ce8a5
James Smith [Tue, 3 Jul 2012 19:16:04 +0000 (13:16 -0600)]
Applied patch by James Smith to implement IPV6_V6ONLY support in
sockets and netconns.
Change-Id: I2ecd8e218703114890b2d678cc1ccf997a16f5e3
goldsimon [Fri, 11 May 2012 20:56:53 +0000 (22:56 +0200)]
fixed bug #36412: memp.c does not compile when MEMP_OVERFLOW_CHECK > zero and MEMP_SEPARATE_POOLS == 1
goldsimon [Fri, 11 May 2012 20:37:30 +0000 (22:37 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Tue, 8 May 2012 05:42:32 +0000 (07:42 +0200)]
fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was a debug-check issue only)
goldsimon [Mon, 7 May 2012 20:12:01 +0000 (22:12 +0200)]
Added a readme.txt about the PPP code.
goldsimon [Sat, 5 May 2012 07:28:24 +0000 (09:28 +0200)]
Added missing name (patch by)
Ivan Delamer [Sat, 5 May 2012 00:25:22 +0000 (18:25 -0600)]
In ip6_input(), do not accept link-local packets on netifs other than
inp.
Change-Id: I7f3c779e69292bc078890e0acdc37112559644ce
Ivan Delamer [Sat, 5 May 2012 00:19:40 +0000 (18:19 -0600)]
Fixed #define that was commited by mistake.
Change-Id: Ic44560284e932b2d7c503155085160647ac82bb8
Ivan Delamer [Sat, 5 May 2012 00:11:47 +0000 (18:11 -0600)]
In ip6_input(), accept solicited node packets that match the receiving
netif addresses, when multicast is disabled.
Change-Id: I3f59258ee605a820f0a525b696b1dede0d53948f
Ivan Delamer [Fri, 4 May 2012 23:43:54 +0000 (17:43 -0600)]
fixes bug #36389: Use IPv6 Src Address of Echo Response as Destination
Address in Echo Response
Ivan Delamer [Fri, 4 May 2012 23:33:06 +0000 (17:33 -0600)]
Fix bug #36391 - inet6_addr_to_ip6addr()
Change-Id: I2ab73901a8552e3c247d95985f6ce5d6ef7d4599
goldsimon [Thu, 3 May 2012 18:39:43 +0000 (20:39 +0200)]
patch by Sylvain Rochet: fixed bug #36283 (PPP struct used on header size computation and not packed)
goldsimon [Thu, 3 May 2012 18:21:50 +0000 (20:21 +0200)]
dhcp: check array bounds before accessing it (bug #36170)
goldsimon [Thu, 3 May 2012 18:11:23 +0000 (20:11 +0200)]
Added unit test that pbuf_copy returns a correct error code for pbuf queues ending with a zero-length pbuf.
goldsimon [Thu, 3 May 2012 17:45:22 +0000 (19:45 +0200)]
fixed bug #36388 (PPP: checksum-only in last pbuf leads to pbuf with zero length)
goldsimon [Wed, 28 Mar 2012 09:06:52 +0000 (11:06 +0200)]
fixed the fix for bug #35945 (SYN packet should provide the recv MSS not the send MSS) if TCP_CALCULATE_EFF_SEND_MSS==0
goldsimon [Tue, 27 Mar 2012 18:42:46 +0000 (20:42 +0200)]
fixed bug #35756 header length calculation problem in ppp/vj.c - removed unused/invalid defines TCPH_OFFSET(_SET).
goldsimon [Tue, 27 Mar 2012 18:18:23 +0000 (20:18 +0200)]
fixed bug #35945: SYN packet should provide the recv MSS not the send MSS
goldsimon [Sun, 25 Mar 2012 15:20:22 +0000 (17:20 +0200)]
udp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0
goldsimon [Sun, 25 Mar 2012 15:19:46 +0000 (17:19 +0200)]
tcp_abort/tcp_abandon: don't send RST if pcb->state is CLOSED
goldsimon [Sun, 25 Mar 2012 15:18:58 +0000 (17:18 +0200)]
dhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so that CHECKSUM_CHECK_UDP==0 is not necessary
goldsimon [Sun, 25 Mar 2012 15:15:56 +0000 (17:15 +0200)]
new dhcp unit test: fix compilation for strict C, made local functions static, made some variables and parameters const
goldsimon [Sun, 25 Mar 2012 15:12:02 +0000 (17:12 +0200)]
TCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif set)
Erik Ekman [Thu, 22 Mar 2012 09:52:05 +0000 (10:52 +0100)]
Add unit tests for DHCP
Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.
goldsimon [Sun, 25 Mar 2012 13:12:42 +0000 (15:12 +0200)]
Better fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is disabled.
goldsimon [Sun, 25 Mar 2012 13:02:58 +0000 (15:02 +0200)]
added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files.
goldsimon [Sun, 25 Mar 2012 12:56:41 +0000 (14:56 +0200)]
Fixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1
goldsimon [Sun, 25 Mar 2012 12:41:27 +0000 (14:41 +0200)]
fixed bug #35931: Name space pollution in api_msg.c and netifapi.c
goldsimon [Thu, 22 Mar 2012 18:35:04 +0000 (19:35 +0100)]
fixed bug #35927: missing refragmentaion in ip_forward
Ivan Delamer [Thu, 22 Mar 2012 17:14:49 +0000 (11:14 -0600)]
Support single-packet queueing in ND6 (similar to ARP), when
!LWIP_ND6_QUEUEING.
Ivan Delamer [Thu, 22 Mar 2012 16:25:50 +0000 (10:25 -0600)]
Disable leftover ND6 queueing code when !LWIP_ND6_QUEUING.
goldsimon [Tue, 20 Mar 2012 21:06:32 +0000 (22:06 +0100)]
patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list
goldsimon [Mon, 12 Mar 2012 15:43:23 +0000 (16:43 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Mon, 12 Mar 2012 15:42:18 +0000 (16:42 +0100)]
Removed unnecessary global variable "subnetMask", which is only used in one function (GetMask)
goldsimon [Mon, 12 Mar 2012 15:39:52 +0000 (16:39 +0100)]
patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system
Ivan Delamer [Fri, 2 Mar 2012 16:35:42 +0000 (09:35 -0700)]
Missing declarations in supporting IP_HDRINCL.
Ivan Delamer [Fri, 2 Mar 2012 16:27:14 +0000 (09:27 -0700)]
Check arguments in nd6, and some other minor fixes nearby.
Ivan Delamer [Fri, 2 Mar 2012 16:18:54 +0000 (09:18 -0700)]
Early exit when checking if ip6 reassembled packet is valid.
Ivan Delamer [Fri, 2 Mar 2012 16:16:33 +0000 (09:16 -0700)]
Check that pbuf_header succeeds in IPv6 reassembly.
Ivan Delamer [Fri, 2 Mar 2012 16:06:57 +0000 (09:06 -0700)]
Support IP_HDRINCL in ip6_output() and ip6_output_hinted(),
previously only supported in ip6_output_if().
Ivan Delamer [Fri, 2 Mar 2012 15:59:34 +0000 (08:59 -0700)]
Fixed error in calculating some IPv6 option header lengths.
Ivan Delamer [Fri, 2 Mar 2012 15:53:51 +0000 (08:53 -0700)]
Set ip_data.current_netif earlier to allow ICMPv6 packets in ip6_fwd.
Then set to "accepted" netif, not inp.
goldsimon [Thu, 1 Mar 2012 18:21:17 +0000 (19:21 +0100)]
IGMP stats: added missing tab (by Gisle Vanem)
goldsimon [Thu, 1 Mar 2012 18:10:52 +0000 (19:10 +0100)]
Fixed unused variable warnings produced with the last commit
goldsimon [Tue, 28 Feb 2012 11:45:59 +0000 (12:45 +0100)]
Speed up LWIP_TCPIP_CORE_LOCKING by directly calling functions in api_msg.c instead of calling via function pointer.
goldsimon [Thu, 23 Feb 2012 09:14:27 +0000 (10:14 +0100)]
fixed bug #35595: Impossible to send broadcast without a gateway (introduced when fixing bug# 33551)
goldsimon [Wed, 22 Feb 2012 20:47:33 +0000 (21:47 +0100)]
unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too
goldsimon [Wed, 22 Feb 2012 20:35:04 +0000 (21:35 +0100)]
Minor: cosmetic source code layout changes
goldsimon [Wed, 22 Feb 2012 20:34:22 +0000 (21:34 +0100)]
Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb.
goldsimon [Thu, 16 Feb 2012 12:11:04 +0000 (13:11 +0100)]
Added lwipopts.h file for unit tests
goldsimon [Thu, 16 Feb 2012 11:55:14 +0000 (12:55 +0100)]
fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak)
goldsimon [Thu, 16 Feb 2012 11:30:52 +0000 (12:30 +0100)]
fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551)
goldsimon [Thu, 16 Feb 2012 07:01:54 +0000 (08:01 +0100)]
Patch by Stéphane Lesage:
fixed bug #35536 SNMP: error too big response is malformed
goldsimon [Thu, 16 Feb 2012 06:33:38 +0000 (07:33 +0100)]
fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1
goldsimon [Tue, 14 Feb 2012 20:29:14 +0000 (21:29 +0100)]
Removed unused variable in ip_debug_print()
goldsimon [Tue, 14 Feb 2012 18:41:46 +0000 (19:41 +0100)]
Fixed unused variable warning
goldsimon [Mon, 13 Feb 2012 20:38:48 +0000 (21:38 +0100)]
Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed
goldsimon [Mon, 13 Feb 2012 20:38:28 +0000 (21:38 +0100)]
Multiple compilation fixes:
- use C style comments, not C++ style;
- don't use #if with undefined parameter;
goldsimon [Mon, 13 Feb 2012 19:41:58 +0000 (20:41 +0100)]
Fixed unused local variable warning (patch #7711)
goldsimon [Sun, 12 Feb 2012 13:14:19 +0000 (14:14 +0100)]
partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window)
goldsimon [Sun, 12 Feb 2012 13:04:59 +0000 (14:04 +0100)]
tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only)
goldsimon [Sat, 11 Feb 2012 17:15:17 +0000 (18:15 +0100)]
fixed bug #35435: No pcb state check before adding it to time-wait queue while closing
Ivan Delamer [Fri, 27 Jan 2012 21:54:39 +0000 (14:54 -0700)]
Allow unicast NA messages without LLA option, in accordance to RFC2461
section 4.4, and as suggested by Phillip Toelke.
Change-Id: Ic9d9a6ad82ec201d25b9fc024936cfb1b41f1a7a
goldsimon [Sun, 22 Jan 2012 10:18:36 +0000 (11:18 +0100)]
fixed bug #35305: pcb may be freed too early on shutdown(WR)
goldsimon [Sat, 21 Jan 2012 17:05:15 +0000 (18:05 +0100)]
fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR))
goldsimon [Sat, 21 Jan 2012 15:57:53 +0000 (16:57 +0100)]
Fixed my last chagne to pbuf_copy
goldsimon [Fri, 20 Jan 2012 20:36:52 +0000 (21:36 +0100)]
- fixed bug #35151: DHCP asserts on incoming option lengths;
- fixed wrong CHANGELOG of the last commit
goldsimon [Fri, 20 Jan 2012 20:21:10 +0000 (21:21 +0100)]
pbuf_copy(): moved the check for "p_to != NULL" to a better place.
goldsimon [Fri, 20 Jan 2012 20:19:26 +0000 (21:19 +0100)]
fixed bug #35291: NULL pointer in pbuf_copy
goldsimon [Mon, 16 Jan 2012 08:40:15 +0000 (09:40 +0100)]
Added option CHECKSUM_GEN_ICMP
goldsimon [Thu, 12 Jan 2012 14:40:41 +0000 (15:40 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Sat, 17 Dec 2011 21:12:01 +0000 (22:12 +0100)]
implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061)
goldsimon [Wed, 14 Dec 2011 20:42:51 +0000 (21:42 +0100)]
Fixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG
goldsimon [Tue, 6 Dec 2011 20:21:44 +0000 (21:21 +0100)]
Another fix for bug #32417 (debug assert that fires)
Ivan Delamer [Tue, 29 Nov 2011 19:49:43 +0000 (12:49 -0700)]
bug #34846: time-exceeded was sometimes not sent to original fragment
source, but to the sender of a packet fragment that triggered a buffer
purge.
Change-Id: I4bf20747bd900150491852649918a85cb7bf2aad
Ivan Delamer [Mon, 28 Nov 2011 21:07:53 +0000 (14:07 -0700)]
Added parenthesis to netif/ip6 macros.
Change-Id: I32d7f28c9e106641e3d5be8342d2c884e166bb0e
goldsimon [Fri, 25 Nov 2011 17:36:52 +0000 (18:36 +0100)]
fixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases
goldsimon [Thu, 24 Nov 2011 20:11:11 +0000 (21:11 +0100)]
fix for bug #34684 was wrong (netif for arp table entries was only set/reset with SNMP enabled)
goldsimon [Thu, 24 Nov 2011 06:47:40 +0000 (07:47 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Wed, 23 Nov 2011 19:58:19 +0000 (20:58 +0100)]
fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep'
goldsimon [Wed, 23 Nov 2011 08:09:22 +0000 (09:09 +0100)]
fix compilation of ip_canforward on 8-/16-bit platforms (where constants are 16-bit and thus cannot be left-shifted by 24)
goldsimon [Tue, 22 Nov 2011 20:44:28 +0000 (21:44 +0100)]
fixed bug #34684: Clear the arp table cache when netif is brought down
goldsimon [Tue, 22 Nov 2011 20:41:20 +0000 (21:41 +0100)]
Fix icmp6_send_response: cannot assign (packed) ip6_addr_p_t* to ip6_addr_t* -> need to copy the packed address to an aligned address first