projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd261a8
)
Logging ip requesting unknown infoHash
author
John Livingston
<git@john-livingston.fr>
Fri, 12 Jun 2020 09:04:52 +0000
(11:04 +0200)
committer
Chocobozzz
<chocobozzz@cpy.re>
Mon, 15 Jun 2020 13:43:11 +0000
(15:43 +0200)
server/controllers/tracker.ts
patch
|
blob
|
history
diff --git
a/server/controllers/tracker.ts
b/server/controllers/tracker.ts
index 4f756fc0a3e4a5e4193b49ea0d04739d9109a59c..cacff36ecb82a6e7e870f9705642f6b0293212bc 100644
(file)
--- a/
server/controllers/tracker.ts
+++ b/
server/controllers/tracker.ts
@@
-53,7
+53,7
@@
const trackerServer = new TrackerServer({
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)
if (playlistExists === true) return cb()
- return cb(new Error(`Unknown infoHash ${infoHash}`))
+ return cb(new Error(`Unknown infoHash ${infoHash}
requested by ip ${ip}
`))
} catch (err) {
logger.error('Error in tracker filter.', { err })
return cb(err)