[ECOS] Patch redboot icmp, ping, tcp, suggestion

Hendrik Ruijter hendrik.ruijter@axis.com
Thu Jun 6 07:18:00 GMT 2002


In icmp.c it was impossible to intercept
ICMP Echo Requests. Changed the handler
registration to allow intercept.
In ping.c any ICMP segment was considered
to be an ICMP Echo Reply in the handler
registered. Changed it to count only
ICMP Echo Reply.
Added the possibility to send an RST flag
in TCP in order to abort a connection.


2002-06-06  Hendrik Ruijter  <Hendrik.Ruijter@axis.com>

	* include/net/net.h: Add __tcp_abort prototype.

	* src/net/icmp.c: The default handler can be replaced by a
	user defined handler which handles all ICMP segments.

	* src/net/ping.c
	(handle_icmp): Only ICMP Echo Reply segments must be counted and
	ICMP Echo Requests are handled in the user defined handler.

	* src/net/tcp.c
	(do_abort, __tcp_abort): Send an RST flag in order to abort a
	connection. May use a delay to send the flag.

Brgrds,
Hendrik Ruijter


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecos.patch
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020606/0271b0c9/attachment.ksh>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


More information about the Ecos-discuss mailing list