Re: Deactivate TCP Hostcache?

From: Andre Oppermann (andre_at_freebsd.org)
Date: 08/20/05

  • Next message: Andre Oppermann: "Re: Deactivate TCP Hostcache? (2)"
    Date: Sat, 20 Aug 2005 19:29:57 +0200
    To: Christian Vogt <chvogt@tm.uka.de>
    
    

    Christian Vogt wrote:
    >
    > Hi everybody,
    >
    > is there a way to deactivate the TCP hostcache?
    >
    > I could modify the kernel, but probably there is a more convenient way
    > to do this.

    No, there is no other way.

    > The reason I want to deactivate the hostcache is because I am doing
    > experiments and later measurements should not be different than earlier
    > ones due to cached information.

    Comment out the tcp_hc_update() call on line 737 in netinet/tcp_subr.c
    and it won't cache metrics anymore. The discovered path MTU is still
    stored though.

    -- 
    Andre
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Andre Oppermann: "Re: Deactivate TCP Hostcache? (2)"

    Relevant Pages

    • Re: [PATCH 4/6] ftrace, x86: make kernel text writable only for conversions
      ... filter is then used to enable detailed function tracing for a short time ... there will be a small window where the kernel text will be writable. ... about the safest and easiest way to modify kernel text. ... I simply set a bit in the PTE mappings. ...
      (Linux-Kernel)
    • Re: Gutsy boot problem
      ... If it is a module problem, how can I figure out which one and then how can I either modify or prevent it from loading? ... Paul ... the default kernel boot option in Grub, ...
      (Ubuntu)
    • Grsecurity problem - modifying "read-only kernel"
      ... Grsecurity(and maybe other linux hardening patchs). ... This is done by activating the option "Read-only kernel" ... there is another way to modify the kernel using ... An example of kernel modification with grsecurity kmem read-only patch ...
      (Bugtraq)
    • Re: [ 01/10] [Suspend2] kernel/power/modules.h
      ... >> I'm more concerned about the security implications. ... > In vanilla kernel userland suspend has no security implications: ... > graphical progress bar could probably modify memory image on disk. ...
      (Linux-Kernel)
    • Re: How to use vxworks bootloader to load monta vista linux kernel image?
      ... > and load it on the board, or modify the VxWorks bootloader to read the ... I have successfully loaded linux kernels using an unmodified vxWorks ... decompress the kernel. ...
      (comp.os.linux.embedded)