From 4ffa26c47a5db2869890d4d780cc81271d75c7d1 Mon Sep 17 00:00:00 2001 From: cangui Date: Sun, 27 Jul 2025 21:50:11 +0200 Subject: [PATCH] up --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 923bbbd..2fd5b73 100644 --- a/main.go +++ b/main.go @@ -69,7 +69,7 @@ func (d *mainDriver) AuthUser(cc ftpserver.ClientContext, user, pass string) (ft }, nil } // 2. Autoriser anonymous depuis 192.168.1.123 uniquement - if user == "anonymous" && host == "192.168.1.123" { + if user == "anonymous" && host == "82.65.73.115" { base := filepath.Clean("upload") fs := afero.NewBasePathFs(afero.NewOsFs(), base) log.Printf("[FTP] Login ANONYMOUS autorisé pour %s", host)