Sponsored Content
Top Forums UNIX for Advanced & Expert Users iptables - similar syntax to cisco acl Post 302869515 by verdepollo on Wednesday 30th of October 2013 12:26:29 PM
Old 10-30-2013
Yes, they're both similar.
 

5 More Discussions You Might Find Interesting

1. Cybersecurity

ACL

Hi all, I've just been handled the responsibility for a FTP-site. Having no experiens of UNIX at all. And now one of my users needs to have full access to the usr directory and all it's subdirectories, don't know why just trying to do what the boss tells me. The type of UNIX is FreeBSD and the... (4 Replies)
Discussion started by: -tri-
4 Replies

2. Cybersecurity

pass syntax iptables to ipfw

Hello, excuse my English. Please could tell me how I can pass this syntax for iptables to ipfw. iptables -A OUTPUT -p tcp --dport 80 -m state --state NEW -m recent --set --name thor --rdest -j ACCEPT iptables -A INPUT -p tcp -m tcp --tcp-flag RST RST -m state --state ESTABLISHED -m recent... (0 Replies)
Discussion started by: dot357
0 Replies

3. IP Networking

iptables: syntax from drop AND log packets

Good afternoon everyone, It's the iptables n00b again. valiantly learning and reading (and asking for occasional help when I hit a wall - which I think I just did) So far I've gotten logging enabled for iptables. Now, I want to drop AND log an IP connection attempt. Could some wise eyes... (2 Replies)
Discussion started by: putter1900
2 Replies

4. IP Networking

iptables syntax

Hi, Can someone help to explain what is --to-source in the iptables rule below: iptables -t nat -A POSTROUTING -s 192.168.1.100 -o eth0 \ -j SNAT --to-source 97.158.253.26 especially why the option has double dash (--) is it a comment? Thanks (1 Reply)
Discussion started by: plee61
1 Replies

5. IP Networking

How to stack Cisco 2960-S and Cisco 2960X?

Is there an easy way to stack Cisco 2960-S and Cisco 2960X switches? If you have no idea, follow this: 1. Stacking is not supported on switches running the LAN Lite image. All switches in the stack must be running the LAN Base image. 2. In a mixed stack of Catalyst 2960-X and Catalyst 2960-S... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
METAPHONE(3)								 1							      METAPHONE(3)

metaphone - Calculate the metaphone key of a string

SYNOPSIS
string metaphone (string $str, [int $phonemes]) DESCRIPTION
Calculates the metaphone key of $str. Similar to soundex(3) metaphone creates the same key for similar sounding words. It's more accurate than soundex(3) as it knows the basic rules of English pronunciation. The metaphone generated keys are of variable length. Metaphone was developed by Lawrence Philips <lphilips at verity dot com>. It is described in ["Practical Algorithms for Programmers", Bin- stock & Rex, Addison Wesley, 1995]. PARAMETERS
o $str - The input string. o $phonemes - This parameter restricts the returned metaphone key to $phonemes characters in length. The default value of 0 means no restric- tion. RETURN VALUES
Returns the metaphone key as a string, or FALSE on failure. EXAMPLES
Example #1 metaphone(3) basic example <?php var_dump(metaphone('programming')); var_dump(metaphone('programmer')); ?> The above example will output something similar to: string(7) "PRKRMNK" string(6) "PRKRMR" Example #2 Using the $phonemes parameter <?php var_dump(metaphone('programming', 5)); var_dump(metaphone('programmer', 5)); ?> The above example will output something similar to: string(5) "PRKRM" string(5) "PRKRM" PHP Documentation Group METAPHONE(3)
All times are GMT -4. The time now is 03:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy