What is the Difference between Call Filter and Data Filter?

Hello,

I have confused between Call Filter and Data Filter in Vigor Draytek configuration.

I search officially document and googled relatively link. Finally I see what I need in i-helpdesk.com.au

Now I show you that hope it can help reduce your time. Hope you see this post in the top result of google :))

IP filter architecture categorizes traffic into two types: Call Filter and Data Filter. This is based on whether the Internet connection is up or down (WAN link status is up or down).

Call Filter – applies when there is no existing Internet connection.The Call Filter is applied to all outgoing traffic. It will check packets according to the filter rules. If legal, the packet will be allowed to pass. Then the router shall “initiate a call” to start the Internet connection and send the packet out to Internet.

Data Filter – applies when there is an existing Internet connection. The Data Filter is applied to incoming and outgoing traffic. It will check packets according to the filter rules. If legal, the packet will be allowed to pass through the router.

The following illustrations are flow charts explaining how router will treat incoming traffic and outgoing traffic respectively.




Thank you :)

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success






Wireshark Filters frequently use

Hello,

I show you somes Wireshark Filters frequently use :) Hope this help,

1.       ip.addr == 10.0.0.1
[Sets a filter for any packet with 10.0.0.1, as either the source or dest]

2.       ip.addr==10.0.0.1  && ip.addr==10.0.0.2
[sets a conversation filter between the two defined IP addresses]

3.       http or dns
[sets a filter to display all http and dns]

4.       tcp.port==4000
[sets a filter for any TCP packet with 4000 as a source or dest port]

5.       tcp.flags.reset==1
[displays all TCP resets]

6.       http.request
[displays all HTTP GET requests]

7.       tcp contains traffic
[displays all TCP packets that contain the word ‘traffic’. Excellent when searching on a specific string or user ID]

8.       !(arp or icmp or dns)
[masks out arp, icmp, dns, or whatever other protocols may be background noise. Allowing you to focus on the traffic of interest]

9.       udp contains 33:27:58
[sets a filter for the HEX values of 0x33 0x27 0x58 at any offset]

10.   tcp.analysis.retransmission
[displays all retransmissions in the trace. Helps when tracking down slow application performance and packet loss]

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] remove the special character in linux?

Do you need to remove the special character in linux?

A quick tip will be help you.

Firstly, you use "ls -il" to show the inode information of file/ folder

[~]# ls -il
total 17900
1048619 -rw-r--r--  1 root root     297 Jul 23 15:15 \

To be continued, you use find command to delete them by inode
[~]#find . -inum  1048619 -exec rm -rf {} \;

It will find and remove them without prompt.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] Easiest way to fix MySQL UTF8 to Latin1 character set encoding issues.

MySQL originally used the latin1 character set by default which stored characters in a 2-byte sequence. In recent versions it defaults to UTF-8 to be friendlier to international users.

When migrating MySQL databases, occasionally you’ll see odd characters appear on the new system. For example, a simple quote mark may be replaced by 4-5 characters of junk symbols.

This happens when MySQL is trying to display characters using a different character set to the one they are stored in. To fix, we need to make sure the database is marked as latin1 when we export it from the old system, and then re-encode it into UTF-8 when importing it into it’s new home.

Export:
mysqldump -u $user -p --opt --quote-names --skip-set-charset \
--default-character-set=latin1 $dbname > dump.sql

Import:
mysql -u $user -p --default-character-set=utf8 $dbname < dump.sql

Source: blog . Thank you :)


Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] Export mysql result to csv file

Hello,

Export mysql result to csv file is necessary. It is useful in case of you need to send the result to developer or others.

You can follow:

SELECT *
FROM report
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';

What it means?
FIELDS TERMINATED BY ',' :the fields will be separated by commas,
ENCLOSED BY '"' :each field will be enclosed in “double quotes,”
LINES TERMINATED BY '\n'; :each row will be output on a new line separated by a newline (\n)

Hope this help!

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success