This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rocommunity afikoman | |
## sec.name source community | |
## ======== ====== ========= | |
com2sec local localhost afikoman | |
com2sec network_1 20.0.0.0/24 afikoman | |
com2sec network_2 10.0.0.0/24 afikoman | |
## Access.group.name sec.model sec.name | |
## ================= ========= ======== | |
group MyROGroup_1 v1 local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www: | |
requirements: | |
- faye | |
- jade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hash32 = lambda value: hash(value) & 0xffffffff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
''' | |
I just came across pychecker ( http://pychecker.sourceforge.net/ ) and realized that putting it | |
at the bottom of each module can do only good, can't it? | |
''' | |
def foo(): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth0 Link encap:Ethernet HWaddr 00:01:6c:ea:6c:f4 | |
inet addr:70.0.0.2 Bcast:70.0.0.255 Mask:255.255.255.0 | |
inet6 addr: fe80::201:6cff:feea:6cf4/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:1750504 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:8778 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:125190786 (125.1 MB) TX bytes:584350 (584.3 KB) | |
Interrupt:16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@karmic:/home/tzury# ifconfig -a | |
eth0 Link encap:Ethernet HWaddr 00:1a:6b:ce:19:b5 | |
inet addr:70.0.0.1 Bcast:70.0.0.255 Mask:255.255.255.0 | |
inet6 addr: fe80::21a:6bff:fece:19b5/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:12671448 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:4670 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:100 | |
RX bytes:823003284 (823.0 MB) TX bytes:277197 (277.1 KB) | |
Memory:fe000000-fe020000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<afikoman xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///etc/afikoman-config.xsd"> | |
<negotiator> | |
<crypto> | |
<ca> | |
<cert>/opt/afikoman/crypto/N00.P000/CA.pem</cert> | |
<crl>/opt/afikoman/crypto/N00.P000/crl.pem</crl> | |
</ca> | |
<box> | |
<cert>/opt/afikoman/crypto/N00.P000/1003.pem</cert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<afikoman xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///etc/afikoman-config.xsd"> | |
<negotiator> | |
<crypto> | |
<ca> | |
<cert>/opt/afikoman/crypto/N00.P000/CA.pem</cert> | |
<crl>/opt/afikoman/crypto/N00.P000/crl.pem</crl> | |
</ca> | |
<box> | |
<cert>/opt/afikoman/crypto/N00.P000/1002.pem</cert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SNORT_PIDFILE=/var/run/snort.pid | |
snort_start(){ | |
iptables -A FORWARD -i eth0 -o eth1 -j NFQUEUE | |
iptables -A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011-03-06 14:09:54,913-DEBUG-Got []as candidates to add, but all of them already existed | |
2011-03-06 14:09:54,914-INFO-creating entities: [('http://zeze0556.appspot.com/iA2', 0L), ('http://zeze0556.appspot.com/iA2/followers', 0L), ('http://zeze0556.appspot.com/iA2/following', 0L), ('http://zeze0556.appspot.com/iA2/lists/memberships', 0L)] | |
2011-03-06 14:09:55,120-INFO-got a new entity id: 23612 | |
2011-03-06 14:09:55,120-DEBUG-adding a new entity: id:23612, provider: 0, name: http://zeze0556.appspot.com/iA2 | |
2011-03-06 14:09:55,121-DEBUG-adding alias for existing entity: id:23612, provider: 0, new alias: http://zeze0556.appspot.com/iA2/followers | |
2011-03-06 14:09:55,122-DEBUG-adding alias for existing entity: id:23612, provider: 0, new alias: http://zeze0556.appspot.com/iA2/following | |
2011-03-06 14:09:55,123-DEBUG-adding alias for existing entity: id:23612, provider: 0, new alias: http://zeze0556.appspot.com/iA2/lists/memberships | |
2011-03-06 14:09:55,123-DEBUG-created entities: names:[('http://zeze0556.appspot.com/iA |