FreeBSD Bugzilla – Attachment 11825 Details for
Bug 23123
IP options reveal IPstealth mode. Just turn them off.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 633 bytes, created by
PEEETER
on 2000-11-27 05:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
PEEETER
Created:
2000-11-27 05:50:00 UTC
Size:
633 bytes
patch
obsolete
>Index: ip_input.c >=================================================================== >RCS file: /usr/local/freebsd_repo/src/sys/netinet/ip_input.c,v >retrieving revision 1.149 >diff -u -r1.149 ip_input.c >--- ip_input.c 2000/11/25 07:35:33 1.149 >+++ ip_input.c 2000/11/27 05:37:52 >@@ -457,6 +457,12 @@ > * to be sent and the original packet to be freed). > */ > ip_nhops = 0; /* for source routed packets */ >+ >+#ifdef IPSTEALTH >+ /* IP Options reveal us so we don't process them in stealth mode */ >+ >+ if (! ipstealth) >+#endif > if (hlen > sizeof (struct ip) && ip_dooptions(m)) { > #ifdef IPFIREWALL_FORWARD > ip_fw_fwd_addr = NULL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23123
: 11825