Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I add IP addresses to the set monitored by ipwatch?

ip addresses ipwatch
0
Posted

How do I add IP addresses to the set monitored by ipwatch?

0

ipwatch, usually scheduled to run via cron, currently as the net user on mil.doit.wisc.edu, monitors usage based on a list of IP addresses stored in an ipwatch data file – usually ipwatch.dat. You can see its help/usage information like this: $ ipwatch -h # show help (usage) info When you’d like to add an IP address or set of IP addresses to either create or add to an existing data file, do this: As as either the net user (su – net from your rootyou account) or some other net group user (newgrp – net) with umask 02: $ cd /opt/net/ipwatch $ rm -f ipwatch.save $ cp -p ipwatch.dat ipwatch.save # just in case you mistype the ipwatch args $ ipwatch -v -i n.n.n.1-n.n.n.255 -u hostmaster … this will cause a sample “run” to occur, so it will take a couple minutes. (Because of this, if you’re adding lots of sub-nets or IPs, it’s best to do them all at once – with one ipwatch invocation and a comma-delimited list as the -i argument: $ ipwatch -i n.n.n.1-n.n.n.255,n.n.n2.1-n.n.n2.255 ) Anyway,

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123