Cybersecurity

LogHane Features: Law 5651 Log Retention, Identity Resolution and Guest Wi-Fi

Marta Teknoloji•December 3, 2026•5 min read

Keeping logs is only the beginning

Turkish Law No. 5651 requires organisations that provide internet access to retain traffic records. A company, school, hotel or hospital offering internet to its staff or guests must keep these records for the required period. Yet when a prosecutor's request arrives, the real question is not whether the logs exist but two others: were the records altered afterwards, and who was using that IP address at that moment?

Answering those questions takes a sealed archive, a timestamp, records matched to identities and a package that can be handed to a court. We have covered the evidential side of 5651 log retention and cloud-based log retention in separate articles. Here we walk through every module of LogHane in turn.

What is LogHane?

LogHane is a Law 5651 log retention and evidence platform. It collects FortiGate logs, seals every hour into a cryptographic hash chain, timestamps the daily digest and keeps the records in object-locked storage for the full retention period. When a prosecutor or court asks, an evidence package with its own independent verifier is one click away. Identity resolution, guest Wi-Fi, traffic analysis, risk detection and reporting modules sit in the same panel.

What does it do?

Log collection and device management

  • Collects FortiGate logs over syslog, optionally over an encrypted channel; the device can prove its identity with its own certificate.
  • Recognises devices by serial number rather than IP address, so devices behind NAT never get mixed up. New devices wait for approval.
  • The panel generates the FortiGate syslog, filter and policy commands each device needs.
  • A read-only API connection pulls DHCP leases, WAN IP, model, FortiOS version and configuration backups.
  • Read-only DHCP agents for Windows Server and for ISC dhcpd and Kea DHCP servers; import of historical log files.

Law 5651 compliance and sealing

  • You choose the organisation's obligation profile (access, proxy, hosting or collective use provider); retention period, timestamp requirement and URL collection rule follow automatically.
  • Each hourly log segment is sealed and chained to the previous one; the daily digest receives an RFC 3161 compliant timestamp. For a qualified timestamp, an electronic certificate service provider such as Kamu SM can be configured.
  • If the timestamp server cannot be reached, the request is queued and an alert raised; it is never silently skipped.
  • The chain is verified regularly; a broken link and shadowing are reported separately.
  • The sealed archive is held in object lock mode, which not even an administrator can delete before retention ends; the lock is measured on each storage target by writing and reading it back.
  • Expired records are genuinely destroyed with all their parts and versions, and a destruction record can be downloaded.
  • WAN IP changes are tracked with a notification countdown. URL logging is off by default; enabling it requires a legal justification.

Evidence package and audit

  • Select a date range to produce an evidence package as a ZIP or as a disc-ready ISO image for CD/DVD.
  • The package contains plain-text logs, a log format description, archive files, timestamps, a verification report and a handover record template.
  • An independent verifier that runs without LogHane and without an internet connection; results are valid, valid with warnings or invalid.
  • Who queried what and when is kept in an audit trail with its own hash chain; there is also a screen for KVKK data subject requests.

Identity resolution and directory

  • "Who was using this IP at that moment?" is answered by combining NAT, DHCP, hotspot and Active Directory sessions.
  • Where CGNAT is used, entering the source port identifies the individual subscriber; if the match is not unique, LogHane says so.
  • Conflicting matches are flagged rather than hidden, and you can see how much of the traffic carries identity information.
  • Directory labels for servers, printers and cameras with static IPs; Active Directory directory sync.

Guest internet (hotspot)

  • A mobile-friendly captive portal with login by SMS code, Turkish ID number, passport number, room number and surname, or LDAP/AD account.
  • NetGSM, Verimor, İleti Merkezi and Vatan SMS are built in; a custom HTTP provider can also be added.
  • ID numbers are never stored in clear. A versioned KVKK privacy notice records which guest saw which version.
  • A built-in RADIUS server lets it work with access points such as Ubiquiti, Mikrotik and Aruba.

Log search and traffic analysis

  • A Log Explorer with auto-complete, a live log stream and CSV export.
  • User, web and application, VPN access, country, DNS and security analysis screens; every row drills down to "who accessed this".
  • Every view that shows personal data is written to the audit trail.

Risk, rule advisor and threat intelligence

  • Hourly deviation, lateral movement, persistently blocked sources, out-of-hours outbound traffic and crypto mining detection; each finding comes with its possible innocent explanation.
  • The rule advisor compares FortiGate permissions with real traffic and suggests tightening; a suggestion is applied to the device only after approval with separate write permission.
  • Fix-up commands can be downloaded for rules with logging disabled and for traffic accepted from outside.
  • Matching against open threat lists; the lists can be published to FortiGate as external resources.

Reports and alerts

  • Seven ready-made reports including Law 5651 Compliance, plus a report builder for your own; PDF, XLSX and CSV output with scheduled email delivery.
  • Ready-made alerts such as log flow interruption, queued timestamp, clock drift and WAN IP change; notification by email, webhook or syslog.

Administration and security

  • Multi-tenant design: each organisation's data is separate, and a new device's data is never written to any organisation automatically. Superadmin, organisation admin, analyst, auditor and viewer roles.
  • Two-step login with an authenticator app and single-use recovery codes.
  • Storage targets include IDrive e2, AWS S3, Azure Blob, Google Cloud, Wasabi, Backblaze B2, MinIO and Cloudflare R2; the locked archive is used on targets that support object lock.
  • Daily configuration backups; after a disaster, analysis data is rebuilt from the sealed archive. Turkish and English interface.

Who is it for?

  • Companies, schools and public bodies that provide internet to staff or guests
  • Guest Wi-Fi venues such as hotels, cafés, shopping centres and hospitals
  • Access, proxy and hosting providers
  • IT service providers that manage multi-site estates and their customers from a single panel

Deployment

LogHane can be used in two ways. In the cloud, it runs serverless on infrastructure operated by Marta Teknoloji; FortiGate connects over an encrypted channel using an organisation-specific certificate generated in the panel. On premises, it installs on a Debian or Ubuntu Linux server with a single installation script. The setup wizard walks through the password change, organisation name, obligation profile, first device and timestamp preference.

Conclusion

LogHane turns the Law 5651 obligation from an archiving problem into a process you can query and prove. See the product page for details, or download the product brochure. For a live walkthrough, visit the demo page or get in touch.

#LogHane#5651#log saklama#FortiGate#hotspot#kimlik çözümleme#delil paketi#KVKK

Want to learn more?

Contact us for information about our cybersecurity, software, and infrastructure services.

Contact Us→