1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4016
+user: App\Entity\User {#3964 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "[olegkutkov.me/…/monitoring-linux-networking-state…](https://olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1704447615 {#4025
date: 2024-01-05 10:40:15.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4014 …}
+nested: Doctrine\ORM\PersistentCollection {#4012 …}
+votes: Doctrine\ORM\PersistentCollection {#4010 …}
+reports: Doctrine\ORM\PersistentCollection {#4008 …}
+favourites: Doctrine\ORM\PersistentCollection {#3976 …}
+notifications: Doctrine\ORM\PersistentCollection {#3980 …}
-id: 282113
-bodyTs: "'/2018/02/14/monitoring-linux-networking-state-using-netlink/)':5 '/monitoring-linux-networking-state':2 'olegkutkov.me':1,4 'olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7097920"
+editedAt: null
+createdAt: DateTimeImmutable @1704447615 {#3961
date: 2024-01-05 10:40:15.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4016
+user: App\Entity\User {#3964 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "[olegkutkov.me/…/monitoring-linux-networking-state…](https://olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1704447615 {#4025
date: 2024-01-05 10:40:15.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4014 …}
+nested: Doctrine\ORM\PersistentCollection {#4012 …}
+votes: Doctrine\ORM\PersistentCollection {#4010 …}
+reports: Doctrine\ORM\PersistentCollection {#4008 …}
+favourites: Doctrine\ORM\PersistentCollection {#3976 …}
+notifications: Doctrine\ORM\PersistentCollection {#3980 …}
-id: 282113
-bodyTs: "'/2018/02/14/monitoring-linux-networking-state-using-netlink/)':5 '/monitoring-linux-networking-state':2 'olegkutkov.me':1,4 'olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7097920"
+editedAt: null
+createdAt: DateTimeImmutable @1704447615 {#3961
date: 2024-01-05 10:40:15.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4016
+user: App\Entity\User {#3964 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "[olegkutkov.me/…/monitoring-linux-networking-state…](https://olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1704447615 {#4025
date: 2024-01-05 10:40:15.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4014 …}
+nested: Doctrine\ORM\PersistentCollection {#4012 …}
+votes: Doctrine\ORM\PersistentCollection {#4010 …}
+reports: Doctrine\ORM\PersistentCollection {#4008 …}
+favourites: Doctrine\ORM\PersistentCollection {#3976 …}
+notifications: Doctrine\ORM\PersistentCollection {#3980 …}
-id: 282113
-bodyTs: "'/2018/02/14/monitoring-linux-networking-state-using-netlink/)':5 '/monitoring-linux-networking-state':2 'olegkutkov.me':1,4 'olegkutkov.me/2018/02/14/monitoring-linux-networking-state-using-netlink/)':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7097920"
+editedAt: null
+createdAt: DateTimeImmutable @1704447615 {#3961
date: 2024-01-05 10:40:15.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4053
+user: App\Entity\User {#4036 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I guess it can be NetworkManager if it is used to configure the interface but the route is added manually."
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1704445581 {#4059
date: 2024-01-05 10:06:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4051 …}
+nested: Doctrine\ORM\PersistentCollection {#4049 …}
+votes: Doctrine\ORM\PersistentCollection {#4047 …}
+reports: Doctrine\ORM\PersistentCollection {#4044 …}
+favourites: Doctrine\ORM\PersistentCollection {#4040 …}
+notifications: Doctrine\ORM\PersistentCollection {#4038 …}
-id: 282090
-bodyTs: "'ad':19 'configur':12 'guess':2 'interfac':14 'manual':20 'networkmanag':6 'rout':17 'use':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7096821"
+editedAt: null
+createdAt: DateTimeImmutable @1704445581 {#4057
date: 2024-01-05 10:06:21.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4053
+user: App\Entity\User {#4036 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I guess it can be NetworkManager if it is used to configure the interface but the route is added manually."
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1704445581 {#4059
date: 2024-01-05 10:06:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4051 …}
+nested: Doctrine\ORM\PersistentCollection {#4049 …}
+votes: Doctrine\ORM\PersistentCollection {#4047 …}
+reports: Doctrine\ORM\PersistentCollection {#4044 …}
+favourites: Doctrine\ORM\PersistentCollection {#4040 …}
+notifications: Doctrine\ORM\PersistentCollection {#4038 …}
-id: 282090
-bodyTs: "'ad':19 'configur':12 'guess':2 'interfac':14 'manual':20 'networkmanag':6 'rout':17 'use':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7096821"
+editedAt: null
+createdAt: DateTimeImmutable @1704445581 {#4057
date: 2024-01-05 10:06:21.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4053
+user: App\Entity\User {#4036 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I guess it can be NetworkManager if it is used to configure the interface but the route is added manually."
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1704445581 {#4059
date: 2024-01-05 10:06:21.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4051 …}
+nested: Doctrine\ORM\PersistentCollection {#4049 …}
+votes: Doctrine\ORM\PersistentCollection {#4047 …}
+reports: Doctrine\ORM\PersistentCollection {#4044 …}
+favourites: Doctrine\ORM\PersistentCollection {#4040 …}
+notifications: Doctrine\ORM\PersistentCollection {#4038 …}
-id: 282090
-bodyTs: "'ad':19 'configur':12 'guess':2 'interfac':14 'manual':20 'networkmanag':6 'rout':17 'use':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7096821"
+editedAt: null
+createdAt: DateTimeImmutable @1704445581 {#4057
date: 2024-01-05 10:06:21.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4368
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "Thank you for the info and I’ll listen to that talk"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1704492938 {#4363
date: 2024-01-05 23:15:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4360 …}
+nested: Doctrine\ORM\PersistentCollection {#4357 …}
+votes: Doctrine\ORM\PersistentCollection {#4355 …}
+reports: Doctrine\ORM\PersistentCollection {#4369 …}
+favourites: Doctrine\ORM\PersistentCollection {#4371 …}
+notifications: Doctrine\ORM\PersistentCollection {#4373 …}
-id: 283861
-bodyTs: "'info':5 'listen':9 'll':8 'talk':12 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6441702"
+editedAt: null
+createdAt: DateTimeImmutable @1704492938 {#4366
date: 2024-01-05 23:15:38.0 +01:00
}
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4368
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "Thank you for the info and I’ll listen to that talk"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1704492938 {#4363
date: 2024-01-05 23:15:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4360 …}
+nested: Doctrine\ORM\PersistentCollection {#4357 …}
+votes: Doctrine\ORM\PersistentCollection {#4355 …}
+reports: Doctrine\ORM\PersistentCollection {#4369 …}
+favourites: Doctrine\ORM\PersistentCollection {#4371 …}
+notifications: Doctrine\ORM\PersistentCollection {#4373 …}
-id: 283861
-bodyTs: "'info':5 'listen':9 'll':8 'talk':12 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6441702"
+editedAt: null
+createdAt: DateTimeImmutable @1704492938 {#4366
date: 2024-01-05 23:15:38.0 +01:00
}
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4368
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4337
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4323
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4291
+user: Proxies\__CG__\App\Entity\User {#4294 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4135
+user: App\Entity\User {#4148 …}
+entry: App\Entity\Entry {#2388}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
The better solution:\n
--------------------\n
\n
`sudo apt-get install auditd`\n
\n
Set up watch: `sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor`\n
\n
Check log: `sudo ausearch -k file_change_monitor`\n
\n
---\n
\n
Alternative solution:\n
---------------------\n
\n
If you know the file that is being edited you can set up watches with `inotifywait` and log it to a file. This may possibly not work because lsof might not be quick enough.\n
\n
`sudo apt-get install inotify-tools`\n
\n
then put this script in autostart\n
\n
```\n
\n
<span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"\n
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |\n
</span><span style="color:#323232;">while read path action time; do\n
</span><span style="color:#323232;"> # Get the PID of the process that last modified the file\n
</span><span style="color:#323232;"> PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Get the process name using the PID\n
</span><span style="color:#323232;"> PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;"> # Log details to the file\n
</span><span style="color:#323232;"> echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"\n
</span><span style="color:#323232;">done\n
</span>\n
```\n
\n
Don’t forget to modify the values at the top of the script and make it executable.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1712118577 {#4129
date: 2024-04-03 06:29:37.0 +02:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4136 …}
+nested: Doctrine\ORM\PersistentCollection {#4138 …}
+votes: Doctrine\ORM\PersistentCollection {#4140 …}
+reports: Doctrine\ORM\PersistentCollection {#4142 …}
+favourites: Doctrine\ORM\PersistentCollection {#4144 …}
+notifications: Doctrine\ORM\PersistentCollection {#4146 …}
-id: 282044
-bodyTs: "'/bin/bash':81 '/dev/null':134,150 '/path/to/logfile.txt':88 '/path/to/your/file':16,85 '2':133,149 'action':113,161 'altern':31 'apt':6,69 'apt-get':5,68 'auditctl':14 'auditd':9 'ausearch':26 'autostart':80 'better':2 'chang':21,29 'check':23 'comm':148 'creat':94 'd':103 'delet':95 'detail':152 'done':169 'e':91,98 'echo':156 'edit':41 'enough':66 'execut':186 'file':20,28,37,54,82,87,107,126,130,155,158,168 'forget':172 'format':96 'get':7,70,116,135 'h':104 'inotifi':73 'inotify-tool':72 'inotifywait':48,89 'instal':8,71 'k':19,27 'know':35 'last':123 'log':24,50,86,151,167 'lsof':61,128 'm':90,102,105 'make':184 'may':56 'might':62 'modifi':92,124,174 'monitor':22,30,84,109,132 'move':93 'name':138,143,166 'o':147 'p':17,145 'path':112,159 'pid':118,127,141,146,163,164 'possibl':57 'process':121,137,142,165 'ps':144 'put':76 'quick':65 'read':111 'script':78,182 'set':10,44 'solut':3,32 'sudo':4,13,25,67 'time':114,157 'timefmt':100 'tool':74 'top':179 'use':139 'valu':176 'w':15,97 'wa':18 'watch':12,46 'work':59 'y':101"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6427142"
+editedAt: DateTimeImmutable @1711882531 {#4130
date: 2024-03-31 12:55:31.0 +02:00
}
+createdAt: DateTimeImmutable @1704444728 {#4131
date: 2024-01-05 09:52:08.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.\n
\n
Cool commands though.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704450869 {#4290
date: 2024-01-05 11:34:29.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4298 …}
+nested: Doctrine\ORM\PersistentCollection {#4300 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4302 …}
+favourites: Doctrine\ORM\PersistentCollection {#4304 …}
+notifications: Doctrine\ORM\PersistentCollection {#4306 …}
-id: 282164
-bodyTs: "'actual':16 'answer':39 'aren':2 'ask':4 'chang':6 'command':43 'config':13,21 'cool':42 'coupl':30 'describ':10 'doesn':37 'doubt':35 'file':9,32 'in-us':17 'modifi':27 'question':41 'rather':14 'rout':12,20,24 'rule':25 'though':44 'unless':22 'use':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7140625"
+editedAt: null
+createdAt: DateTimeImmutable @1704450869 {#4287
date: 2024-01-05 11:34:29.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "My bad, I thought in Linux everything is a file"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1704467792 {#4318
date: 2024-01-05 16:16:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4315 …}
+nested: Doctrine\ORM\PersistentCollection {#4312 …}
+votes: Doctrine\ORM\PersistentCollection {#4310 …}
+reports: Doctrine\ORM\PersistentCollection {#4324 …}
+favourites: Doctrine\ORM\PersistentCollection {#4326 …}
+notifications: Doctrine\ORM\PersistentCollection {#4328 …}
-id: 282843
-bodyTs: "'bad':2 'everyth':7 'file':10 'linux':6 'thought':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6435291"
+editedAt: null
+createdAt: DateTimeImmutable @1704467792 {#4321
date: 2024-01-05 16:16:32.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: """
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like `ip` or `ifconfig` (or know where the files even are).\n
\n
Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).\n
\n
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): [youtu.be/9-IWMbJXoLM](https://youtu.be/9-IWMbJXoLM)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 5
+score: 0
+lastActive: DateTime @1704476245 {#4340
date: 2024-01-05 18:37:25.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4335 …}
+nested: Doctrine\ORM\PersistentCollection {#4333 …}
+votes: Doctrine\ORM\PersistentCollection {#4331 …}
+reports: Doctrine\ORM\PersistentCollection {#4347 …}
+favourites: Doctrine\ORM\PersistentCollection {#4349 …}
+notifications: Doctrine\ORM\PersistentCollection {#4351 …}
-id: 283228
-bodyTs: "'/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':94 'abl':17 'access':66 'among':89 'anyon':14 'benno':83 'command':23 'devic':36,55 'disk':38 'even':33 'everyon':62 'exampl':40 'expect':13 'file':8,32,47,52 'great':80 'ifconfig':27 'ip':25 'know':29 'libusb':69 'like':24,37,53,68 'mani':90 'manifest':5 'might':4 'off-top':73 'other':91 'pars':20 'rice':84 'rout':3 'somewher':6 'special':51 'straightforward':43 'talk':81,86 'tools/libraries':64 'topic':75 'usb':54 'use':45,60,63 'viabli':19 'weird/ugly':58 'well':1 'without':22 'youtu.be':93 'youtu.be/9-iwmbjxolm](https://youtu.be/9-iwmbjxolm)':92"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/7152593"
+editedAt: DateTimeImmutable @1712045359 {#4343
date: 2024-04-02 10:09:19.0 +02:00
}
+createdAt: DateTimeImmutable @1704476245 {#4345
date: 2024-01-05 18:37:25.0 +01:00
}
}
+root: App\Entity\EntryComment {#4135}
+body: "Thank you for the info and I’ll listen to that talk"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1704492938 {#4363
date: 2024-01-05 23:15:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@Deckweiss@lemmy.world"
"@mikey@sh.itjust.works"
]
+children: Doctrine\ORM\PersistentCollection {#4360 …}
+nested: Doctrine\ORM\PersistentCollection {#4357 …}
+votes: Doctrine\ORM\PersistentCollection {#4355 …}
+reports: Doctrine\ORM\PersistentCollection {#4369 …}
+favourites: Doctrine\ORM\PersistentCollection {#4371 …}
+notifications: Doctrine\ORM\PersistentCollection {#4373 …}
-id: 283861
-bodyTs: "'info':5 'listen':9 'll':8 'talk':12 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6441702"
+editedAt: null
+createdAt: DateTimeImmutable @1704492938 {#4366
date: 2024-01-05 23:15:38.0 +01:00
}
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4209
+user: App\Entity\User {#4222 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I don’t think any historical data would exist, but you could probably watch changes with ftrace"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1704422858 {#4203
date: 2024-01-05 03:47:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4210 …}
+nested: Doctrine\ORM\PersistentCollection {#4212 …}
+votes: Doctrine\ORM\PersistentCollection {#4214 …}
+reports: Doctrine\ORM\PersistentCollection {#4216 …}
+favourites: Doctrine\ORM\PersistentCollection {#4218 …}
+notifications: Doctrine\ORM\PersistentCollection {#4220 …}
-id: 281563
-bodyTs: "'chang':15 'could':12 'data':7 'exist':9 'ftrace':17 'histor':6 'probabl':13 'think':4 'watch':14 'would':8"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6075068"
+editedAt: DateTimeImmutable @1711799710 {#4204
date: 2024-03-30 12:55:10.0 +01:00
}
+createdAt: DateTimeImmutable @1704422858 {#4205
date: 2024-01-05 03:47:38.0 +01:00
}
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4209
+user: App\Entity\User {#4222 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I don’t think any historical data would exist, but you could probably watch changes with ftrace"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1704422858 {#4203
date: 2024-01-05 03:47:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4210 …}
+nested: Doctrine\ORM\PersistentCollection {#4212 …}
+votes: Doctrine\ORM\PersistentCollection {#4214 …}
+reports: Doctrine\ORM\PersistentCollection {#4216 …}
+favourites: Doctrine\ORM\PersistentCollection {#4218 …}
+notifications: Doctrine\ORM\PersistentCollection {#4220 …}
-id: 281563
-bodyTs: "'chang':15 'could':12 'data':7 'exist':9 'ftrace':17 'histor':6 'probabl':13 'think':4 'watch':14 'would':8"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6075068"
+editedAt: DateTimeImmutable @1711799710 {#4204
date: 2024-03-30 12:55:10.0 +01:00
}
+createdAt: DateTimeImmutable @1704422858 {#4205
date: 2024-01-05 03:47:38.0 +01:00
}
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4209
+user: App\Entity\User {#4222 …}
+entry: App\Entity\Entry {#2388
+user: Proxies\__CG__\App\Entity\User {#1943 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "How-do-I-see-what-pid-process-has-modified-a-linux"
+title: "How do I see what pid/process has modified a linux routing table?"
+url: null
+body: "Anyone know how to see what pid/process has modified a linux routing table (specifically on Ubuntu )? I have an interesting problem where a route that I have created has been deleted over time, but can’t figure out what. I’ve tried rtmon but seems to only show timestamps of the adds/deletes"
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 28
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1712118578 {#2410
date: 2024-04-03 06:29:38.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1978 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1971 …}
+notifications: Doctrine\ORM\PersistentCollection {#2443 …}
+badges: Doctrine\ORM\PersistentCollection {#2426 …}
+children: []
-id: 27314
-titleTs: "'linux':10 'modifi':8 'pid/process':6 'rout':11 'see':4 'tabl':12"
-bodyTs: "'adds/deletes':52 'anyon':1 'creat':28 'delet':31 'figur':37 'interest':20 'know':2 'linux':11 'modifi':9 'pid/process':7 'problem':21 'rout':12,24 'rtmon':43 'see':5 'seem':45 'show':48 'specif':14 'tabl':13 'time':33 'timestamp':49 'tri':42 'ubuntu':16 've':41"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1704506772
+visibility: "visible "
+apId: "https://lemmy.world/post/10331946"
+editedAt: null
+createdAt: DateTimeImmutable @1704420372 {#1850
date: 2024-01-05 03:06:12.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "I don’t think any historical data would exist, but you could probably watch changes with ftrace"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1704422858 {#4203
date: 2024-01-05 03:47:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@randomString@lemmy.world"
"@randomString@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4210 …}
+nested: Doctrine\ORM\PersistentCollection {#4212 …}
+votes: Doctrine\ORM\PersistentCollection {#4214 …}
+reports: Doctrine\ORM\PersistentCollection {#4216 …}
+favourites: Doctrine\ORM\PersistentCollection {#4218 …}
+notifications: Doctrine\ORM\PersistentCollection {#4220 …}
-id: 281563
-bodyTs: "'chang':15 'could':12 'data':7 'exist':9 'ftrace':17 'histor':6 'probabl':13 'think':4 'watch':14 'would':8"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/6075068"
+editedAt: DateTimeImmutable @1711799710 {#4204
date: 2024-03-30 12:55:10.0 +01:00
}
+createdAt: DateTimeImmutable @1704422858 {#4205
date: 2024-01-05 03:47:38.0 +01:00
}
} |
|
Show voter details
|
37 |
DENIED
|
edit
|
App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|