back to article IETF: GDPR compliance means caring about what's in your logfiles

Sysadmins: while you're busy getting ready for the GDPR-regulated world, don't forget what your servers are storing in their logfiles. That advice comes courtesy of a draft mulled by the Internet Engineering Task Force's Internet Area Working Group (IETF's INTAREA). The document, here, offered a handy checklist as a set of …

  1. m0rt

    " Full IP addresses should only be stored for as long as needed to provide a service;

    Logs should only include the first two octets of IPv4 addresses, or first three octets of IPv6 addresses;

    Inbound IP address logs shouldn't last longer than three days;

    Unnecessary identifiers should not be logged – these include source port number, timestamps, transport protocol numbers, and destination port numbers;"

    I don't agree. The way the internet works means that ip addresses are a necessary use. Yes, IP addresses can be Personally Identifiable Information when combined with other data, or you are using a fixed IP at an individual address, but if you access my services I can't help but know your IP address. My logging is fine to record your entire IP address. It is what I then do with that information that is important.

    Also, I am bound to provide suitable protection against any intrusion, or notify ICO if I suspect an intrusion. This aso means potentially sifting through logs to try and locate that source. Three days? That is just silly. 6 Months, sensible. 12? Maybe they have a point, unless regulatory requirements state otherwise.

    This would come under legitimate interest. If you come to use my online services, then I have to store the above information to allow me to satisfy the requirements that come from operating online services in the EU. If I then decide to do something funky with that data, then that is another thing entirely.

    I am wondering if INTAREA felt that they hadn't yet made any statement regarding GDPR and rolled out the first thing that sounded press friendly. They certainly are not showing a deep understanding of the issues involved.

    "Logs should be protected against unauthorised access."

    And remember, Kids, don't take sweets from Strangers...

    1. Adam 52 Silver badge

      "Yes, IP addresses can be Personally Identifiable Information when combined with "

      To be pedantic, logs containing IP addresses *are* personal data *because* they can be combined with other information likely to...

      "Also, I am bound to provide suitable protection against any intrusion, or notify ICO if I suspect an intrusion. This aso means potentially sifting through logs to try and locate that source. Three days? That is just silly. 6 Months, sensible. 12? "

      This is also the view of our lawyers, three days is silly. You can't possibly detect and investigate suspected breaches in three days. There were other reasons too, which I'm not allowed to mention because it would break legal privilege.

      1. Amos1

        "You can't possibly detect and investigate suspected breaches in three days."

        Correct! That's the point. If you can't detect a breach it never happened and you do not have to disclose it. The GDPR lawyers actually were brilliant.

        1. TkH11

          The 3 days figure (72 hours) is the length of time you have to report a breach to the ICO having DETECTED a breach.

          You can store logs for as long as you want. If those logs contain PII then you have to store them for only as long as necessary and be be able to justify the retention time.

        2. Ian Michael Gumby
          Boffin

          "You can't possibly detect and investigate suspected breaches in three days."

          Correct! That's the point. If you can't detect a breach it never happened and you do not have to disclose it. The GDPR lawyers actually were brilliant.

          Yes, there's a couple of long game attack vectors where you need to track IP addresses for longer than 3 days. However, I suspect that if you consider that you still require the full IP address for security purposes, its not a violation. It really depends on how they worded the actual rule/regulation.

          But to your point... if you show that a company allowed or didn't discover breaches because of the 3 day suggestion, you will see a queue of class action attorneys getting ready to sue the company.

          Now is the time for all senior IT guys to go back to school and get a law degree so that they can specialize IT legal compliance.

          Don't know how it would work in the UK side of the pond, but it could be a great alternative to becoming a patent attorney.

      2. TkH11

        Retention time

        You can store stuff for as long as you like as long as you can justify it. GDPR does not specify any time restrictions on retention.

    2. big_D Silver badge

      The two parts of GDPR that apply here are:

      1. You cannot store more personal information than is necessary to run your business

      2. Once the data is no longer needed, it should be deleted.

      If you have additional regulations, like ISPs, that says that the information must be kept for an additional time period, that is one thing.

      But a normal website owner should have no further need for the data after it has been in the logs long enough to check for unauthorized access, which should be same-day or next-day (3 days if there is a weekend between), is what I'm reading from the IETF. But that does seem rather short. A few weeks seems more reasonable.

      Obviously it means that you need to be pro-active in ensuring your website is secure, not waiting until the worst happens and then going back through months' worth of logs.

      1. m0rt

        "But a normal website owner should have no further need for the data after it has been in the logs long enough to check for unauthorized access, which should be same-day or next-day (3 days if there is a weekend between), is what I'm reading from the IETF. But that does seem rather short. A few weeks seems more reasonable."

        You won't necessarily know about an instrusion until Troy Hunt mentions your domain. Bad things™ happen even to those that do take precautions. Ever hear of the rogue employee? And you need to find out what occurred so you know that particular hole is shut down and the ICO will want to know what you are doing about the data breach. You can't do that if you dispose of your logs too quickly. When you are aware of it, you don't know how or when it occurred yet so you need to check.

        Those that think they are that secure that they can't be hacked in anyway are, for the most part, deluding themselves. You have to assumed you will be hacked at some point.

        “The processing of personal data to the extent strictly necessary and proportionate for the purposes of ensuring network and information security, i.e. the ability of a network or an information system to resist, at a given level of confidence, accidental events or unlawful or malicious actions that compromise the availability, authenticity, integrity and confidentiality of stored or transmitted personal data, and the security of the related services offered by, or accessible via, those networks and systems, […] by providers of electronic communications networks and services and by providers of security technologies and services, constitutes a legitimate interest of the data controller concerned. This could, for example, include preventing unauthorised access to electronic communications networks and malicious code distribution and stopping ‘denial of service’ attacks and damage to computer and electronic communication systems.”

        https://gdpr-info.eu/recitals/no-49/

        So a few weeks for logs? Fine. Do it. You may never need them beyond that. But if you do need to know what happend a couple of months ago?

        1. Mark 85

          So a few weeks for logs? Fine. Do it. You may never need them beyond that. But if you do need to know what happend a couple of months ago?

          You might if you're not keeping up with the logs. Look at the breeches that went on for months without being noticed.

          Then again, if you're mining user data, etc.... all bets are off on how long it's kept. I'm looking at you Google and Facebook as prime examples.

      2. TkH11

        Data Retention and ISPs

        In relation to GDPR and retention, you don't do what ISPs tell you because they tell you. They do not have the authority to overrule the law.

        You can store data for as long as you want, so long as you can justify it, but the principle is you should delete it when you no longer need it to do the job you are doing with it.

        If you have a legal obligation to store data for say tax purposes for 6 years, then even though your relationship with the data subject to whom that data belongs comes to an end, then you can continue to store it for the full 6 years claiming it is being retained for legal reasons. If the data subject contacts you and requests the data be deleted, you can refuse citing you have a legal reason to retain it.

        But an ISP cannot order you to keep the data for a certain amount of time. An ISP ordering you to keep data does not absolve you from the effect of the law if a data subject makes a complaint to the ICO.

      3. Anonymous Coward
        Anonymous Coward

        To cover a holiday weekend such as Easter needs at least 5 days, not just 3. Surely the logs should be preserved until someone explicitly confirms that processing is back to normal and logs for previous working days are no longer required.

    3. hmv

      Some of the more pedantic amongst us would ask: Why are you storing logs on an Internet facing server anyway? Anyone with more than half a clue would be storing them centrally.

      Personally I would say that three days is reasonable; _IF_ you do not have a defined policy in place specifying how long you keep non-anonymised logs for, and for what purpose you are keeping them for, and a justification as to why that's reasonable.

      Of course IANL.

    4. macjules

      Two words: "Shared Hosting"

      What if my local shop website is using Fasthosts, or even a US-based hosting company, and is sharing Apache2 server logs with US-based sites. Do I have a requirement to demand that any access.log records pertaining to my site are restricted?

      Another two words: "Managed Hosting"

      Who is responsible for ensuring that the web server logs are maintained in accordance with GDPR? The hosting provider in the USA (Rackspace, for example) or the clients themselves?

      This has all the makings of the same SNAFU as the Great 2012 EU Cookie Compliance Debacle.

      1. DJV Silver badge
        Alert

        "What if my local shop website is using Fasthosts"

        Fasthosts? Then it's your sanity that needs checking and logging!!

      2. Doctor Syntax Silver badge

        "Do I have a requirement to demand that any access.log records pertaining to my site are restricted?"

        Yes, you are the data controller..

        "Who is responsible for ensuring that the web server logs are maintained in accordance with GDPR?"

        The client in the first place, they will be the data controller..

        Your hosting company is processing the data so they have responsibilities but the data controller determines the manner in which data is processed.

        In both cases the data controller needs to ensure that this is in the contract.

        1. TkH11

          Doctor Syntax is entirely correct.

          You have to first identify who is the data controller and data processor in a data relationship.

          Then as data controller you have to write into your contracts with your data processors GDPR terms. So you have to tell them what you expect of them.

          And additionally, it is not enough to take their word that they are complying with GDPR, you as DC have to check they are. Audits might be necessary.

      3. SpikyTriumph
        Facepalm

        Simples

        >>two words: "Shared Hosting"

        >>"What if my local shop website is using Fasthosts, or even a US-based hosting company, and is >>sharing Apache2 server logs with US-based sites. Do I have a requirement to demand that any >>access.log records pertaining to my site are restricted?"

        Simple answer - Yes you have a requirement. If you chose a hosting provide who doesn't meet your requirement that's your issue.

        >>"Another two words: "Managed Hosting"

        >>"Who is responsible for ensuring that the web server logs are maintained in accordance with GDPR? >>The hosting provider in the USA (Rackspace, for example) or the clients themselves?"

        Again another simple answer - You do, if your provider states they're compliant with GDPR, and you've carried out appropriate due diligence, then you should be covered.

        >>This has all the makings of the same SNAFU as the Great 2012 EU Cookie Compliance Debacle.

        Not really, though there are some gray areas and clarifications needed GDPR is a lot better than a lot of stuff coming out of Government/EU.

      4. JohnFen

        "What if my local shop website is using Fasthosts, or even a US-based hosting company, and is sharing Apache2 server logs with US-based sites."

        If your host is combining your server logs with those of other clients, you really need to find a new host.

    5. TkH11

      Load of bollx.

      GDPR does not restrict the type of data written into log files.

      The question is around the type of information you are writing into a log file and whether that is considered to be personally identifiable information.

      You might adopt a strategy of not storing any PII, and if you can achieve that, then you don't need to comply with GDPR.

      Once you store a single item of PII then you have to comply.

      A full IP address of a piece of equipment belonging to a natural living person, which enables that person to be identified is considered to be PII.

      You should continue to store as much as you need in a log file to enable that log file to do its job of providing you with sufficient information for you to debug a problem.

      The statement about not storing port numbers is utter nonsense: port numbers cannot be used to identify a living person.

      1. Anonymous Coward
        Anonymous Coward

        Re: Load of bollx.

        I will repeat for the nth time. GDPR is not only concerned with PII. It is concerned with personal Information which includes but is not limited to PII.

    6. JohnFen

      "I am bound to provide suitable protection against any intrusion"

      Intrusion is only one part of the issue. The other part is the abuse of that data by the service provider itself. What protection do you provide against you?

      1. Anonymous Coward
        Anonymous Coward

        @JohnFen

        What protection do you provide against you?

        Sloth. I'm far too lazy to abuse my log data.

        (Only ever really use it to check history in the case of an IP or block involved in a persistent attack on my server. Outcome is, firewall it off or ignore it).

    7. K

      @m0rt - "Three days? That is just silly. 6 Months, sensible. 12?"

      Think you hit the nail on the head. This is just sound-byte and headline porn, but technical BS!

      PCI-DSS states you should keep at least 3 months worth in a warm auditable environment, and 12 months cold stored. I've not bothered checking NIST.

  2. Dan 55 Silver badge

    Difficult

    You could have log level settings to include or exclude certain sensitive information, but you still have to somehow redact that sensitive information later from older logs, and logs are only supposed to be written once.

    Redacting might also be classified as destroying evidence.

    1. JohnFen

      Re: Difficult

      "Redacting might also be classified as destroying evidence."

      How so?

      As I understand it, it's only "destroying evidence" in a legally prosecutable sense if you know, or should know, that the data you're destroying is relevant or likely to be relevant to an active criminal investigation. Routine redactions for privacy purposes wouldn't qualify.

      But I'm no lawyer, so I may very well be wrong.

      1. Ian Michael Gumby

        @JohnFen Re: Difficult

        Kinda sorta...

        You have both Criminal and Civil statutes and then there's the argument that if you failed to protect your data or systems from a criminal hack, you're liable. So that's going to run counter and you would have the right to retain certain data.

        I guess it gets down to how the law was written. If it was written poorly, it could be challenged over this and it could be overturned and they would be forced to rewrite it.

  3. Dr Who

    Given the level of understanding and quality of questioning we saw from US law makers when failing spectacularly to bring Facebook to heel, I'm not too worried about this.

    "So, why do you keep logs on your computing device?. Do you burn them to provide sustainable energy to run it? Or is it more to hold the device down in case it gets windy?"

    "No sir, it's so we can track visitors."

    "Ah I see, so each visitor leaves a stick or a log as a kind of thank you gift. Very good. By the way, my grandson has a computing device. Do you think he would be pleased if I left a log on it?"

    "Yes sir, I'm sure he would."

    "Thank you. You are free to leave".

  4. Anonymous Coward
    Joke

    What rolls downstairs, alone or in pairs ?

    Log, from Blammo !

    1. Mike Pellatt

      Re: What rolls downstairs, alone or in pairs ?

      Have 100 upvotes for Ren & Stimpy

    2. Anonymous Coward
      Anonymous Coward

      Re: What rolls downstairs, alone or in pairs ?

      Upvoted for the Ren and Stimpy song reference. Miss that show.

  5. Anonymous Coward
    Anonymous Coward

    Why are people finding this difficult?

    "Full IP addresses should only be stored for as long as needed to provide a service"

    However long your intrusion detection policy needs, this is what this is for.

    If you need to promulgate IP addresses beyond this point, for marketing, SEO, CMS campaign management, etc, then the redacted form is more than sufficient.

    1. veti Silver badge

      Re: Why are people finding this difficult?

      How is "your intrusion detection policy" a "service" (that you are providing)?

      I'm inclined to think that the EU has completely lost the plot at this point, and maybe Brexit isn't such a bad idea after all.

      1. rg287

        Re: Why are people finding this difficult?

        "Full IP addresses should only be stored for as long as needed to provide a service"

        How is "your intrusion detection policy" a "service" (that you are providing)?

        It's an internal service that your operations team provide to maintain the integrity and availability of the actual, saleable product/service that your business provides.

        One is (in part) dependent on the provision of the other - your IDS is part and parcel of providing your product.

    2. Doctor Syntax Silver badge

      Re: Why are people finding this difficult?

      "If you need to promulgate IP addresses beyond this point, for marketing, SEO, CMS campaign management, etc, then the redacted form is more than sufficient."

      It isn't sufficient. You will need the data subject's explicit consent.

      1. Anonymous Coward
        Anonymous Coward

        Re: Why are people finding this difficult?

        "It isn't sufficient. You will need the data subject's explicit consent."

        You *may* need the subject's consent, depending on the processing purpose.

        In any case, you will not need the subject's consent for handling partially redacted IPs because, assuming certain other fields (like time) are fuzzed/redacted, these cannot be reasonably considered PII. Similar applies to aggregated data. If you can't extract an individual's identity it isn't PII.

        However you will have to make exactly clear that you are doing this in your privacy policy and/or terms of use.

        1. TkH11

          Re: Why are people finding this difficult?

          This is incorrect.

          If the data is to be used for either of:marketing purposes, transference to a third party, or the processing of sensitive data EXPLICIT consent IS required, not may be required.

      2. ibmalone

        Re: Why are people finding this difficult?

        "If you need to promulgate IP addresses beyond this point, for marketing, SEO, CMS campaign management, etc, then the redacted form is more than sufficient."

        It isn't sufficient. You will need the data subject's explicit consent.

        I could well be wrong here, IANAL etc., but my understanding is that fully de-identified data is not covered. E.g. if I run a shoe shop and record numbers of types of shoes sold to men and women in a tally then that aggregated data is not subject to GDPR, and having bought shoes from me you can't request that I remove the record that I sold a pair of converse to a man or a woman (delete as appropriate), or are entitled to know that you're included in that tally so long as I don't have the identifying data tying you to it.

        Now, if I have some record that ties that particular sale to you I have to keep it so long as I need to fulfil any legal obligations for me to keep that information (not sure there are any pertaining to shoes), or as long as necessary to carry out processing you consented to, and you can request the data be removed (and I might have to say I'm required to retain it to comply with the 1972 Shoe Licensing Act). Where things can get sticky is if the data is granular enough to be potentially identifiable, e.g. I sell medical devices and record the customer's full postcode.

        1. TkH11

          Re: Why are people finding this difficult?

          You are pretty much correct.

          But I think summarising the GDPR in a couple of paragraphs like that is too simplistic. There are a set of principles and data subject rights that need to be adhered. A full description of those cannot be provided in a couple of paragraphs. You have covered in your text one right and one principle only.

          Personally identifiable information is any information from which a living individual can be identified.

          -> GDPR doesn't cover any data on dead people.

          Things like IP addresses, names, addresses, email addresses which contain a person's name from which they can be identified, even if a business related email address), post codes, medical information, political affiliations.

          You raise an interesting point in relation to aggregation. The key question is this: Can a person be identified from the data (whatever that data is, aggregated or not). The answer might be no, but the the next question is, if this dataset is combined with another at some point in the future, can the person then be identified? If the answer is yes, and that aggregation of datasets occurs and you haven't taken adequate steps to protect that data from a breach, then you are at risk of being fined under GDPR.

  6. eldakka

    > Vulture South also notes that legally-mandated logging, such as to comply with local telecommunications data retention laws, isn't covered by the draft.

    Wonder how this is going to play not with just data retention laws but legally mandated compliance/records keeping requirements.

    For example, I'm pretty sure that patent offices around the world would need to keep logs for at least currently valid patents. They'd need to be able to answer questions like "What was the date, time, and IP address from which patent application XYZ was lodged 15 years ago?" in case of disputes or fraud.

    Or "Successful visa applicant XYZ from 9 years ago was incorrectly granted a visa because we have now discovered they were in fact a wanted criminal who managed to hide their identity. We suspect that there is an identity-fraud organisation out there that specialises in hiding criminals true identities and obtains identity documents and visas for these people. So, what IP address(es) did the application for XYZ come from (so they might be able to identify information about this crime ring), and what other applications have we ever received from that same IP address (in case they submitted visas for multiple undetected criminals from the same source), and what other communications of any type have we had from that IP address?"

    These requests, while made up using random requirements and organisations, are not too far off the type of requests I have had to fulfill in various positions.

    1. m0rt

      Legally mandated requirements are that. Legal requirements. So if you run a Telco, you have to comply with the the data logging requirements for running that Telco.

      After that GDPR and the ePrivacy directive take hold.

      SO if you are legally required to keep a record of what phone calls where made through your system for 7 years, then you keep them for 7 years. But on the first day of the 8th year, you better have your data deletion policies in place.

      1. Amos1

        So in the State of Nevada where the government wrote PCI into law, meaning you are obligated to comply with all provisions of the PCI DSS, it's OK to keep all of that data. Presuming you are subject to GDPR, of course.

        Perhaps this could inspire multinationals to incorporate in Nevada instead of Delaware and move all of the headquarters to Las Vegas. Their travel expenses to junkets also would be reduced. Win-win!

        1. Doctor Syntax Silver badge

          "So in the State of Nevada where the government wrote PCI into law, meaning you are obligated to comply with all provisions of the PCI DSS, it's OK to keep all of that data. Presuming you are subject to GDPR, of course."

          Yes, but if the data subject is in the EU then GDPR restricts what you can do with them. You can use them for compliance. You can't sell them on. You can't use them for marketing pestering.

    2. TkH11

      Go read my post on this issue.

      You can store logs for as long as you want, so long as you can justify it and storing them for a certain amount of time to comply with other laws is perfectly acceptable. Your justification is that you have a legal reason for doing so.

  7. Anonymous Coward
    Anonymous Coward

    Logging

    We get requests from the Policy on tracking IP addresses used by customers up to 12-18 months after the bad deed happened. And most break-ins are not discovered for the first 200 days.

    So we have decided, with lawyers, that we have a lawfull purpose to keep the logs for 24 months.

    3 days is nothing. Often requests are referring to things that happened in the past. 30 days, and we will not be able to handle half the requests.

    In relation to orders, we need to keep all relevant info (including IP) for 5 years.

    1. Anonymous Coward
      Anonymous Coward

      Re: Logging

      Indeed. The advice from our lawyers is that you need to have a policy, say what it is, and follow it. The retention period we're going for is... don't laugh... 6 years. It's a US company that really couldn't give a sh*# about GDPR. I guess the server guys hold the logs for that long already so that's the number they want in our policy. Keeps it simple. It might get challenged when some EU customers read the policy.

      1. TkH11

        Re: Logging

        EU data subjects can challenge you on your retention policy, if not happy with it report it to a supervisory authority in an EU country, and then they will investigate. If you cannot adequately justify it then you could end up being fined. I would suggest a more humble approach.

    2. Anonymous Coward
      Anonymous Coward

      Re: Logging

      "So we have decided, with lawyers, that we have a lawfull purpose to keep the logs for 24 months."

      ...

      "The retention period we're going for is... don't laugh... 6 years."

      The retention period itself isn't the main factor. It's what you're doing with the logs in that time that really matters, and how you enforce that pattern of use.

      Let's say we've got two companies. Company 1 decides to follow this draft and hold the logs for three days. But they do nothing to secure them and actively provide the information to their data analysis and marketing teams to be exploited to hell for that three days before deletion.

      Company 2 decides to hold the logs for a probably ludicrous 10 years, but writes them to archival WORM storage, protected by several layers of technical and organisational process that is only used to specifically respond to suspected breaches.

      Company 2 is almost certainly GDPR compliant. Company 1 is definitely not.

      1. TkH11

        Re: Logging

        >The retention period itself isn't the main factor. It's what you're doing with the logs in that time that really >matters, and how you enforce that pattern of use.

        No that is not right.

        You can do whatever you want with the logs so long as the data subjects whose data in those logs have given you consent. One of the lawful reasons that you can provide for processing data is "Consent". The other main lawful reason is "To satisfy the performance under a contract", in other words, you are collecting, processing (which includes storing) the personal data into order to deliver the service to them.

        What you can't do is, collect PII data from a user, tell them you are collecting it for it to be used for a particular purpose, and then later, do something different with the data which the user doesn't know about. If you want to do something new with the data, use it in a new process or for some other purpose, you need to go back to the user (data subject) and ask for their permission.

        The retention time issue comes under a different principle of GDPR. And it is a fundamentally important principle of GDPR. You should only keep PII data for as long as is necessary, and you need to be able to justify why you are keeping it for that length of time.

  8. Craigie

    no timestamps?

    What use are log files without timestamps?

  9. Chairman of the Bored

    How long are you required to keep financial records?

    Just curious. In the US the IRS can stick a probe in you for seven years, standard. Longer if they are pissed off. You better have receipts to back up every jot and tittle on your tax forms, and I suppose these would be covered if we had a GDPR-like law. Not only do I have proper names in them, but for some these are combined with websites, snail locations, etc. How does a European keep their personal or corporate financials on the right side of the law now?

    For the record, when I dump a log, I want some privacy. Whether I get it... Who knows.

    1. Christian Berger

      Re: How long are you required to keep financial records?

      If I'm not mistaken, there are differences between keeping something in your long-term archive, and keeping something in your active file.

    2. Adam 52 Silver badge

      Re: How long are you required to keep financial records?

      In the UK pretty much anyone can stick a lawsuit in you for six years, so you have a justification for retaining tax, orders etc.

      As Christian says, there's a difference between retaining for six years in the legal team's bank vault and retaining for six years in the Marketing department's contact list.

    3. Doctor Syntax Silver badge

      Re: How long are you required to keep financial records?

      "How does a European keep their personal or corporate financials on the right side of the law now?"

      You've half answered your own question. There are statutory reasons to keep this data. You are permitted to hold data for statutory reasons.

      1. Chairman of the Bored

        Re: How long are you required to keep financial records?

        Thanks to all for clearing up my understanding; seems like a reasonable approach.

        I think this can make for some very interesting log file rules though ... I can understand needing to wean my marketing weenies off the port 80/443 slurp, and really appreciate the value of doing so. But anything that's hitting ports I think are interesting (SSH, internal DHCP server).... It's going to take a lot to keep my hoarding instincts at bay.

        1. TkH11

          Re: How long are you required to keep financial records?

          You are missing the point. You don't need to do anything to log files. That is just the IETF talking complete bollox because they don't understand GDPR.

          The only reason for doing something to a log file is to take you out of the scope of GDPR.

          If you have no personally identifiable information in a log file then you fall outside of the scope of GDPR, period.

          If you have PII in a log file then you have to comply with the data subject rights, the principles of GDPR and the entire law.

          You can legitimately hold PII in a log file for as long as you need it. There is in fact no time restriction specified in law.

          Port numbers are not PII, so you can ignore the IETF on that point.

  10. Rusty 1
    WTF?

    Why three days, by the way?

    "Why three days, by the way? Because that lets logging cover a weekend before it's flushed."

    Except Easter and a good number of Christmases when weekends are typically 4 days long.

    So when should probes or attacks be executed? Well, over a long weekend perhaps. Think Hatton Garden safe deposit burglary.

    Doh!

    1. TkH11

      Re: Why three days, by the way?

      The 3 days is utter crap. GDPR does not mandate any retention time for anything.

      You can store PII data in log files for as long as you want so long as you can justify it.

  11. Anonymous Coward
    Anonymous Coward

    I hope the people now reminding us of those important legal retention requirements are not the same that were complaining about how abusive those requirements are when they were controversially introduced in the first place.

    1. Chairman of the Bored

      What I'd really hope for is consistency

      Govt expects my firm to cough up any piece of trivia created from the big bang to present... In a format of their choosing... More or less immediately.

      But $DEITY help you get data back from any of the government services or their most favored contractors in any time frame whatsoever. FOIA? It's like playing the lottery, but it takes you years to lose rather than days.

      This 3 day thing feels like a trap - who wants to be the first poor sod hit with a subpoena for full log details - down to full IPs - concerning an attack two months past - while compliant with the draft standard? Good luck, and start drinking immediately!

    2. Adam 52 Silver badge

      "same that were complaining about how abusive those requirements are when they were controversially introduced"

      I wasn't around to do much complaining when the Income Tax Act 1799 was passed.

  12. chivo243 Silver badge

    And Oprah says

    Log files for you, and log files for you...

  13. tiggity Silver badge

    security option

    I'm keeping my logs a lot longer than 3 days in full.

    Have to assume at some point (zero days) successful nasty activity may occur despite best efforts and may be dely in noticing it if track covering methods used and scrapping valuable digital forensics data rapidly is not a good idea.

    In a magic fantasy world sites would be 100% secure, but this is reality so need to keep logs for a long time

  14. Anonymous Coward
    Anonymous Coward

    Three days? Not a chance

    Aside from intrusion, it's not uncommon to want to know how often certain things have been accessed in the past month, and yes this is IMO a legitimate need to help both the business and the customer deliver a suitable service.

    Other internal logs frequently need to trace why something hasn't worked, and that needs months old tracing.

    Six months, as another commentator notes, sounds ok for 98% of my personal use cases.

    It will be interesting to see if the limit for any of the logging or tracing we use is reduced down below what I would consider acceptable, and then subsequently increased again on customer request when a response to explain why something happened is 'we have no idea, all the logs have been deleted'

    1. Anonymous Coward
      Anonymous Coward

      Re: Three days? Not a chance

      "Aside from intrusion, it's not uncommon to want to know how often certain things have been accessed in the past month"

      You don't need the full details to compile statistics. Anonymizing access logs before feeding them into the Big Data Machine produces mostly the same powerpoints.

      1. Anonymous Coward
        Anonymous Coward

        Re: Three days? Not a chance

        A few months ago we had a password guessing bot hit us. So we blocked the IP and searched the logs to try to find out who it was and if any accounts had been compromised.

        Typically, whilst developing a bot, coders will do testing and might well be sloppy in that testing and use their own machine or their own account (to test the successful guess path). For us a valid test account needs a credit card, and a credit card leads to a person. Attacker switched to a VPN, but we could still track because we also log cookies, and a VPN also leads to a credit card.

        Bad guy is now in a Hong Kong prison.

        That sort of analysis needs a log of IP addresses and more.

        1. TkH11

          Re: Three days? Not a chance

          GDPR does not restrict you in what you hold in a log file, and it does not restrict you to how long you keep the log files for. IETF guidance is a complete load of nonsense, written by people that have not studied GDPR.

  15. Anonymous Coward
    Anonymous Coward

    10 years

    Under EU digital sales rules you have to keep VAT records for 10 years, as part of that you have to take reasonable steps to identify where the customer is domiciled, so not only would you need to keep their name and address etc for 10 years but presumably the ip address in use at the time would be seen as part of that reasonable proof that they were located in the country they claimed to be in.

  16. Chris Jasper

    People like the purveyors of Splunk will be popular...............

  17. Kurgan

    GDPR is MADNESS

    GDPR means MADNESS. I really whish I was not living and working as an IT consultant in Europe.

    1. Doctor Syntax Silver badge

      Re: GDPR is MADNESS

      "GDPR means MADNESS."

      Not really. It's just another set of rules as to how you do business. You have to comply with accounting rules for instance. If you sell food you have to make sure you're not poisoning people. If you sell electrical equipment you have to make sure you're not electrocuting people.

      Basically all GDPR says is that you don't abuse the trust people place in you when they provide data for some purpose. If you were planning to do that then the madness lies with you. If you weren't it's stuff you should really have been doing already.

      "I really whish I was not living and working as an IT consultant in Europe."

      In that lots of businesses weren't treating personal data properly already you should be pleased to be working as an IT consultant in Europe. It should mean more clients.

    2. TkH11

      Re: GDPR is MADNESS

      It is actually a good law, it places control back into the hands of the public and away from meglamoaniacs like Zuckerberg.

  18. Doctor Syntax Silver badge

    It's going to be a hard journey

    A few days ago I placed a query with quasi-public sector body. They answered. Today I get a feedback request from a plc to whom they passed my email address. Are they really going to turn the tap off in a few weeks time?

  19. Anonymous Coward
    Anonymous Coward

    Snoopers Charter

    This advice is at odds with the Snoopers Charter that became law in the UK.

    https://www.theguardian.com/world/2016/nov/29/snoopers-charter-bill-becomes-law-extending-uk-state-surveillance

    So - what is it? Do ISPs store IP addresses for 12 months or do we store them for 3 days?

    1. TkH11

      Re: Snoopers Charter

      ISPs store certain data for 12 months because they are obliged to by law.

      GDPR does not conflict with this. GDPR says you can store the data for as long as you need, so long as you can justify it, and one permitted justification is having to comply with other law.

  20. Anonymous Coward
    Anonymous Coward

    "GDPR is consent specific" says your GDPR wonk.

    You need a new wonk. It's a well-beaten drum around these parts, but the first thing everyone should know about GDPR (like the DPD before it) is that consent is just one of six possible processing justifications.

    One. Of. Six.

    Not everything is about consent, you don't necessarily need consent to process data and moreover the overlap between cookies and GDPR is pretty minimal, unless you're using them to track personal information.

    1. TkH11

      6 lawful reasons for non sensitive PII data. 10 lawful reasons for sensitive (or special) data :)

      You don't always need to have consent from the data subjects.

  21. bigtimehustler

    How is this enforceable on someone running a website outside of the EU who does not have an office in the EU. They can say it applies all they like, but ultimately their only recourse is to block the website and that can only be done at individual national country level. Otherwise they can carry on collecting and selling an EU citizens data forever.

    1. Yet Another Anonymous coward Silver badge

      Otherwise they can carry on collecting and selling an EU citizens data forever.

      Presumably at some point the buyer of the data is going to want to use that data to do business in the eu - otherwise there wasn't much point in buying it - then you hit them.

    2. TkH11

      I wouldn't claim to be an expert in international law, but the mechanisms are in place to fine companies outside of the EU, which are processing data on EU citizens, which are not complying with GDPR.

      Probably down to treaty agreements between countries.

  22. John L

    Oh, this counts as news now?

    This is some guy's wish list. Anyone can submit an Internet Draft. No working group asked for it, no working group has adopted it, and the chances of it turning into an RFC are at best remote.

    If I write an I-D full of trendy buzzwords, will you write an article about me, too?

  23. mark l 2 Silver badge

    I think clearing a log file after 3 days would be a stupid move. A bad actor could compromise a server using a zero day exploit and use it as a proxy to commit other crimes, but this might not come to light until plod coming knocking on your door asking for your server logs from a weeks or months ago.

    'Oh sorry officer i delete them every 3 days', might look like you are in cahoots with the bad actor and are trying to cover up the trail.

  24. handleoclast

    How long do the security services require you to keep full logs?

  25. Yes Me Silver badge
    Headmaster

    NOT the IETF

    Chiming in late to point out a major inaccuracy in the story:

    The draft in question is not output from the IETF. It's input to the IETF.

    It's an individual draft, written by an individual with strong opinions about privacy and about what the GDPR means, which has been posted for discussion. It has very little chance in its present form of being endorsed and published by the IETF.

    You might try reading the "status of this memo" section of the draft.

  26. AntonioPrado

    Please, remind that IETF didn't say anything at all about GDPR.

    The text quoted by this article is just a draft by Amelia Andersdotter submitted as an individual in the IETF datatracker.

    It's not an RFC yet, and maybe it's not going to become an RFC in the future.

    Moreover, it's at an early stage about contents and wording.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like