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;








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?










share|improve this 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

















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?










share|improve this 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













0












0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















1















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.






share|improve this answer























  • 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

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1















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.






share|improve this answer























  • 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















1















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.






share|improve this answer























  • 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













1












1








1








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.






share|improve this answer














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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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



Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.