1
15.7 Legacy Series / Re: IPv6 LAN NET
« on: October 05, 2015, 03:17:52 pm »
I changed the firewall from LAN NET to any and it allowed traffic to flow. Does this create an exposure?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
The rule that triggered this action is:
@5 block drop in log inet6 all label "Default deny rule IPv6"
/* admins access gives wheely rights */
if (userHasPrivilege($user, 'page-all')) {
$user_group = 'wheel';
}
NO LOGINS: System going down at 10:32
pam_nologin: pam_sm_acct_mgmt: Administrator refusing you: /var/run/nologin
Connection closed by
#!/bin/sh
# No-IP uses emails as passwords, so make sure that you encode the @ as %40
USERNAME=--account name--
PASSWORD=--my password--
HOST=--my host name--
LOGFILE=/var/log/noip.log
STOREDIPFILE=/var/run/current_ip
USERAGENT="Simple Bash No-IP Updater/0.4 antoniocs@gmail.com"
if [ ! -e $STOREDIPFILE ]; then
touch $STOREDIPFILE
fi
NEWIP=$(curl http://icanhazip.com/)
STOREDIP=$(cat $STOREDIPFILE)
if [ "$NEWIP" != "$STOREDIP" ]; then
RESULT=$(curl -o "$LOGFILE" -s --user-agent "$USERAGENT" "https://$USERNAME:$PASSWORD@dynupdate.no-ip.com/nic/update?hostname=$HOST&myip=$NEWIP")
LOGLINE="[$(date +"%Y-%m-%d %H:%M:%S")] $RESULT"
echo $NEWIP > $STOREDIPFILE
else
LOGLINE="[$(date +"%Y-%m-%d %H:%M:%S")] No IP change"
fi
echo $LOGLINE >> $LOGFILE
exit 0
#!/bin/sh
PUBLIC_IP=$(curl -s http://ipecho.net/plain; echo)
echo $PUBLIC_IP