Log ethernet in lan [on hold]Log analysis softwarePortforwarding on LANwhere is /var/log/messagesAccess Log TimespanRotating a log with date includedLocal device DNS thinks I am in the wrong countryCreate custom log ubuntuCan't Connect Ubuntu Over VPN on VirtualBox, But CAN Connect Debianupgrading Ubuntu 18.04 to Debian/Unstable (amd64) on Dell 7920 workstationrevising log files
To string or not to string
How much RAM could one put in a typical 80386 setup?
Example of a continuous function that don't have a continuous extension
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
What typically incentivizes a professor to change jobs to a lower ranking university?
Can I make popcorn with any corn?
What does it mean to describe someone as a butt steak?
Why does Kotter return in Welcome Back Kotter?
Which models of the Boeing 737 are still in production?
Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.
Do I have a twin with permutated remainders?
"You are your self first supporter", a more proper way to say it
Python: next in for loop
What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)
Did Shadowfax go to Valinor?
Arthur Somervell: 1000 Exercises - Meaning of this notation
Can divisibility rules for digits be generalized to sum of digits
Writing rule stating superpower from different root cause is bad writing
Is it possible to do 50 km distance without any previous training?
How to say job offer in Mandarin/Cantonese?
Is it unprofessional to ask if a job posting on GlassDoor is real?
LaTeX closing $ signs makes cursor jump
Why are electrically insulating heatsinks so rare? Is it just cost?
Has the BBC provided arguments for saying Brexit being cancelled is unlikely?
Log ethernet in lan [on hold]
Log analysis softwarePortforwarding on LANwhere is /var/log/messagesAccess Log TimespanRotating a log with date includedLocal device DNS thinks I am in the wrong countryCreate custom log ubuntuCan't Connect Ubuntu Over VPN on VirtualBox, But CAN Connect Debianupgrading Ubuntu 18.04 to Debian/Unstable (amd64) on Dell 7920 workstationrevising log files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
It is planned to install a clean ubuntu server 18.04 on a machine with two network cards. One card will receive internet from the provider. The second is the local network through which users will access the Internet. It is required to keep logs - who visited which sites. It would be great if I could see the mac address of the device in the logs. I read about tcpdump
and tcpdump -i INTERFACENAME -e
to display data with a mac-address. But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
On another machine, I have mysql. There I enabled logging of all queries to the database. And the most pleasant thing - the logs are automatically broken by days and automatically archived. I wish it were here too.
Whatever it was, you need to quickly and easily set up logging in the easiest way. We just need logs. Even without mac addresses.
What can be used?
ubuntu logs
put on hold as too broad by Rui F Ribeiro, Toby Speight, Mr Shunz, nwildner, Haxiel yesterday
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
It is planned to install a clean ubuntu server 18.04 on a machine with two network cards. One card will receive internet from the provider. The second is the local network through which users will access the Internet. It is required to keep logs - who visited which sites. It would be great if I could see the mac address of the device in the logs. I read about tcpdump
and tcpdump -i INTERFACENAME -e
to display data with a mac-address. But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
On another machine, I have mysql. There I enabled logging of all queries to the database. And the most pleasant thing - the logs are automatically broken by days and automatically archived. I wish it were here too.
Whatever it was, you need to quickly and easily set up logging in the easiest way. We just need logs. Even without mac addresses.
What can be used?
ubuntu logs
put on hold as too broad by Rui F Ribeiro, Toby Speight, Mr Shunz, nwildner, Haxiel yesterday
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.
– nwildner
2 days ago
add a comment |
It is planned to install a clean ubuntu server 18.04 on a machine with two network cards. One card will receive internet from the provider. The second is the local network through which users will access the Internet. It is required to keep logs - who visited which sites. It would be great if I could see the mac address of the device in the logs. I read about tcpdump
and tcpdump -i INTERFACENAME -e
to display data with a mac-address. But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
On another machine, I have mysql. There I enabled logging of all queries to the database. And the most pleasant thing - the logs are automatically broken by days and automatically archived. I wish it were here too.
Whatever it was, you need to quickly and easily set up logging in the easiest way. We just need logs. Even without mac addresses.
What can be used?
ubuntu logs
It is planned to install a clean ubuntu server 18.04 on a machine with two network cards. One card will receive internet from the provider. The second is the local network through which users will access the Internet. It is required to keep logs - who visited which sites. It would be great if I could see the mac address of the device in the logs. I read about tcpdump
and tcpdump -i INTERFACENAME -e
to display data with a mac-address. But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
On another machine, I have mysql. There I enabled logging of all queries to the database. And the most pleasant thing - the logs are automatically broken by days and automatically archived. I wish it were here too.
Whatever it was, you need to quickly and easily set up logging in the easiest way. We just need logs. Even without mac addresses.
What can be used?
ubuntu logs
ubuntu logs
edited 2 days ago
n.osennij
asked 2 days ago
n.osennijn.osennij
1055
1055
put on hold as too broad by Rui F Ribeiro, Toby Speight, Mr Shunz, nwildner, Haxiel yesterday
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as too broad by Rui F Ribeiro, Toby Speight, Mr Shunz, nwildner, Haxiel yesterday
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.
– nwildner
2 days ago
add a comment |
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.
– nwildner
2 days ago
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(
tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.– nwildner
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(
tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.– nwildner
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
If you want to keep tcpdump running in the background and write to a log file, you can do something like
tcpdump -i INTERFACENAME -e > /path/to/log.txt 2>&1 &
Keep in mind there will be a lot of lines so apply filters as required.
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
If you want to keep tcpdump running in the background and write to a log file, you can do something like
tcpdump -i INTERFACENAME -e > /path/to/log.txt 2>&1 &
Keep in mind there will be a lot of lines so apply filters as required.
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
add a comment |
But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
If you want to keep tcpdump running in the background and write to a log file, you can do something like
tcpdump -i INTERFACENAME -e > /path/to/log.txt 2>&1 &
Keep in mind there will be a lot of lines so apply filters as required.
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
add a comment |
But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
If you want to keep tcpdump running in the background and write to a log file, you can do something like
tcpdump -i INTERFACENAME -e > /path/to/log.txt 2>&1 &
Keep in mind there will be a lot of lines so apply filters as required.
But I can’t find anywhere else information on how to leave tcpdump working as a service. Logging should be kept constantly.
If you want to keep tcpdump running in the background and write to a log file, you can do something like
tcpdump -i INTERFACENAME -e > /path/to/log.txt 2>&1 &
Keep in mind there will be a lot of lines so apply filters as required.
answered 2 days ago
user2248259user2248259
515
515
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
add a comment |
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
it will works after reboot?
– n.osennij
2 days ago
it will works after reboot?
– n.osennij
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
Add it as a startup script if you would like stackoverflow.com/a/29247942/2248259
– user2248259
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
fine. last question - how can I auto save logs by days. tooday - /path/to/log-2019-04-04.txt, tomorrow - /path/to/log-2019-04-05.txt and etc.?
– n.osennij
2 days ago
add a comment |
Please make concise and objective questions, and if possible one of a time. I honestly doubt it is on-topic asking lenghty tutorials/step-by step instructions. There are whole books about those subjects.
– Rui F Ribeiro
2 days ago
I think you should try any Opensource Firewall like pfSense, Endian, etc. You will have a stash of tools configured there that will allow you to audit a good range of protocols. The task you are asking here is simply impossible to be done with one tool alone(
tcpdump
) and as Rui already said, will create a lengthy tutorial to create a full setup of all tools.– nwildner
2 days ago