Re: changing the ToS in IP Header

From: Ashish Kulkarni (ashish_at_symonds.net)
Date: 05/27/03

  • Next message: Brooks Davis: "doing things around rc.d/diskless"
    Date: Wed, 28 May 2003 02:30:16 +0530 (IST)
    To: <freebsd-hackers@freebsd.org>
    
    

    Kenjiro Cho <kjc@csl.sony.co.jp> wrote:
    > Tell your ISP not to use 0x02; it violates the standard.
    > You may modify the upper 6 bits for an arbitrary value, though.

    Well, my cable ISP provides a 3rd party Windows-only client that enables
    forwarding of packets only when logged in. I've reverse engineering that
    protocol sucessfully, and it requires the TOS to be 0x02 ... I imagine
    this TOS is only valid uptil the gateway, after which a different TOS is
    used. Anyway, all this is unofficial so I can't really go to my ISP and
    mention it ;-)
    > The lower 2 bits of the (now deprecated) TOS field are officially
    > assigned to ECN (RFC3168). 0x02, ECT(0), is used to indicate that the
    > sender is ECN-capable.
    >
    > ALTQ supports diffserv and is capable of rewriting the upper 6 bits of
    > the TOS field.
    > http://www.csl.sony.co.jp/~kjc/software.html

    I have one question: as you said, I can use ALTQ to reset all the upper 6
    bits to zero, so as to get the pattern 0x02 (using the kernel patch by
    Terry Lambert). Will this have any implications for its working and for
    ECN? I need this because several protocols (ssh, etc) use a modified TOS,
    which I want to be reset to default value.

    Thanks,
    Ashish

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


  • Next message: Brooks Davis: "doing things around rc.d/diskless"

    Relevant Pages

    • Re: Open WiFi connections: Are you really stealing?
      ... Most ISP's have their TOS on line. ... ISP A was bought by ISP B in ... we reworded this to explain the exact law that applies if no more ... Spam is unauthorized use. ...
      (rec.outdoors.rv-travel)
    • trafficshaping for ISPs
      ... I'm admin for a small ISP (DSL and dialup), using RH Linux 9 on our ... I'm currently shaping all traffic by marking packets according to TOS ...
      (comp.os.linux.networking)
    • Re: How can we stop the flood of SWEN E-mail??
      ... also read my TOS and about 30 other ISP's TOS and ... in but in Sweden breaching the contract would be considered reason for ... If an ISP does not enforce their TOS then I would consider that ISP ... responsible for sending me virus-infected emails through their servers. ...
      (microsoft.public.security.virus)
    • Re: How can we stop the flood of SWEN E-mail??
      ... As you can see in another post I just made, if an ISP (RoadRunner, in the ... particular case) scans for viruses, yet does nothing about the subscriber's ... expense of getting the subscriber's machines clean & sober. ... also read my TOS and about 30 other ISP's TOS and ...
      (microsoft.public.security.virus)
    • Re: Toolbar
      ... I removed the app but on the tool bar in the upper right corner I have ... black background with a large white V and scrolling ticker tape. ... You have been yet another victim of ISP "branding" - most annoying! ...
      (microsoft.public.windows.inetexplorer.ie6.browser)