📄 changelog
字号:
is active, we cannot use the new address.
2003-04-24 Jonathan Larmour <jifl@eCosCentric.com>
* doc/tcpip.sgml: Fix some docbook errors only reported by certain
Jade versions.
2003-04-24 Andrew Lunn <andrew.lunn@ascom.ch>
* src/tftp_client.c (tftp_client_put): Fixed compiler warning.
2003-04-21 Andrew Lunn <andrew.lunn@ascom.ch>
* src/getaddrinfo.c (getnameinfo): Fixed some endian issues with
port numbers and a typo. Added an interface to the DNS client for
reverse lookups.
* tests/addr_test.c (net_test): Added tests for getnameinfo. Fixed
some memory leaks.
2003-04-20 Andrew Lunn <andrew.lunn@ascom.ch>
* src/getaddrinfo.c (getaddrinfo): Virtually a re-write to
interface to the DNS client.
2003-04-14 Andrew Lunn <andrew.lunn@ascom.ch>
* include/net/netdb.h: const correctness.
2003-04-12 Andrew Lunn <andrew.lunn@ascom.ch>
* src/network_support.c (init_loopback_interface): Close the
socket when things go wrong otherwise we leak sockets.
* src/tftp_server.c (tftpd_server): Added support for IPv6 as well
as IPv4. Extended the multithreading support so that it works
correctly when there are multiple servers on multiple ports.
* doc/tcpip.sgml: Documentation for the changes made to the tftp
server.
2003-04-11 Jonathan Larmour <jifl@eCosCentric.com>
* tests/linux_echo.c: Renamed to....
* tests/host_echo.c: this new file. Change comment to indicate this.
* tests/make.linux: Renamed to....
* tests/make.host: this new file. Change comment to indicate this.
Also linux_echo -> host_echo, and add clean target.
* doc/tcpip.sgml: Reflect above.
2003-04-11 Michael Checky <Michael_Checky@Thermoking.com>
* tests/nc_test_framework.h: deleted '#include <net/route.h>'.
* tests/linux_echo.c: added '#include <netinet/in_systm.h>',
deleted '#include <net/route.h>'.
* tests/tcp_sink.c: ditto.
* tests/tcp_souce.c: ditto.
* tests/nc_test_slave.c: changed 'bool' to 'int' because the compiler
didn't like 'bool'.
2003-04-10 Andrew Lunn <andrew.lunn@ascom.ch>
* src/network_support.c (init_all_network_interfaces): Wait upto 4
seconds for a router solicit message to be received. Once we have
received the message we know we have a valid IPv6 address.
* src/tftp_client.c: Added support for IPv6. This requires two new
functions, tftp_client_{get|put} which are protocol version
independent.
* tests/tftp_client_test.c (tftp_test): Added tests which use IPv6
addresses.
2003-04-07 Andrew Lunn <andrew.lunn@ascom.ch>
* src/getaddrinfo.c (getaddrinfo): Correctly deal with node when
its not NULL. Its OK for the address to not parse for an address
family when AF_UNSPEC is passed in hints. Also get the socktype
correct when wildcarding for services that use UDP.
* tests/addr_test.c: Added more test cases which test IP addresses
in number format as node.
2003-04-05 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/net.cdl: Added addr_tests to the HW tests.
* tests/addr_test.c (net_test): void function not int.
* tests/ping_test.c (net_test): Added IPv6 ping test. This pings
the router which answers our router solicit message.
* src/ipv6_routing_thread.c (cyg_rs): Print out the router
advertisement message. Cleaned up the debug messages so they can
be disabled.
* src/ipv6_routing_thread.c (cyg_net_get_ipv6_advrouter): New
function to return the address of the router.
* include/network.h: Added prototype for above and
ipv6_start_routing_thread which did not have a prototype.
* src/ipv6_routing_thread.c (cyg_rs): Only wait 2 seconds before
sending the first solicit request rather than 10.
* src/dhcp_prot.c (do_dhcp_down_net): clear the if_laddrreq
before using it. If the request fails finish the IPv4 code rather
than returning,.
2003-04-02 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/ping_lo_test.c: Added IPv6 ping test.
* src/getproto.c: Added the protocol ipv6-icmp.
2003-04-02 Andrew Lunn <andrew.lunn@ascom.ch>
* src/dhcp_prot.c (do_dhcp_down_net): SIOCGLIFADDR and
SIOCDLIFADDR take if_laddrreq not ifreq. This caused stack
corruption. Also initialise the if_laddrreq to zero and only do
the second IOCTL call if the first once succeeds.
2003-03-21 Nick Garnett <nickg@balti.calivar.com>
* include/network.h: Added include of pkgconf/io_eth_drivers.h
since the recent move of CYGHWR_NET_DRIVERS prevented some tests
building. This fixes the problem.
* tests/dhcp_test2.c: Sorted out ifdefs so that this test builds
when DHCP is disabled.
* cdl/net.cdl: Reinstated dhcp_test2 into list of tests: it was
accidentally removed in the 2003-03-14 checkin.
2003-03-20 Mark Salter <msalter@redhat.com>
* cdl/net.cdl (CYGHWR_NET_DRIVERS): Removed to io/eth.
2003-03-18 Barton Meeks <bartonm2002@yahoo.com>
* src/tftp_client.c: Reduce size of initial request packet
for compatibility with some tftp servers.
2003-03-14 Nick Garnett <nickg@balti.calivar.com>
* cdl/net.cdl: Added CYGDBG_NET_SHOW_MBUFS option to turn on
accumulation and display of mbuf state information.
2003-03-06 Gary Thomas <gary@mlbassoc.com>
* src/getaddrinfo.c: Need to clear any addresses - malloc() can
return garbage which the stack desn't like.
2003-03-05 Gary Thomas <gary@mlbassoc.com>
* src/getaddrinfo.c: Allow getaddrinfo() to use DNS gethostbyXXX()
routines if DNS is present. Also, eliminate some debug messages.
2003-02-25 Andrew Lunn <andrew.lunn@ascom.ch>
* src/getserv.c: Added a servent structure for SNTP.
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/net.cdl: Improve doc links.
* doc/prepare-manpages.sh: Generate namespaced IDs, without shouting.
* doc/tcpip-manpages.sgml: Regenerated.
2003-01-31 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/net.cdl (CYGPKG_NET_BUILD_HW_TESTS): Requires eth hardware
devices.
(CYGPKG_NET_TESTS): Remove from under CYGPKG_NET_BUILD_TESTS (which
became CYGPKG_NET_BUILD_HW_TESTS) so the loopback tests are always
built.
2003-01-20 Gary Thomas <gary@mlbassoc.com>
* tests/nc_test_slave.c: Improve handling of UDP buffer space - try
to minimize amount of "idle" time when this occurs. Since this test
is just for show, these changes just make the numbers "look" better.
2003-01-18 Jonathan Larmour <jifl@eCosCentric.com>
* src/network_support.c (init_all_network_interfaces): Define buf
as const.
2003-01-10 Andrew Lunn <andrew.lunn@ascom.ch>
* src/network_support.c (init_all_network_interfaces): Added
support for a hard coded domain name. Inspired by Motoya Kurotsu.
2003-01-09 Andrew Lunn <andrew.lunn@ascom.ch>
* src/network_support.c (init_all_network_interfaces): Added
support for a hard coded, default DNS server address.
2003-01-12 Jonathan Larmour <jifl@eCosCentric.com>
* src/bootp_support.c: Fix licence which should always have been
GPL since no BSD licensed code was in fact involved.
* src/dhcp_prot.c: Ditto.
* src/dhcp_support.c: Ditto.
* src/network_support.c: Ditto.
* src/tftp_client.c: Ditto.
* src/tftp_dummy_file.c: Ditto.
* src/tftp_server.c: Ditto.
2003-01-04 Jonathan Larmour <jifl@eCosCentric.com>
* doc/tcpip.sgml: Use new entity name for tcpip manpages.
2002-10-06 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/multi_lo_select.c: Need the io_fileio.h header file
* tests/tcp_echo.c: (max): definition clashes with the one in
the header file lib/libkern/libkern.h
2002-08-16 Gary Thomas <gthomas@ecoscentric.com> (on behalf of)
2002-08-16 Louis Hamilton <hamilton@redhat.com>
* src/ipv6_routing_thread.c: General improvements (from Red Hat)
for better compliance.
2002-08-14 Jonathan Larmour <jifl@ecoscentric.com>
* src/getserv.c: Include errno.h as errno is used.
2002-08-07 Gary Thomas <gary@chez-thomas.org>
* src/tftp_server.c:
* src/tftp_client.c:
* include/arpa/tftp.h: Make block numbers unsigned to handle files
larger than 16MB.
2002-07-26 Gary Thomas <gary@chez-thomas.org>
2002-07-26 Ken Cox <jkc@redhat.com>
* src/dhcp_prot.c: The IPv6 link local address would not be
recognized if configured to use dhcp. When dhcp reconfigures
the interface after obtaining it's info, it needs to delete
the IPv6 link local address (as well as the IPv4) address before
reconfiguring.
2002-07-10 Gary Thomas <gary@chez-thomas.org>
* src/inet_addr.c:
* src/getproto.c:
* src/dhcp_prot.c:
* src/bootp_support.c: Pedantic - make sure "errno" is defined.
2002-07-04 Jonathan Larmour <jlarmour@redhat.com>
* src/dhcp_prot.c (_dhcp_copy): Remove. Unnecessary as we can never
receive a packet longer than sizeof(struct bootp)
(do_dhcp): Also set giaddr to 0 before sends.
Verify length of received packets, especially to check for truncation.
2002-06-20 Gary Thomas <gary@chez-thomas.org>
* src/inet_ntop.c: Fix build error when used with newer compilers.
2002-06-05 Gary Thomas <gary@chez-thomas.org>
* src/dhcp_prot.c (_dhcp_copy): New function used to better handle
replies that can be variable length.
2002-05-30 Gary Thomas <gthomas@redhat.com>
* tests/tcp_echo.c: Build with either stack (no libkern.h).
* tests/bridge.c: Don't do anything (should not even be built,
but that's a CDL complication) if no BRIDGE support in system.
2002-05-30 Jesper Skov <jskov@redhat.com>
* tests/flood.c (floodsend): Fixed warning.
2002-05-28 Jonathan Larmour <jlarmour@redhat.com>
* src/dhcp_prot.c (do_dhcp): xmit2 need not be static.
2002-05-27 Gary Thomas <gthomas@redhat.com>
* src/dhcp_prot.c (do_dhcp): Suppress my_ip and server_ip fields
in all messages where they should not be set. Also be more careful
about size of messages as they are copied.
2002-05-24 Gary Thomas <gthomas@redhat.com>
* src/dhcp_prot.c (do_dhcp): Suppress my_ip and server_ip fields
when returning DHCP request (acceptance phase) because some DHCP
servers insist (and the RFC says it must be this way).
2002-05-21 Jesper Skov <jskov@redhat.com>
* include/net/netdb.h: Include netinet/in.h for the in_addr use in
declarations.
2002-05-14 Jesper Skov <jskov@redhat.com>
* src/tftp_dummy_file.c: Fixed warnings.
* src/getaddrinfo.c: Fixed warnings.
2002-04-26 Gary Thomas <gthomas@redhat.com>
* cdl/net.cdl: Add option for making random IP packet IDs random.
2002-04-22 Gary Thomas <gthomas@redhat.com>
* src/ifaddrs.c: Reorg include files - remove warnings.
2002-04-17 Gary Thomas <gthomas@redhat.com>
* src/ipv6_routing_thread.c: New function - separate thread used to
send router soliciation messages periodically.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -