[SOLVED] AFWall+ iptables help


 
Thread Tools Search this Thread
Special Forums IP Networking [SOLVED] AFWall+ iptables help
# 29  
Old 02-28-2014
Quote:
Originally Posted by 3happypenguins
And it gave me the date and time. It was giving me GMT. So all I had to do for the iptables rules was add 4 hours (I'm Atlantic Time in Canada).
Linux/UNIX are often like that, keep the clock at standard time, and let the user tell you the time zone. I guess the Android interface doesn't bother with even that, and just computes the offset itself from GMT.

So it really does require --weekdays when given hourly time? Interesting, good to know.
# 30  
Old 02-28-2014
Quote:
Originally Posted by Corona688
Linux/UNIX are often like that, keep the clock at standard time, and let the user tell you the time zone.

So it really does require --weekdays when given hourly time? Interesting, good to know.
Actually, that's really good in my case. That means that if my friend's son changes the time or time zone, it won't matter because the iptable rule is always going by GMT. Smilie

And yes, it really does require --weekdays. I tried just --days and I got an error and the rule wouldn't apply. As soon as I changed it to --weekdays, it applied totally fine.
# 31  
Old 02-28-2014
Quote:
Originally Posted by 3happypenguins
And yes, it really does require --weekdays. I tried just --days and I got an error and the rule wouldn't apply. As soon as I changed it to --weekdays, it applied totally fine.
No, I mean, does it need --weekdays at all? What happens when you leave it off completely? I had thought you could just give to/from times without giving days at all.

It's still possible that he could lie to the clock. But on a smartphone type device where the clock keeps updating itself that's a pain.
# 32  
Old 02-28-2014
Quote:
Originally Posted by Corona688
No, I mean, does it need --weekdays at all? What happens when you leave it off completely? I had thought you could just give to/from times without giving days at all.

It's still possible that he could lie to the clock. But on a smartphone type device where the clock keeps updating itself that's a pain.
Sorry, I misunderstood. I actually tried that first (did not put --days or --weekdays or anything; just the time). I got an error and the rule wouldn't apply.

How would he "lie" to the clock. Because no matter what I set my clock at in the Settings, in the terminal emulator it always shows GMT.
# 33  
Old 02-28-2014
Quote:
Originally Posted by 3happypenguins
How would he "lie" to the clock. Because no matter what I set my clock at in the Settings, in the terminal emulator it always shows GMT.
You'd know better than I, then.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

[Solved] Tru64 vm

Hi, One of our old Digital Alpha Server has died (CPU Failure). I want to recover a file from that server. Backups were done via Networker, however, cross platform recovery is not supported and I don't have any other TRU64 server available. Is there a VM or Emulator available which can get... (1 Reply)
Discussion started by: Mack1982
1 Replies

2. Shell Programming and Scripting

[Solved] For loop help

Hello, This is really breaking my head. I request you help to solve this problem. I have a list of files at the source directory (/tmp) as below, NewTransfer_20131202_APAC.dat NewTransferFile_20131202_APAC.dat NewTransfer_20131203_APAC.dat NewTransferFile_20131203_APAC.dat... (3 Replies)
Discussion started by: sravicha
3 Replies

3. UNIX for Dummies Questions & Answers

[Solved] Not able to do a chroot.

Hi all, I have two doms on my machine. I boot my machine from an rfs in one dom1 and mount the other rfs in the other dom2 at /media. Now I wanted to restrict access of users on dom2 to only their home directories. I do not want them to access any other directories on dom1 or dom2. So I mounted... (2 Replies)
Discussion started by: sai2krishna
2 Replies

4. Shell Programming and Scripting

[Solved] Permutation

Hi, I am trying to permutate each column (Except for IDS). file.txt FID IID TOAST1 TOAST2 TOAST3 ID3 ID3 1 -9 2 ID4 ID4 2 1 1 ID1 ID1 -9 -9 1 ID8 ID8 1 1 -9 ID12 ID12 1 2 2 for toast1 column, there are two 1's, two 2's and one -9. Having the same number of denominations,... (2 Replies)
Discussion started by: johnkim0806
2 Replies

5. Shell Programming and Scripting

[Solved] How to use delimiter

Hi, I am using below script to get the below given output. But i am wondering how to pick the names from below output. Script: echo "dis ql(*) cluster(CT.CL.RIBRSBT3)"| runmqsc CT.QM.701t8|egrep QUEUE|sed -e 's/QUEUE(/ /'|sed -e 's/)/ /' Output: ... (10 Replies)
Discussion started by: darling
10 Replies

6. UNIX for Advanced & Expert Users

[SOLVED] No INPUT chain on nat table in iptables

Hello, I'm having problem with an iptables rule. It seems that on one of two systems on the nat table, the INPUT chain doesn't exist for some strange reason. I get the error below: # iptables -t nat -A INPUT -j ACCEPT iptables: No chain/target/match by that name. Here is my kernel on... (0 Replies)
Discussion started by: Narnie
0 Replies

7. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

8. AIX

Problem Solved

Generally, most people, I guess, go from 5.3 ML4 Directly to TL 7. So they may never run into this issue. For the rest of us, here is the resolution of my problem in going from ML6 to TL7. Apparently with the change from ML to TL IBM added a "BuildDate Verification" routine into... (1 Reply)
Discussion started by: mrmurdock
1 Replies
Login or Register to Ask a Question